bricolage

Local-First Software and Sync Engines

Local-first software keeps application data in a database on each device, then uses a sync engine to replicate changes between devices and servers. Reads and writes stay fast, apps can work offline, and real-time or multiplayer features become part of the data layer instead of custom network code.

These essays trace the architecture from a broad explanation to concrete experiments with CRDTs, ElectricSQL, and data-first app development.

Read the collection

Some notes on Local-First Development

September 8, 2023

Local-first shifts reads and writes to client databases synced by engines. A major paradigm shift ahead.

Announcing trpc-crdt

November 10, 2023

Run tRPC server calls over CRDT sync engines like Yjs and ElectricSQL for resilient, real-time RPCs.