gallium

Crates.iogallium
lib.rsgallium
version0.1.3
sourcesrc
created_at2019-08-12 18:09:41.763477
updated_at2019-08-19 20:13:19.542277
descriptionA static site generator with support for handlebars templates and markdown
homepage
repositoryhttps://gitlab.com/pythondude325/gallium
max_upload_size
id156188
size83,965
Julia Scheaffer (pythondude325)

documentation

README

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
Commit count: 36

cargo fmt