
What's great
I’ve been testing GenosDB for a while, and honestly, it’s a big step forward for local-first and P2P applications.
The API feels clean — using top-level await makes setup simple, and real-time synchronization between peers works flawlessly.
Modules can be activated just by passing a parameter, and since it’s imported only once, everything else loads asynchronously, giving a smooth and clean user experience.
For example:
const db = await gdb("mydb", { rtc: true })
I was impressed by how well it handles data persistence with OPFS and ephemeral events through db.room.
The data transfer speed between two tabs running in different browsers is very fast — I still want to run more tests, but it’s already impressive.
I haven’t tried all the examples in the repo yet, but synchronization, replication, and conflict resolution work efficiently in practice.
My conclusion: it’s stable and well-documented. Definitely worth checking out.
Great work, Esteban.
What needs improvement
More examples of use
vs Alternatives
Because it uses the Nostr network for peer discovery and stores data in OPFS (Origin Private File System) for fast, persistent local storage.
What conflict resolution strategy does P2P sync use?
Conflict Resolution System - Hybrid Logical Clock (HLC)
What offline capabilities exist and how is data rejoined?
Utilizes OPFS (Origin Private File System) for high-performance, sandboxed, and persistent local storage directly in the browser.
How are schema changes handled in a decentralized graph?
Zero-Trust Security Model


GUN