Show HN: Matrix-CRDT – real-time collaborative apps using Matrix as backend

# · 🔥 318 · 💬 72 · 2 years ago · github.com · YousefED · 📷
Matrix-CRDT enables you to use Matrix as a backend for distributed, real-time collaborative web applications that sync automatically. While Matrix is primarily designed for messaging, it's versatile enough to use as a backend for collaborative applications. The MatrixProvider syncs a Matrix room with a Yjs document. CRDT updates are very similar to Messages, that Matrix has been optimized for. Yjs document updates are sent as base64-encoded events to the Matrix room. Doc update events in the Matrix Room, and apply updates to the Yjs document. Listen to Yjs document updates and send these to the Matrix room as matrix-crdt.
Show HN: Matrix-CRDT – real-time collaborative apps using Matrix as backend



Send Feedback | WebAssembly Version (beta)