Clarity

collaboration

Real-time Editing

Conflict-free live editing with cursor presence.

Live Cursors

When multiple people edit the same file, each person's cursor appears with a unique color and their name tag. You can see exactly where everyone is typing.

Conflict-free Editing

Unlike Google Docs, Clarity uses CRDTs (Conflict-free Replicated Data Types) which means edits never conflict — even when two people edit the same line simultaneously.

Clarity uses Yjs (a CRDT library) to merge edits from multiple users. This means:

  • Two people can edit the same line simultaneously
  • Changes are merged automatically and deterministically
  • No "conflict" dialogs or merge steps
  • Works even on slow or intermittent connections

Presence

The collaboration bar shows:

  • Online users — avatars of everyone currently in the project
  • Active file — which file each person is viewing
  • Idle state — users who haven't interacted recently are shown as idle

Offline Support

If you lose your connection temporarily:

  • Your local changes are preserved
  • When you reconnect, changes sync automatically
  • No data is lost
Was this helpful?
Real-time Editing — Clarity Docs