Bekretsion · Seyoum
Real-time · case study

Collab API

Collab API is a self-hostable WebSocket backend that adds real-time collaborative editing to any app. Documents sync with Yjs CRDTs, so concurrent edits merge without conflicts in any arrival order, and each tenant is isolated at the database layer rather than only in application code.

By Bekretsion Seyoum · Updated

CRDT
merges concurrent edits in any order
RLS
a PostgreSQL schema per tenant
Redis
pub/sub to scale across instances

What I built

Stack

See it