Squalk: an old-school forum engine built on Nostr (NIP-29 groups, NIP-7D threads)
<p>I miss classic forums: slow, asynchronous threads that stay readable and searchable for years, instead of knowledge dissolving into chat scrollback. Squalk is my attempt to rebuild that on top of Nostr, an open protocol where users hold a keypair, posts are signed events, and interchangeable relays store and serve them, instead of a private database.</p> <p>The design in short: a forum is a view over relay-hosted data. Rooms are groups as specified in NIP-29, threads are NIP-7D events, identity is the user's own keypair. The consequence I care about is that the software and the community are decoupled: any other client speaking the same specs (Flotilla, Nostrord) can read and write the same conversations, and if my deployment disappears the history and identities survive on the relay.</p> <p>Technical bits that might interest this crowd: one SvelteKit codebase builds either as a static SPA or as a server-rendered Node app; the SSR mode renders only the anonymous view (no keys server-side) so threads are crawlable, with a stale-while-revalidate snapshot cache in front of the relay queries. Content is rendered as djot rather than markdown. Deployment is a NIP-29 relay (Zooid) plus one systemd unit.</p> <p>Pilot community (real threads, browsable without an account): <a href="https://nostr-proto.org" rel="ugc">https://nostr-proto.org</a> Test instance where you are welcome to make a mess: <a href="https://squalk-test.dtonon.com" rel="ugc">https://squalk-test.dtonon.com</a></p> <p>Caveats: Nostr is niche, key management is still rough for non-enthusiasts, and relay-side moderation tooling is young.</p> <p>Feedback on the architecture is welcome!</p>
Read the full article at github.com →
Related stories
- Squalk: A forum and chat built on Nostrgithub.comHacker News · 1 points · 9 days ago
- Forum, a Dedicated App for Facebook Groupsabout.fb.comHacker News · 1 points · 1 day ago
- Ars Technica · 0 points · 8 days ago
- Hacker News · 3 points · 1 day ago
- Hacker News · 2 points · 8 days ago
- Show HN: I gave Jev my forum database so he could find the most relevantforumbacklinks.orgHacker News · 1 points · 8 days ago