The page that rebuilds itself
July 13, 2026
Last time, this blog learned to print its comments into the page at build time — plain JSON fetched while Hugo runs, rendered as ordinary paragraphs, nothing loading in anyone’s browser. That post ended on an honest caveat: the conversation is never staler than your deploy habit. Which is fine if you push daily, and less fine when a good reply lands on Tuesday and your next deploy is Saturday.
That caveat is now retired.
The mechanic #
Every static host already has the missing piece. Netlify, Vercel, and Cloudflare Pages all offer build hooks — they hand you a URL, and anything that POSTs to it triggers a rebuild. No auth dance, no API client. It’s a doorbell.
So Popsicle Boat grew one field in account settings: your build hook. When a reply lands on any thread you created — in any space aboard — the boat rings the doorbell. A couple of minutes later, your site has rebuilt itself, and the new reply is sitting on your page, nested under its parent, set in your page’s own typography.
The boat is polite about it. Pings are debounced: a lively back-and-forth becomes one rebuild after the conversation settles, not one per reply. And a dead hook is quietly logged and dropped — a blogger’s misconfigured URL should never be a poster’s problem.
The loop, end to end #
- Someone replies to a thread aboard the boat.
- The boat waits about two minutes for the conversation to settle, then POSTs the hook once.
- The host rebuilds. Your build fetches the thread’s
/replies.jsonlike it always did — Hugo here, but any generator that can fetch a URL qualifies. - The page now carries the new conversation — permanent, indexable, in the HTML.
At no point does anything run in a reader’s browser. The page is still a pile of static files. It’s just a pile that gets restacked when there’s something new to say.
This page is the demo #
This post has a companion thread aboard the boat, and my build hook is wired. Reply to it, and the page you’re reading will quietly rebuild and print your words below — usually before you’ve finished telling yourself it probably didn’t work. View source afterward: still just paragraphs.
If you run a blog and want this arrangement — the thread, the build-time syndication, the doorbell — the whole contract is documented at popsicleboat.com/for-bloggers. One link on your site, one URL in your settings, nothing to uninstall.
The comments came home. Now the house keeps itself.