Very cool. Now we need exactly this but for sqlite. Decentral offline databases that can sync.
Let me know when you do so I can chip in with some money.
If this sounds like an append-only log that's precisely correct; I just want it to work efficiently with fixed memory and ideally as an embedded library. Thus sqlite.