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.
Features
- WebSocket Rooms: Realtime chat rooms over WebSocket with message ordering and fan-out via Cloudflare Durable Objects
- Multi-tenant Auth: JWT-scoped projects — each tenant gets isolated rooms, quotas, and billing
- MIT Self-host: Deploy the full Worker on your own Cloudflare account with one wrangler command
- Agent Tool Streaming: Agent tool_call and tool_result events stream on the same room WebSocket as chat messages
- Operator Console: Next.js dashboard for managing rooms, agents, and billing hooks
- REST + WebSocket API: Full REST API for history pagination and management, WebSocket for realtime delivery
- @fluxy-chat/sdk: TypeScript SDK with React hooks, reconnect/backoff, and history pagination
- D1 Message History: Async message persistence to Cloudflare D1 — non-blocking, paginated
- Stripe Billing Hooks: Per-project plans wired to Stripe Checkout and webhooks
- Webhook Support: Outbound webhooks on room events for external integrations
License
MIT LicenseOther Useful Business Software
Build Agents and Models on One Platform
Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of fluxychat!