1
1
mirror of https://github.com/srid/ema.git synced 2024-11-22 21:52:56 +03:00
ema/docs/index.md

32 lines
1.6 KiB
Markdown
Raw Normal View History

---
page:
description: |
Build jamstack-style static sites in Haskell, with a live server supporting fast hot-reload in the browser on code or data change.
---
2021-05-19 05:29:04 +03:00
# Ema
:::{.avatar .w-32 .h-32 .float-right}
![[favicon.svg]]
2021-05-19 05:29:04 +03:00
:::
{.text-xl .mb-8}
2022-08-12 01:44:58 +03:00
[Ema](https://github.com/srid/ema) is a next-gen library for building [jamstack-style](https://jamstack.org/) static sites in [**Haskell**](https://www.srid.ca/haskell). Ema sites are *change-aware*; in addition to good ol' static site generation, Ema provides a [[live-server|live server]] supporting **fast hot-reload** in the browser, on code *or* data change.
2021-05-19 05:29:04 +03:00
2022-08-12 18:47:53 +03:00
{.text-gray-600} The ultimate purpose of ema is to facilitate creating with ease your own [neuron](https://neuron.zettel.page/)[^emanote], or just about any app that creates a _browser view of arbitrarily changing data_ (on disk, database, or whatever). In Ema apps, data is _edited_ via traditional mechanisms (e.g., text editor), and its view is _rendered_ as a delightful web page, thus economically providing a read-only view of your data on desktop & mobile. A classic static site is just one type of such [*kind*]{title="See what we did there?"} of apps.
2021-05-19 05:29:04 +03:00
:::{.my-8}
* [[start]]
2022-07-05 18:29:38 +03:00
* [[guide]]
2022-08-06 19:28:21 +03:00
* [[topics]]
2022-06-10 23:38:36 +03:00
* [Ema News](https://srid.ca/ema)
2021-05-19 05:29:04 +03:00
:::
:::{.flex .justify-center .items-center .mb-8}
2021-06-03 02:30:44 +03:00
<video autoplay="" loop="" muted="">
<source src="static/ema-demo.mp4" />
<p>Your browser doesn't support HTML5 video. Here is a <a href="static/ema-demo.mp4">link to the video</a> instead.</p>
</video>
2022-06-22 17:38:56 +03:00
:::
2022-08-12 18:47:53 +03:00
[^emanote]: This ultimate purpose is already realized in regards to neuron; see [Emanote](https://emanote.srid.ca/), which is built on top of Ema.