←back to thread

275 points whatisabcdefgh | 1 comments | | HN request time: 0.248s | source
Show context
conorbergin ◴[] No.45133540[source]
I've being trying out SQLite for a side project of mine, a virtual whiteboard, I haven't quite got my head around it, but it seems to be much less of a bother than interacting with file system APIs so far. The problem I haven't really solved is how sync and maybe collaboration is going to interact with it, so far I have:

1. Plaintext format (JSON or similar) or SQLite dump files versioned by git

2. Some sort of modern local first CRDT thing (Turso, libsql, Electric SQL)

3. Server/Client architecture that can also be run locally

Has anyone had any success in this department?

replies(2): >>45133655 #>>45134140 #
1. hahn-kev ◴[] No.45134140[source]
CRDTs are the way to go if you need something very robust for lots of offline work.