SQLite WASM (OPFS): How to Install, Set Up, and Use a Persistent Browser Database
Complete guide to SQLite WASM with OPFS persistence — how to install SQLite WASM (OPFS), set up a persistent SQLite database, and integrate with Yjs for sync.
18 articles tagged with Local-First
Complete guide to SQLite WASM with OPFS persistence — how to install SQLite WASM (OPFS), set up a persistent SQLite database, and integrate with Yjs for sync.
The Local-First software architecture guide. How to build a serverless note-taking app using IndexedDB (RxDB / ElectricSQL), WebRTC P2P mesh sync, and Yjs CRDTs.
Take back control of user data. Learn the core architectural pillars of local-first development and offline-first state synchronization.
Learn how to build collaborative version control systems. Implement Git-style branch, checkout, commit, and diff operations inside Loro CRDT database models.
Conflict-free Replicated Data Types (CRDTs) are notoriously memory-hungry. Learn how Loro, built in Rust, optimizes client-side state sync for real-time multiplayer apps.
Prevent malicious state injections in local-first apps. Learn how to implement public-key signing and verification for Loro CRDT update blobs.
Learn how to build collaborative undo/redo state engines. Implement isolation, group edits, and state history trackers using Loro CRDT.
Speed up Retrieval-Augmented Generation (RAG). Learn how to implement an IndexedDB-based embedding cache to eliminate redundant network API calls.
Local-first apps bring sub-millisecond latencies and offline capabilities to users. Discover how to build sync pipelines with Electric SQL and high-performance Loro CRDTs.
Learn how to build a fully client-side Retrieval-Augmented Generation (RAG) pipeline. Query documents locally using SQLite-VSS vector search and WebGPU-accelerated LLMs.
Build a fully decentralized real-time collaborative document editor. Learn how to synchronize Loro CRDT updates peer-to-peer using WebRTC DataChannels.
Learn how to architect a local-first collaborative spreadsheet app. Master CRDTs using Yjs, browser-local SQLite persistence, and WebSockets synchronization.