#markdown #handlebars #static #site #generator #templates #static-site-generator #support

app gallium

A static site generator with support for handlebars templates and markdown

4 releases

✓ Uses Rust 2018 edition

new 0.1.3 Aug 19, 2019
0.1.2 Aug 19, 2019
0.1.1 Aug 13, 2019
0.1.0 Aug 12, 2019

#36 in Template engine

GPL-3.0-or-later

24KB
246 lines

Gallium

Gallium is a static site generator with support for handlebars templates and markdown

Gallium can be installed as a CLI application from crates.io with the following command: cargo install gallium

Gallium is also available on Docker Hub at pythondude/gallium:<version>

Gitlab Pages

Gallium was designed to be used in Gitlab Pages. Here is an example .gitlab-ci.yml:

image: pythondude/gallium:<version>

pages:
  stage: deploy
  script:
  - gallium --input root --templates templates --output public
  artifacts:
    paths:
    - public
  only:
  - master

You can see Gallium in action on Gitlab pages here.

Todo

  • Make watcher option a feature so it can be excluded from the docker image
  • Write an HTTP file server library/binary combo with support for live-reloading. Websocket lib: websocket, tungstenite. Live reload script: https://github.com/tapio/live-server/blob/master/injected.html
  • Write tests
  • Write CI config for automatic crates.io and docker hub publishing

Dependencies

~7.5MB
~160K SLoC