Live blogging, one Durable Object at a time
Start a live blog, share the reader link, and publish updates that appear instantly for everyone watching. No accounts, no database, no message broker.
Start a live blog, share the reader link, and publish updates that appear instantly for everyone watching. No accounts, no database, no message broker.
You will get two links: a public reader link, and a private author link that carries your editing key.
Live blog created. Keep the author link private — it is the only way to publish.
idFromName(blogId) routes every reader and author of a blog to the same instance globally, so ordering is just an incrementing integer.
Connections stay open while the object sleeps. Keep-alive pings are answered by the runtime without waking it.
Every change gets a monotonic sequence number, so a reconnecting reader replays exactly what it missed instead of re-downloading the feed.
The feed is rendered on the server from SQLite. The browser downloads one small script, not a UI framework.