← Projects

Realtime + AI · Open source

DevChat

Team chat for developers, with AI code explanations in the thread.

  1. Message or code
  2. Postgres checks access (RLS)
  3. Realtime to teammates
  4. Explain streams from OpenAI

Share code in a channel, get it highlighted properly, and click Explain to stream an AI breakdown under the snippet. There’s no custom backend. The browser talks to Supabase directly, and Postgres row level security is the authorization layer.

  • Security tested, not assumed. Every allowed and forbidden action is tested against the real database’s RLS policies.
  • Realtime without a socket server. Postgres change feeds handle messages, presence and typing, with backfill after reconnects.
  • Bring your own key, safely. OpenAI keys are encrypted with AES-256-GCM and never sent back to the browser.
  • Guest access. Guests sign in anonymously, and a database cron job cleans up their data after 24 hours.
App
Next.js 15 · TypeScript
Realtime
Supabase Realtime
Auth
Postgres RLS · Google
AI
OpenAI · streamed over SSE
Code
Shiki · Monaco
CI / Deploy
GitHub Actions · Vercel