Hacker News new | past | comments | ask | show | jobs | submit login

I was exploring an interesting local-first component earlier today: cr-sqlite, which adds CRDTs to SQLite so you can have multiple databases that receive writes and then sync up and merge their changes later on.

My notes here: https://til.simonwillison.net/sqlite/cr-sqlite-macos




Think you'd really enjoy exploring Electric SQL (https://electric-sql.com/blog/2023/08/14/introducing-electri...).

They're syncing client-side SQLite to server-side Postgres on backend via an Erlang service that enables bi-directional active-active replication. They have a little more work to go until they solve the RLS concerns, but its been an incredible project to follow.


Here's another local-first collaborative component: SQLSync [0].

"SQLSync is a collaborative offline-first wrapper around SQLite. It is designed to synchronize web application state between users, devices, and the edge."

[0] https://github.com/orbitinghail/sqlsync


Oh that is very interesting. Thanks for writing it up for all to learn off! The internet is made better because you put in the effort!


Recently put a video overview together of cr-sqlite and supporting libraries: https://youtu.be/T1ES9x8DKR4?si=Fo_4LIsKljm7Opal


[dead]


Your comment is missing a disclaimer, dear author of evolu...




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: