Synapse

Local first, real time collaborative workspace.

Rich text documents and a shared canvas built on CRDTs. Every device keeps a full copy, edits apply locally first, and replicas converge without conflicts after any network partition.

No sign up needed. Open source, MIT licence.

A Synapse document open in two windows at once, with each person’s cursor and name visible in the text.

What sets it apart

  • 16.6 mskeystroke to paint, p95

    Local first

    The copy on your device is the working copy. Edits apply instantly and persist in IndexedDB. The server relays and stores.

  • 10,000 / 10,000random runs ended identical

    Convergent by construction

    Documents and canvas are Yjs CRDTs, so copies edited apart merge to the same state with no conflicts to resolve.

  • 0.82 msserver propagation, p95

    Low latency fan out

    Every edit is relayed to the room and saved to MongoDB. Measured on loopback on one machine.

  • Every writerole checked on the server

    Two consistency domains

    Content merges as a CRDT, while access stays with the server. Revoking a role closes the live connection.

  • 200 editorsin one room, no lost messages

    Stateless gateways

    Gateways keep no durable state and coordinate through Redis, so any gateway can serve any room.

  • SLO alertstested with promtool

    Measured and observable

    OpenTelemetry metrics, a Grafana dashboard, burn rate alerts and k6 load tests. The report says what was not measured.

And everything around it

  • Comments

    Anchored to the text, so they follow it as it changes.

  • Version history

    Name a version, preview it as it was, restore it.

  • Whiteboard

    Sticky notes, shapes and connectors on a pan and zoom canvas.

  • Search

    Full text search across your workspaces, board text included.

  • Sharing and roles

    Invite by link as editor, commenter or viewer. Revoke any time.

  • Export

    PDF, Word, Markdown, PNG and SVG, made in the browser.

How offline editing merges

Replicas are peers. The server relays updates between them and stores the log, but it does not decide the result. Why CRDTs and not operational transform (opens in a new tab)

Two people edit apart, then reconnect. In the benchmark, 30 minutes of simulated offline typing merged in 44 to 58 ms and every copy matched. Loopback, one machine.
  1. Apply locally

    Each edit is applied to the local Yjs document at once and persisted to IndexedDB. Nothing waits on the network.

  2. Sync state vectors

    On reconnect, client and server exchange state vectors and send only the updates the other side is missing.

  3. Merge deterministically

    Every update has a unique ID and a causal position, so concurrent edits merge in any order and every replica converges.

Try it

See the merge yourself. It takes about a minute and needs no account.

  1. Open a sample

    One click as a guest opens a document and a whiteboard.

  2. Invite a second window

    Press Share, copy the link and open it somewhere else.

  3. Go offline, then back

    Switch on offline mode, type in both, switch it off, and watch the copies merge.

Sign in