Skip to content

About

Useful Links for Everything related to LocalFirst

Topics

Resources

Stars

242 stars

Watchers

7 watching

Forks

Latest commit

 

History

53 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Awesome Local-First Awesome

A curated list of local-first software, resources, and development tools. Local-first software prioritizes data ownership, offline functionality, and synchronization — keeping user data primarily on their devices.

Contributions are closed. This repository no longer accepts pull requests or project submissions. Please read the contribution policy below.


🧩 Core Resources

Foundational Articles

Architecture & Implementation

Ink & Switch Research

Performance & UX

Video Content

Blog Series & Deep Dives


⚙️ Development Tools & Libraries

Database Solutions

  • Electric SQL – Sync Postgres data into local apps with offline support
  • WatermelonDB – Reactive DB for React / React Native
  • Fireproof – Browser-native local-first database
  • Evolu – Type-safe offline-first database with sync
  • Dexie.js – IndexedDB wrapper with sync
  • TanStack DB (2025) – Reactive client-side data layer with optimistic mutations and sync engine support
  • LiveStore (2024) – Event-sourced local-first framework using in-memory SQLite
  • Triplit – Full-stack sync engine + database (acquired by Supabase 2025)
  • InstantDB (2024) – Firebase-style backend with offline & real-time sync
  • Zero (2024) – Reactive sync engine from the Replicache team
  • RxDB – Reactive NoSQL DB with replication, encryption, multi-tab
  • PowerSync – Offline-first sync engine for mobile/web
  • Y-Sweet – Open-source Yjs sync and persistence server (self-hosted)
  • Turso Sync (2025) – Sync local SQLite with edge-hosted SQLite
  • PouchDB – Classic offline-first JS database with CouchDB sync
  • GUN.js – Decentralized P2P graph database with CRDT-based conflict resolution
  • OrbitDB – Serverless P2P database on IPFS using Merkle-CRDTs
  • cr-sqlite (Vulcan) – SQLite extension adding CRDT-based multi-writer replication
  • libSQL – Open-source SQLite fork with embedded replicas for local-first reads
  • PGlite – Embeddable Postgres in WASM with reactive live queries, multi-tab worker support, and full SQL
  • Turbolite – SQLite VFS enabling sub-100ms cold JOIN queries against S3 with page-level compression and encryption
  • VelesDB – Local-first vector + graph + columnar database written in Rust (~6MB binary). Source-available (Elastic License 2.0)

State Management & Sync

  • Legend State – Reactive state with persistence
  • Replicache – Client-side sync with conflict resolution (maintenance mode; see Zero)
  • Tinybase – Reactive data store & sync engine

CRDT Libraries

  • Automerge – CRDT library with fast binary format & WASM support (v3.0 with 10x memory reduction)
  • Yjs – High-performance CRDT framework
  • Loro – JSON and rich-text CRDT
  • Collabs – Composable CRDTs from CMU (low activity)
  • Diamond Types – High-performance Rust CRDT for text editing (WIP)
  • json-joy - New modern high-performance JSON and rich-text CRDT, values speed and correctness, has bindings to most plain text and rich-text editors

Frameworks & Platforms

  • Jazz (CoJSON) – Local-first framework with built-in auth, sync, permissions, and E2E encryption
  • DXOS – Open-source P2P framework with ECHO reactive DB and HALO decentralized identity
  • Verdant – IndexedDB-powered storage, sync, and real-time collaboration for local-first web apps
  • Liveblocks – Real-time collaboration SDK with presence, storage, and Yjs-backed sync (cloud-hosted)
  • PartyKit (Cloudflare) – Edge-deployed stateful servers for real-time multiplayer apps (cloud-hosted)
  • Hocuspocus – Yjs WebSocket backend with persistence and authorization
  • Cloudflare Durable Objects – Edge-deployed stateful primitives with built-in SQLite (cloud infrastructure)
  • Earthstar – Offline-first P2P sync protocol for small-group collaboration

P2P & Networking

  • libp2p – Modular P2P networking stack supporting TCP, QUIC, WebRTC, and WebTransport
  • Hypercore / Hyperswarm – Append-only log with DHT-based peer discovery and hole-punching
  • Pear Runtime (Holepunch) – Zero-infrastructure P2P runtime for desktop, mobile, and terminal apps
  • Socket Runtime – P2P runtime turning web apps into native apps with built-in peer networking
  • Iroh – QUIC-based Rust library for P2P connectivity with relay fallback
  • IPFS – Content-addressed P2P storage and distribution protocol
  • Syncthing – Open-source continuous P2P file synchronization with E2E encryption
  • ZamSync -- Offline-first WAL sync engine in Rust for constrained networks. HLC ordering, Version Vector deduplication, mTLS, ChaCha20-Poly1305 encryption at rest, static binary under 5 MB for ARM.
  • Nostr – Open relay-based protocol for decentralized publishing
  • AT Protocol – Bluesky's protocol with self-authenticating data and portable identity
  • Matrix – Open decentralized protocol for secure, federated real-time communication with E2E encryption
  • Braid HTTP – IETF draft extending HTTP into a state synchronization protocol

