here you goThings I’ve made, read and saved — shared here.

Archive

9,565 entries: 46 from X, 8,923 from Pinboard, saved 1998 to 2026.

Browse by tag, site, author, folder or language

Tags

Sites

Authors

Folders

Languages

1 entry#local-first-development ×

2023

Local First Development

Some notes on Local-First Development

Show HN: ElectricSQL, Postgres to SQLite active-active sync for local-first apps

It's an open source, local-first sync layer that can be used to build reactive, realtime, offline-capable apps directly on Postgres with two way active-active sync to SQLite (including with WASM in the browser).

Electric comprises a sync layer (built with Elixir) placed in front of your Postgres database and a type safe client that allows you to bidirectionally sync data from your Postgres to local SQLite databases. This sync is CRDT-based, resilient to conflicting edits from multiple nodes at the same time, and works after being offline for extended periods.

Some good links to get started:


Local-first software: You own your data, in spite of the cloud article by Ink and Switch.

A Local-First Case Study | jakelazaroff.com, where Jake talks about the story behind Waypoint, a local-first web app for planning trips; it takes inspiration from Ink and Switch's Embark; via HN.

Local-First Software special interest group; they have youtube videos of their meetups.

notes#local-first-development