Examples

Examples. Small, complete pages built on the SDK.

Each one is a single folder you can read in a sitting. Open a live copy where there is one, or take the code and run it with your own key.

  • Whiteboard

    Draw together on phones and computers.

  • Buzzers

    A big screen hosts the round; phones join with a QR code and press a buzzer.

  • Yjs editor

    A shared text editor with everyone's cursors, kept in sync by Yjs.

  • Presence

    Who is here and where, with a heartbeat that repairs lost broadcasts.

  • Shared state

    Shared fields that converge, with digests and a reliable fetch.

  • Reliable chat

    Messages that must arrive, with history for late joiners.

  • Hello

    Join a room, list the peers, send to everyone, and a reliable round trip.

  • Join tickets

    Join-ticket backends in Node, Python and Go, with the standard library only.

The examples are MIT-licensed, on GitHub: precisit/jsflow-community. To build with the SDK, start with the quick start.