Skip to content

alexanderop/awesome-local-first

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

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.


🧩 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

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)

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
  • Nostr – Open relay-based protocol for decentralized publishing
  • AT Protocol – Bluesky's protocol with self-authenticating data and portable identity
  • 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
  • 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

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

Personal & Finance

Learning Resources


🌍 Community

Stay Connected


🎤 Conferences & Talks


🤝 Contributing

Pull requests welcome! Add tools, libraries, or case studies that advance local-first, offline-first, or sync-centric development.


🪪 License

CC0

About

Useful Links for Everything related to LocalFirst

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors