hypomnema
I needed somewhere to write things down consistently. After months of AI infrastructure work, a markdown blog felt almost too simple to bother with. So I let the blog stay simple and overengineered the thing that writes it.
hypomnema is a local writing desk for this site. It’s a Topcoat app on 127.0.0.1 that reads and writes the Zola site’s files directly. This is the first post written in it.
the name
Hypomnemata were notebooks: things read, heard and thought, written down to be reread. Foucault puts them in the practices of the self, next to askesis. The machine this runs on is called ascesis. That fit was too good to leave alone.
the bargain
The site is markdown, a static generator, and no JavaScript at all. The CSP says script-src 'none'. The motion
is CSS.
Everything I itch to build goes into the desk instead. Overengineering the plain-text blog anyway is the poetic part.
what it does
Files are the truth. There’s no database. It edits the markdown in place, and if you delete hypomnema the site still builds. Front matter edits round-trip byte for byte.

- The desk. Sidebar, editor, live preview. The preview is a real
zola build --drafts, reloaded in place without losing scroll. Clicking a link in the preview opens that page in the editor. - New. Pick a section, name it, and see the URL as you type.
- Design. Sliders and colour pickers over the site’s CSS tokens, shown in the preview before they’re saved. The front page layout is a list of blocks to reorder, hide and edit.
- Tags. Fuzzy completion inside the field. Right arrow accepts.
- Publish. Changed files with diffs, then the site’s own leak check: IPs, keys, emails, local paths and a private blocklist that lives outside the repo. Then a commit under this site’s identity, and a deploy with edgepub, a small Rust tool (no wrangler, no Node): every deploy is a new Cloudflare Workers version, checked live against the build, and rolled back if anything doesn’t match. Drafts are never committed.
About 3,100 lines of Rust, 170 lines of JS, 36 tests. edgepub is another 620 lines.
why topcoat
I’d wanted an excuse to use it. Rust on the server, pages and small reactive pieces in one codebase, and almost no hand-written JavaScript. The desk’s own JS is keyboard shortcuts, tag completion, live reload and the preview frame.
Where it pushed back:
- The
$(...)expression language is small. NoString::new(), novec!, no multi-segment paths. You end up writing"".to_owned(). cargo builddoesn’t rebundle the JS and CSS.topcoat asset bundleis a separate step, and skipping it serves the old files with no warning.- CSRF protection is on by default. DNS rebinding isn’t covered, so the desk checks the
Hostheader on every request. More on that in another post.
It’s 0.12. For a local tool like this it already carries the weight.
Both are public: hypomnema and edgepub.
for lukas
This one’s for Lukas Olson, for his mentorship, and for nudging me to start getting my music out there.