All posts
Real-time collaboration without the chaos
EngineeringCollaboration

Real-time collaboration without the chaos

MO
Marcus Olin
Engineering·March 19, 2025· 7 min

Live collaboration in text editors is one of those features that's impressive for thirty seconds and then quietly stressful for the next six months.

You've experienced this. You open a doc to finish an important paragraph. Your cursor is there. Another cursor materializes from somewhere. You both start typing. The text merges in ways that require immediate repair. You close the tab and go back to emailing drafts.

The cursor isn't the problem

The problem isn't live editing itself — it's the absence of social context. In a physical room, you can see who's working on what section. You can say "I've got the intro" and there's no ambiguity. In a real-time editor, two people reaching for the same paragraph have no signal that they're about to collide until they already have.

Nexus uses Yjs under the hood for CRDT-based real-time sync. CRDTs handle the mathematical merge problem cleanly: two simultaneous edits can be combined without a server deciding which one wins. But CRDTs don't solve the social problem.

What we added

We show each user's cursor and selection with their avatar. When someone is actively typing in a block, that block gets a subtle presence indicator. These are small signals, but they're enough to shift behavior. People naturally spread out. If you see someone in the intro, you start on the third section.

We also think about offline and slow connections differently. Rather than pretending everything is always live, Nexus degrades gracefully: your edits are queued locally and sync when your connection recovers. You never lose work, and you're never stuck staring at a spinner while you write.

The design constraint

The hardest constraint we gave ourselves: collaboration should feel calm. Not exciting. Not impressive. Calm. The best version of real-time editing is one where you stop thinking about the technology and focus on the writing.

We're still working toward that standard. But that's the bar we're aiming for.