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
Sridhar Ratnakumar 25732cd4f0
HasSubModels automatic deriving ergonomics (#108)
`HasSubModels` can now be derived generically, or derived "via" WithSubModels. Just like `HasSubRoutes`. In the case of ambiguities use deriving via to explicitly specify the field name (see Ex04_Multi).
2022-06-30 19:32:15 -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 HasSubModels automatic deriving ergonomics (#108) 2022-06-30 19:32:15 -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 HasSubModels automatic deriving ergonomics (#108) 2022-06-30 19:32:15 -04:00
flake.lock Use GHC 9.2 2022-06-26 16:03:22 -04:00
flake.nix Disable SubRoute generics if on GHC <9.2 2022-06-28 11:01:19 -04:00
fourmolu.yaml Switch to fourmolu; and check format in CI 2022-03-27 14:39:19 -04:00
garnix.yaml garnix: test on M1 2022-06-11 11:43:01 -04:00
LICENSE initial commit of WIP code 2021-04-19 11:07:52 -04:00
README.md Publish 2021-05-18 23:56:55 -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

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