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

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow fluxychat

fluxychat Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of fluxychat!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Languages

English

Intended Audience

Developers

User Interface

React

Programming Language

JavaScript, TypeScript

Related Categories

JavaScript Chat Software, JavaScript WebSocket Servers, TypeScript Chat Software, TypeScript WebSocket Servers

Registered

2026-05-25