FluxyChat is a multi-tenant realtime chat API built on Cloudflare Workers, Durable Objects, and D1. What's different: - One Durable Object per room: WebSocket fan-out + ordering at the edge, no socket fleet to manage - Agent tool calls stream on the same room WebSocket as chat messages — debuggable in the operator console - MIT self-host on your own Cloudflare account, or use the hosted beta - Next.js operator console: rooms, agents, billing hooks out of the box - @fluxy-chat/sdk: TypeScript SDK with React hooks, reconnect/backoff, REST history pagination Built for SaaS teams adding in-app chat without Pusher-scale bills or running persistent WS pods. Why Fluxychat? Every time I needed realtime chat in a SaaS product, the options were: - pay Pusher or Stream prices that don't make sense at early stage - run persistent WebSocket pods and manage infrastructure - fork a half-maintained library No solution ran natively on Cloudflare Workers with a self-host path. Cloudflare's Durable Objects made a clean architecture possible — one DO per room, D1 for history, no socket fleet. I built the thing I kept wishing existed.

Fluxychat
Realtime chat API on Cloudflare Workers — add WebSocket rooms to your SaaS without a socket fleet or a second vendor




Published At


