jsflow documentation
jsflow connects the browsers in a room so they can send each other messages directly, over WebRTC data channels. A signalling service introduces the browsers to each other. Messages do not pass through it: they go browser to browser, sometimes through other browsers in the room, and through a relay only when two browsers cannot connect directly.
It is built for rooms of 2 to 50 peers that exchange small, frequent messages and keep shared state: presence, live updates, notifications, coordination between clients.
Where to start
Section titled “Where to start”- New here? Is jsflow right for your app? takes two minutes, then the quick start has you joining a room in five.
- Building something? How messages travel and choosing how to send explain what to rely on.
- Shipping something? Security and privacy, limits and troubleshooting.
For agents
Section titled “For agents”Give your coding agent https://jsflow.com/llms.txt: every docs page as Markdown, linked from that one file. https://jsflow.com/llms-full.txt is all of it in one file. On any docs page, “For agents” copies the first address.
Agents and automation covers the CLI and access tokens, and AGENTS.md for your project is a ready-made file for your own repository.
Coming from 0.1? What changed lists the breaking changes: a smaller datagram (1,052 bytes), signed broadcasts, and a JoinError with a code in place of a message to parse. Pages about features that arrive later (the Node peer, React hooks) are added as each is released.