Skip to content

Local-First Notes with Peer Sync

Notes that work offline and sync between your devices without a central server.

Advanced28h1–3 people15/20 fit
TL;DR

Build Local-First Notes with Peer Sync for privacy-minded note takers in ~28h with 1–3 people. Stack: Yjs + IndexedDB + WebRTC.

Why it wins: Demonstrates serious engineering with a clean demo.

Build flow

01 · Problem
Cloud notes break offline and put all your data on someone else's server.
02 · Solution
Store notes in a CRDT with Yjs, persist locally and sync peer-to-peer or via a tiny relay, with conflict-free merges.
03 · Build
  1. 1Model notes with Yjs
  2. 2Persist to IndexedDB
  3. 3Add WebRTC sync
  4. 4Show history
04 · Demo
Edit the same note on two laptops offline and watch them merge.

MVP checklist

  • Offline editing
  • Peer sync
  • Conflict-free merges
  • Version history

Tech stack

TechRole
YjsCRDT realtime sync
IndexedDBTooling
WebRTCTooling

Reference repos

Open-source projects you can build on. Links checked 2026-10-31.

Related ideas

More Productivity