Mobile-Specific

  • Couchbase Lite – Embedded NoSQL database for mobile/IoT with offline-first operation and P2P sync
  • ObjectBox – High-performance on-device database with built-in data sync for mobile, IoT, and edge (sync is commercial)

Auth & Identity

  • UCAN – Trustless, offline-capable, delegated authorization tokens using DIDs
  • DID (Decentralized Identifiers) – W3C standard for verifiable, self-sovereign digital identity

Security & Encryption


💡 Real-World Examples

Case Studies

Example Applications

Knowledge Management & Notes

  • Anytype – Local-first, P2P, E2E encrypted knowledge OS
  • AFFiNE – Open-source workspace combining docs, whiteboards, and databases
  • AppFlowy – Open-source Notion alternative with full offline mode
  • Standard Notes – Open-source, E2E encrypted notes
  • Joplin – Open-source offline-first note-taking with optional E2E sync
  • Kuku – Open-source local-first Markdown workspace with AI-assisted edits, backlinks, graph navigation, and optional encrypted sync
  • Markra – Open-source local-first WYSIWYG Markdown editor with native AI review. Keeps documents as plain .md files and lets users preview AI changes before applying them. GitHub
  • mu-txt — a polished local-first rich-text editor based on json-joy Peritext CRDT, available as a web app and desktop app (npx mu-txt), plus open-source React mutxt-react and Web Component mutxt-element libraries.
  • Notesnook – Open-source zero-knowledge encrypted notes
  • Capacities – Object-based note-taking with offline-first architecture
  • Reflect – Local-first networked notes with E2E encryption
  • Bangle.io – Local-first notes
  • Logseq – Local-first knowledge base and outliner
  • Obsidian – Markdown-based knowledge management with local vault storage
  • SwarmVault – Local-first RAG knowledge vault. Compiles raw sources into a durable markdown wiki with a knowledge graph and hybrid SQLite FTS plus embeddings. All data lives on disk; AI access via a local MCP server.
  • Memex – Open-source, local-first AI journal for iOS and Android. A multi-agent system turns text, photo, and voice fragments into structured timeline cards, and organizes knowledge using the P.A.R.A. methodology. All data is stored on-device (filesystem + SQLite) and users bring their own LLM provider. Website
  • Screenpipe – Local-first screen and audio recorder that indexes OCR, accessibility data, and transcripts into a searchable timeline for people and AI agents. Data stays on disk by default; cross-platform (macOS/Windows/Linux); works with local models. Source-available under the Screenpipe Commercial License; earlier MIT-licensed versions remain under MIT. Website

Language Learning

  • EchoTalk – Privacy-first offline shadowing practice PWA. AI pronunciation feedback, local recordings, no account needed.
  • KaChiKa – Local-first AI photo-to-flashcard app for language learners. Snap a photo of a real-world object and KaChiKa extracts vocabulary with example sentences. All images are processed and stored on-device — no upload. Uses spaced repetition for review scheduling. Available on iOS and Android.

Writing & Editing

  • Harper – Privacy-first, local grammar checker for prose.

Productivity & Collaboration

  • Excalidraw – Collaborative drawing
  • tldraw – Open-source infinite canvas whiteboard SDK
  • Huly – Open-source all-in-one project management platform with offline-first client
  • Superhuman – Offline-first email client
  • GitComet – Open-source (AGPL-3.0) local-first Git GUI in Rust for Linux, macOS, and Windows
  • AI Workdeck – Open-source AI-native workspace for legal and document-heavy workflows. Local-first with Ollama + local storage, OCR, due-diligence risk flagging, evidence-chain management, WPS WebOffice integration. Self-hosted (Java/Spring Boot + Vue + Electron + Docker, AGPLv3).

Personal & Finance

Health & Fitness

  • nobro.app – Minimalist offline-first workout program tracker. State lives in localStorage, program is editable JSON, 11 locales

Food & Cooking

  • Recipe Jar – Local-first recipe keeper with no database: recipes live in your browser's IndexedDB. Paste a link to save a clean, ad-free card; unlimited recipes, fully offline as a PWA, one-file export for backups. The only server is a stateless fetch proxy that stores nothing. Open source (Svelte 5).

Learning Resources


🌍 Community

Stay Connected


🎤 Conferences & Talks


🤝 Contributing

This repository is no longer accepting contributions, pull requests, or project submissions.

I have received too many submissions focused on promoting a product, along with very new projects—sometimes only a day old. I do not have the time to investigate every submission and assess its maturity, quality, and fit for this list.

All open pull requests are being closed, and new submissions will not be reviewed. Please do not open pull requests or issues to request additions to the list.

Thank you to everyone who has contributed useful resources over the years.


🪪 License

CC0

About

Useful Links for Everything related to LocalFirst

Topics

Resources

Stars

242 stars

Watchers

7 watching

Forks

Releases

Packages

Contributors