Why this works
The DOM is the database. A save is one blob and one replaceable event — no backend anywhere in the loop.
A malleable HTML file whose host is Nostr. Everything below lives in this document’s markup.
Approach A — whole-document rewrite. Every save serialises this
entire page, pushes it to Blossom as one content-addressed blob, and republishes
the nsite manifest that points at it. The file on disk is always the current state,
so curl and crawlers see exactly what you see.
The DOM is the database. A save is one blob and one replaceable event — no backend anywhere in the loop.
Blobs are immutable, so a kind-5128 snapshot event pins a version by naming a set of hashes. Nothing is ever overwritten.