Mercury is a front-end you build with one native toolchain and run on the BEAM. This site teaches it: a course for each module, and a reference that comes from the source.
Start here
- Start an app with mx. The native toolchain: modules, the dev loop, build and ship. Its course comes in a later wave.
- Write components. Mercury Hyperscript, the virtual DOM and its hooks. Its course comes in a later wave.
- Use Mercury UI. The design system's components and tokens. Its course comes in a later wave.
- Model state. Hypergraph, the state kernel: start the Hypergraph course.
- Publish pages. Page documents and the block catalog. Its course comes in a later wave.
- Put islands in Phoenix and LiveView. Mercury on the BEAM. Its course comes in a later wave.
- Look up an API. The reference, generated from each package's source, comes in a later wave.
- Give your agent the docs. Append
/llms.txtto any page's address.
The modules
| Module | What it is | Import |
|---|---|---|
| mx | the native toolchain: build, dev loop, tests | the mx command |
| Hyperscript | the virtual DOM, its JSX runtime and hooks | @fiberfx/hyperscript |
| Mercury UI | the design system's components and tokens | @fiberfx/ui |
| Hypergraph | the state kernel | @fiberfx/hypergraph |
| Content | page documents and the block catalog | @fiberfx/content |
| Live Mercury | Mercury islands in Phoenix and LiveView | the live_mercury Mix package |
Status
This site is new and is being built in waves. Each page says what is shipped, what is a preview, and what is planned. Mercury 4.0.0 is not published to a registry yet.
For agents
Every page answers its own address with /llms.txt appended: a short, hand-written companion with the page's purpose, its contract, a minimal example and the names never to emit. The site's map is at /llms.txt.