Real-time
by @ops 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.
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 bun-realtime-collab-code-editor --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.
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.
Elixir + Postgres + Redis: Live Sports Score & Event Ticker
Live-updating scores and event feeds broadcast to many simultaneous viewers — Elixir/OTP's connection-handling model suiting the fan-out-to-thousands-of-viewers shape of this problem specifically.
Elixir + Postgres + Redis: Turn-Based Multiplayer Game Backend
Persisted game state and move history in Postgres, Redis for active-turn/presence state — distinct from the Rust + Redis + NATS multiplayer recipe: that's fast-tick real-time games, this is async turn-based play (chess/word-game shaped), a genuinely different latency and consistency profile.