Roc Solid
Markup in Roc · pages on a native server · components in WebAssembly

Examples · examples/notes

Notes

Personal notes in Markdown that AI agents can use too: sign in by mailed link, write with a live preview, tag, pin and search, and let an AI client read and write them over MCP.

SourceREADMEAll the examples

What it shows#

Screenshots#

The notebook: notes with their tags, pinned ones first, and the tags down the side
The notebook
A note being written, its Markdown beside its live preview
Writing, with a live preview

What it's made of#

Its browser half
330.8 KB
wasm, brotli; 430.5 KB gzip
Pages and endpoints
7 + 22
route files' pages, and handlers
Lines of Roc
3,154
its own .roc and .rocx, blank lines left out
Tests
103
75 expects, 28 node tests
Weighs
330.8 KB of wasm, brotli (430.5 KB gzip, 1113.3 KB raw)
Made of
7 pages · 22 endpoints · 3,154 lines of Roc · 75 expects · 28 node tests
Uses
SQLite, packages/auth, packages/crypto, packages/email, packages/guard, packages/markdown, packages/mcp, packages/testing, packages/tools

Measured on 2026-11-29 at commit 74eec5b. The wasm is the app's browser half, built with --opt=size; every page also loads start.js, the page's JavaScript, 22.8 KB brotli. All the examples says how they're measured.

Run it#

With the toolchain set up (just setup), start it from its own directory: it builds, serves at http://127.0.0.1:8080 and builds again when you save. Its README says what to look at.

cd examples/notes && ../../bin/rocx dev

To build it, check it and run its tests, from the repository's root:

just examples notes
just examples-release notes   # as deployed: rocx build, then the tests against a server built --opt=speed