1
1
mirror of https://github.com/srid/ema.git synced 2024-11-29 09:25:14 +03:00
ema/docs/index.md

32 lines
1.7 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-06 17:50:09 +03:00
[Ema](https://github.com/srid/ema) is a next-gen [**Haskell**](https://www.srid.ca/haskell) library for building [jamstack-style](https://jamstack.org/) static sites. 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
{.text-gray-600}
2022-08-06 17:50:09 +03:00
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). Ema is designed to facilitate creation of apps whose data is normally *edited* via traditional mechanisms (eg: text editor) but *rendered* as a delightful web page - so as to provide an economical 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-06 17:50:09 +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.