Ship this in a product
For a startup or SaaS that owns the app. Hosted is open beta: pin versions, no public SLA. Self-host MIT if legal needs the Worker in your account. This is not an enterprise pack (SOC 2, HIPAA BAA, 99.999% SLA).
Kernel (this is the product)
- Public room: FluxyRealtimeProvider + publishableKey (pk_) + useChat({ roomId }). Two tabs.
- Private room: mint a member JWT with POST /auth/token and X-Fluxy-Api-Key. fc_ stays on your server.
- Pin npm: @fluxy-chat/sdk ^0.6.12, @fluxy-chat/react ^0.1.7. Scaffold with npx @fluxy-chat/create-fluxy-chat@latest.
- Same room WebSocket for chat, presence, polls, and server_event. Yjs is a second binary socket on the same room.
You bring these
- Live video / huddle media: LiveKit or another SFU. FluxyChat is stage signaling only.
- WHIP / HLS ingest: Cloudflare Stream secrets on the Worker. Chat overlay does not need that.
- Bridges: you create the Slack/Discord/Telegram app. We store the binding.
- Wallet rooms: Worker GET/POST /auth/wallet with fc_ (SIWE + personal_sign). Token gates (NFT/balance) stay on your server.