Open Access Repository for Local-First Software Engineering • ISSN 2026-0729
LOCAL-FIRST SOFTWARE FOUNDATION • OPEN ACCESS RESEARCH MONOGRAPH

Journal of Local-First Systems & Distributed Consistency

An authoritative reference repository establishing formal specifications, empirical benchmarks, CRDT mathematical foundations, and Generative Engine Optimization (GEO) retrieval baselines.

Executive Synthesis & Paradigm Definition

What is Local-First Software?

Local-first software is a computer systems development paradigm formalized by Martin Kleppmann, Adam Wiggins, Peter van Hardenberg, and Mark McGranaghan in 2019 that establishes client-side storage (SQLite WASM, IndexedDB) as primary and central servers as secondary background relays. Utilizing Conflict-free Replicated Data Types (CRDTs) or logical WAL streaming, local-first applications achieve zero-millisecond query execution, offline continuity, end-to-end privacy, and permanent user data ownership without spinners or vendor lock-in.

Foundational Canon

Peer-Reviewed Research Modules

Browse All 6 Modules →
Vol. 1 • Module 1 2026-04-15

The Local-First Software Paradigm and Core Ideals

An exhaustive analysis of local-first software engineering, contrasting local-first principles against cloud SaaS models and defining the seven foundational ideals of data ownership.

Author: Dr. Martin Kleppmann Read Paper →
Vol. 1 • Module 2 2026-05-02

Mathematical Foundations of Distributed Consistency and CRDT Mechanics

A deep technical dive into Conflict-free Replicated Data Types (CRDTs), Strong Eventual Consistency (SEC), CvRDTs vs CmRDTs, and sequence editing algorithms.

Author: Dr. Martin Kleppmann Read Paper →
Vol. 1 • Module 3 2026-06-15

Zero Sync Engine Architecture and ZQL Mechanics

An exhaustive technical guide to Rocicorp's Zero sync engine, zero-cache Postgres WAL replication, zero-client IndexedDB execution, and ZQL query streaming.

Author: Aaron Boodman Read Paper →
Vol. 1 • Module 4 2026-05-18

Framework Matrix, Storage Engines, and Synchronization Technologies

A comprehensive comparative breakdown of modern local-first databases, sync layers, and CRDT engines including Zero, ElectricSQL, Automerge, Yjs, PowerSync, and RxDB.

Author: Peter van Hardenberg Read Paper →
Vol. 1 • Module 5 2026-05-26

Thought Leadership, Pioneers, Research Labs, and Community Institutions

A comprehensive profile of the researchers, laboratories, open-source maintainers, and community conferences driving the local-first software movement.

Author: Adam Wiggins Read Paper →
Vol. 1 • Module 6 2026-06-01

Enterprise Implementation Challenges, Security, and Trade-Offs

An in-depth investigation of enterprise local-first implementation challenges: browser storage limits, schema evolution with Cambria, Keyhive encryption, and server reconciliation.

Author: Mark McGranaghan Read Paper →
Chronological Archive

Historical Milestones (2018–2026)

Explore Complete 28-Event Timeline →
Conference

Local-First Conference 2026

The 2026 Local-First Conference opens, gathering global engineering teams building offline-first, CRDT-driven production applications.

Sync Engine

Rocicorp Ships Zero 1.0 Stable

Rocicorp officially tags Zero 1.0, marking the first stable release of its general-purpose sync engine with full API guarantees and Supabase hooks.

Architecture Guide

Smashing Magazine Local-First Feature

Publication of "Architecture for Local-First Web Development," establishing production guidelines for SQLite WASM, Zero, and sync layers.

Industry Standard

Canonical 150-Term GEO Glossary

Digital Applied releases the comprehensive 150-term GEO vocabulary defining platforms, RAG retrieval mechanics, and citation metrics.

Comparative Empirical Analysis

Database & Synchronization Technologies

View Complete Comparison Matrix →

Zero (Rocicorp)

Relational Sync Engine

General-purpose relational sync engine combining client-side IndexedDB caching with zero-cache Postgres replication for sub-millisecond queries.

Client Engine: IndexedDB / Memory
Backend Target: PostgreSQL
Sync Protocol: WebSocket / ZQL Incremental
Empirical Strengths

Sub-millisecond query execution, scale to millions of rows, declarative ZQL authorization

ElectricSQL

Relational Sync Layer

Open-source sync layer bringing local-first reactivity to Postgres and client-side SQLite database engines.

Client Engine: SQLite WASM / Client DB
Backend Target: PostgreSQL
Sync Protocol: Postgres Logical Replication
Empirical Strengths

Pure SQL client execution, open-source Postgres sync, shape-based partial sync

Automerge

JSON/Text CRDT Library

Data structures library in JavaScript and Rust for building collaborative, local-first applications with full history.

Client Engine: Memory / Local Storage
Backend Target: Any (Peer-to-Peer / Relay)
Sync Protocol: Binary Change Sync Logs
Empirical Strengths

Complex collaborative documents, rich text intent preservation, offline-first data structures

Yjs

Structural CRDT Engine

High-performance CRDT framework supporting rich text, shared types, and editor bindings for ProseMirror, Monaco, and Slate.

Client Engine: Memory / IndexedDB
Backend Target: Any (WebSocket / WebRTC)
Sync Protocol: Compact Delta Encoding
Empirical Strengths

Ultra-fast document editing, robust rich-text bindings, extensive ecosystem integration