A Google Docs-like collaborative text editor where multiple users can edit documents simultaneously in real-time. Built with advanced algorithms like CRDTs and Operational Transformation to handle complex editing scenarios.
See live cursors of other users, get instant notifications when someone joins or leaves, and enjoy secure JWT authentication. Smart conflict resolution ensures no one's work gets lost, even when editing the same text at once.
- DemoLive Demo
- Githubgithub.com/AryanBagade/Collabrix
- LanguagesTypeScript, JavaScript
- FrameworksNext.js, React, TipTap Editor, WebSocket, Convex
- DatabaseConvex (Real-time persistent database)
- AlgorithmsCRDTs, Operational Transformation, Vector Clocks, Multi-layer Consistency

Real-time Collaborative Editor
"Building the Future of Collaborative Writing: My Journey Creating a Real-Time Document Editor"
Ever wondered how Google Docs lets multiple people edit the same document simultaneously without everything breaking? I spent months building my own version from scratch, and here's the wild ride of technical challenges, breakthrough moments, and lessons learned.
💡 The "Aha!" Moment That Started Everything
I was deep in a rabbit hole on distributed systems when I stumbled across a research paper about CRDTs (Conflict-free Replicated Data Types). The math was beautiful, but I kept thinking: "This is just theory. How would this actually work in practice?"
Sure, Google Docs exists and works great, but it's a black box. I had no idea how they solved the fundamental problem of multiple people editing the same text simultaneously.
Then came the real catalyst: I was pair programming with a friend on LeetCode's collaborative editor when we hit this bizarre bug. Our cursors got completely out of sync – for about 30 seconds, we were typing in totally different positions than where we thought we were. It was chaos, but also fascinating.
That day I was like "What if I could build this from scratch?" Not to compete with Google Docs, but to truly understand how real-time collaboration works under the hood. Then what?! My weekend project turned into a full-blown 5 months distributed systems challenge! And here I am...