mirror of
https://github.com/srid/ema.git
synced 2024-11-29 09:25:14 +03:00
Haskell static site generator that is change-aware
111d589122
* Prototype DerivingVia type-level config * Begin adding comments * garnix note in README * Port Generic.Exmaple to use newstyle * Open the type-class, so users can customize deriving themselves * Add GenericRouteOpts * Expand documentation (API) * cleanup exports, and naming |
||
---|---|---|
.github | ||
.vscode | ||
bin | ||
docs | ||
src | ||
.envrc | ||
.ghcid | ||
.gitattributes | ||
.gitignore | ||
.hlint.yaml | ||
cabal.project | ||
CHANGELOG.md | ||
ema.cabal | ||
flake.lock | ||
flake.nix | ||
fourmolu.yaml | ||
garnix.yaml | ||
LICENSE | ||
README.md | ||
shell.nix | ||
treefmt.toml |
ema
Ema is a next-gen Haskell library toolkit for building jamstack-style static sites, with fast hot reload. See ema.srid.ca for further information.
https://user-images.githubusercontent.com/3998/116333460-789c1400-a7a1-11eb-8d28-297c349e42c6.mp4
Hacking
NOTE: We are using GHC 9.2 which is not yet the default in nixpkgs
, so you may want to use the garnix cache to avoid long compilation.
Run bin/run
(or Ctrl+Shift+B in VSCode). This runs the clock example (which updates every second, only to demonstrate hot reload); modify ./.ghcid
to run a different example.