Real-time
by @ops Go + Postgres + Redis + NATS: Real-time Chat Starter
A real-time messaging backend: Go API, Postgres for message history and rooms, Redis for presence and rate limiting, and NATS as the pub/sub backbone for live delivery across instances.
Loads this recipe straight into the wizard — every setting stays editable before you generate anything.
The stack
Install
# pulls this exact recipe straight from the Vault $ npx stacktora install go-realtime-chat --remote $ stacktora sync # generate the files
What you get
More from the Vault
Bun + Postgres + Redis: Live Trivia / Game Show Host Backend
Host-driven, synchronized live rounds with timed audience responses — distinct from the Turn-Based Multiplayer recipe: that's async turns at each player's own pace, this is a live host controlling pacing for everyone simultaneously, Kahoot-shaped.
Bun + Postgres + Redis: Real-time Collaborative Code Editor Backend
Multi-cursor, multi-editor operation sync for a shared code editing surface — distinct from the Whiteboard recipe: same broadcast-and-sync shape, applied to a text/code document instead of a drawing canvas, a genuinely different data model and conflict-resolution need.
Chat & Messaging Backend
Message history in Postgres, presence and pub/sub fan-out via Redis — the actual backend shape a real-time chat feature needs, not just a raw WebSocket server with nowhere to put the messages.
Deno + Postgres + Redis: Real-time Collaborative Presentation/Slide Deck Backend
Live slide editing and multi-cursor presence for a shared deck — completes the family alongside the Whiteboard, Code Editor, and Spreadsheet recipes: same broadcast-and-sync shape, applied to a slide/deck data model.