DField SolutionsMérnöki stúdió · Budapest
Loading · Töltődik
Skip to content
Category: Distributed systems

Confluo

Edit together, even offline.

What it is

Confluo is a collaborative editor that lets multiple people change the same document and converge to the same result, even offline. It uses per-field last-write-wins registers stamped with Lamport (timestamp, site) clocks, which makes merging commutative, associative, and idempotent - and those convergence laws are exactly what the tests assert. It is a from-scratch, dependency-light build using BroadcastChannel transport and an offline toggle that you can download and run locally.

Per-field LWW registers with Lamport (ts, site) clocks make merge commutative/associative/idempotent - the convergence laws are the tests (9). BroadcastChannel transport + an offline toggle.

What's inside

The full source, the tests, and CI. Open it, read it, change it. A zero-dependency core, free, in the MIT spirit.

Run it after unzip

pnpm install && pnpm dev