CR-SQLite is a run-time loadable extension (opens in a new tab) for SQLite (opens in a new tab) and libSQL (opens in a new tab). It allows merging different SQLite databases together that have taken independent writes.
In other words, you can write to your SQLite database while offline. I can write to mine while offline. We can then both come online and merge our databases together, without conflict.
In technical terms: cr-sqlite adds multi-master replication and partition tolerance to SQLite via conflict free replicated data types (CRDTs (opens in a new tab)) and/or causally ordered event logs.