|
|
|
|
|
by conorbergin
281 days ago
|
|
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? |
|
https://sqlite.org/sessionintro.html
That provides a C level API. If you know Python and want to do some prototyping and exploration then you may find my SQLite wrapper useful as it supports the session extension. This is the example giving a feel for what it is like to use:
https://rogerbinns.github.io/apsw/example-session.html