SQLSync is a collaborative offline-first wrapper around SQLite
github.com
github.com
As an example, you could imagine each Notion document being a separate sqlite...
I also am thinking about adding partial replication to the SQLSync model which could enable storing multiple documents in the same database on the server side.
Lots of different ways to go with this in the future :)