New best story on Hacker News: Show HN: ElectricSQL, Postgres to SQLite active-active sync for local-first apps

Show HN: ElectricSQL, Postgres to SQLite active-active sync for local-first apps
402 by samwillis | 118 comments on Hacker News.
Hi HN, James, Valter, Sam and the team from ElectricSQL here. We're really excited to be sharing ElectricSQL with you today. 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: - website: https://ift.tt/N4K6PzV - docs: https://ift.tt/BvTMi1S - code: https://ift.tt/QRTjgxt - introducing post: https://ift.tt/7jxVcMO... You can also see some demo applications: - Linear clone: https://ift.tt/GjiPo8D - Realtime demo: https://ift.tt/ECvl8Rx - Conflict-free offline: https://ift.tt/t96KRjZ The Electric team actually includes two of the inventors of CRDTs, Marc Shapiro and Nuno Preguiça, and a number of their collaborators who've pioneered a lot of tech underpinning local-first software. We are privileged to be building on their research and delighted to be surfacing so much work in a product you can now try out.

Comments

Popular posts from this blog

New best story on Hacker News: Tell HN: Triplebyte reverses, emails apology

New best story on Hacker News: Show HN: Calculator for US individual income tax, from 1970-present

New best story on Hacker News: Show HN: I'm building an open-source Amazon