FluxyChat

FluxyChat Docs

Room layer on Cloudflare. Chat, presence, Yjs, and agents on one Durable Object.

FluxyChat is the room you put in the product. One Durable Object plus D1. People and agents share that room. Map roomId to a document, board, deal, classroom, or dispatch view. Auth stays yours.

Chat and presence use a JSON WebSocket. Yjs uses a second binary connection to the same object. That is the design, not a shortcut.

Start with publishableKey on FluxyRealtimeProvider, or npx @fluxy-chat/create-fluxy-chat@latest. Then Concepts or What to build.

Collaboration features

Packages

What you need

PieceWho sets it
Worker URLHosted API or your workers.dev
Public roomFluxyRealtimeProvider + publishableKey (POST /tokens/anonymous). Widget guest still works.
Project API key (fc_…)Server only. Mints member JWTs.
Member JWTPrivate rooms, roles, production.
LLM keysWorker secrets. Never the browser.

Try fluxychat.com. Self-host: pnpm install && pnpm run self-host && pnpm --filter @fluxy-chat/worker dev.

On this page