1
1
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
Go to file
2022-07-02 11:34:52 -04:00
.github Use GHC 9.2 2022-06-26 16:03:22 -04:00
.vscode Refactor a bit 2022-06-11 12:01:34 -04:00
bin cleanup: remove tmux script 2022-05-21 09:47:58 -04:00
docs doc: misc 2022-06-22 10:38:56 -04:00
src StaticRoute: derive Generic 2022-07-02 11:15:04 -04:00
.envrc Add .envrc 2022-05-10 21:13:08 -04:00
.ghcid Use random port for live server, unless --port is passed 2022-05-28 08:54:18 -04:00
.gitattributes git: mark flake.lock as auto-generated 2022-05-21 09:48:24 -04:00
.gitignore direnv support 2022-03-14 19:42:55 -04:00
.hlint.yaml hlint: ignore infinitely suggestion 2022-05-21 10:53:12 -04:00
cabal.project Fix mergeSite patching, and add some logging 2022-02-13 12:51:01 -05:00
CHANGELOG.md Move Multi.hs to route lib package 2022-06-27 19:35:07 -04:00
ema.cabal refactor: split Sub.hs 2022-07-01 12:11:03 -04:00
flake.lock Revert "GHC 9.2.2 -> 9.2.3 (#109)" (#112) 2022-07-02 09:58:11 -04:00
flake.nix Revert "GHC 9.2.2 -> 9.2.3 (#109)" (#112) 2022-07-02 09:58:11 -04:00
fourmolu.yaml Switch to fourmolu; and check format in CI 2022-03-27 14:39:19 -04:00
garnix.yaml garnix: disable m1 shell (odd failure) 2022-07-02 11:34:52 -04:00
LICENSE initial commit of WIP code 2021-04-19 11:07:52 -04:00
README.md Add GenericRoute r opts for customizing DerivingVia of routes (#110) 2022-07-02 11:07:49 -04:00
shell.nix nix: Switch to srid/haskell-flake 2022-05-30 09:32:57 -04:00
treefmt.toml Use GHC 9.2 2022-06-26 16:03:22 -04:00

ema

Hackage FAIR

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.

Getting Started

https://ema.srid.ca/start