Back to articles
SyncState: writing together, even when the internet isn’t there

SyncState: writing together, even when the internet isn’t there

via Dev.to WebdevPranjal Sailwal

I built SyncState because most collaborative editors quietly assume one thing: stable internet. Break that assumption, and things start falling apart. This project flips that. Documents live locally first, changes sync when possible, and conflicts don’t need manual fixing. Edits from different users merge automatically, even if they were made offline. That behavior comes from CRDTs, but the real goal was simpler: make collaboration feel continuous, not dependent on connection quality. The interesting part was getting the balance right. Real-time collaboration, offline persistence, and peer-to-peer sync all working together without stepping on each other. Presence (who’s editing what), document state, and syncing had to stay consistent even when peers drop in and out. On top of that, I didn’t want it to feel like a “systems project”, so the editor is fully usable: formatting, tables, exports, version history, and even a visual way to explore how a document evolved over time. You can try

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
5 views

Related Articles