homepage: https://ema.srid.ca/
changelog-type: markdown
hash: 361b96449bb3a76cfdfb97e956d3f632c4924d8911a8f7fb8880365ceccc3d66
test-bench-deps: {}
maintainer: srid@srid.ca
synopsis: Static site generator library with hot reload
changelog: |
  # Revision history for ema

  ## 0.1.0.0 -- 2021-04-26

  * First version. Released on an unsuspecting world.
basic-deps:
  warp: -any
  monad-logger-extras: -any
  shower: -any
  wai-websockets: -any
  wai: -any
  commonmark-pandoc: -any
  unliftio: -any
  stm: -any
  base: '>=4.13.0.0 && <=4.17.0.0'
  time: -any
  blaze-markup: -any
  text: -any
  safe-exceptions: -any
  filepath: -any
  async: -any
  websockets: -any
  data-default: -any
  ema: -any
  pandoc-types: -any
  lvar: -any
  tagged: -any
  containers: -any
  relude: -any
  commonmark-extensions: -any
  blaze-html: -any
  monad-logger: -any
  commonmark: -any
  optparse-applicative: -any
  wai-middleware-static: -any
  fsnotify: -any
  http-types: -any
  aeson: -any
  filepattern: -any
  profunctors: -any
  neat-interpolation: -any
  directory: -any
all-versions:
- 0.1.0.0
author: Sridhar Ratnakumar
latest: 0.1.0.0
description-type: markdown
description: |
  # ema

  <img width="10%" src="./docs/ema.svg">

  Ema is a next-gen **Haskell** library for building [jamstack-style](https://jamstack.org/) static sites, with fast hot reload. See [ema.srid.ca](https://ema.srid.ca/) for further information.

  The simplest Ema app looks like this:

  ```haskell
  main :: IO ()
  main = do
    let name :: Text = "Ema"
    runEmaPure $ \_ ->
      encodeUtf8 $ "<b>Hello</b>, from " <> name
  ```

  ## Hacking

  Run `bin/run` (or <kbd>Ctrl+Shift+B</kbd> in VSCode). This runs the documentation example; modify `./.ghcid` to run a different example, such as the clock example - which updates every second, demonstrating hot reload.
license-name: AGPL-3.0-only

Update from Hackage at 2021-04-26T18:32:16Z
Update from Hackage at 2021-04-26T18:32:16Z
