Eidetica

Peer-to-peer database in Rust built on layered Merkle-CRDTs

Extends the Merkle-CRDT idea from OrbitDB by layering multiple DAGs, and handles storage, authentication, sync, conflict resolution and encryption behind one database interface. Stores can hold any CRDT, and sync runs over HTTP and Iroh P2P.

Trade-offs

  • Merkle-CRDTs for ordering. A total order of operations gives an eventually consistent database, but with downsides, and it does not suit all applications.
  • Custom sync protocols instead of the IPFS and libp2p stack OrbitDB relies on. Protocols that understand the data structures are expected to bring efficiency gains.
  • Storage format not frozen before 1.0. It is guaranteed to change, with no backwards compatibility or migration path until then.

Q&A4

Provided data types all use Last-Write-Wins, with other strategies planned. A store can be any CRDT, including a user-defined one.

Reviews

Loading reviews

    More in Local-first

    See all 45 →
    • HashCortxLocal-first desktop workspace for chat, coding agents and agent teams
    • Desktop-2FAOffline TOTP manager for the terminal with an encrypted local vault
    • ResonanceA local-first API client with no account, collections kept as YAML files
    • DettoOn-device meeting capture and dictation for macOS, written to a vault
    • OpenSubsSubtitle generator that transcribes and burns captions with no video upload
    • GNOLocal knowledge engine with hybrid search, cited answers and agent memory

    More in Database internals

    See all 29 →
    • PaganelData migration engine that verifies the destination down to the row
    • FeOxDBEmbedded key-value store in Rust with write-behind durability
    • SNKVEmbedded key-value store built directly on SQLite's B-tree
    • RuvioRust key-value server that speaks RESP, with locks and queues as commands
    • musqlSQLite-compatible SQL engine on columnar storage and a JIT
    • EgresPostgres-compatible database in Zig for heavy, multi-tenant workloads

    More in Rust

    See all 146 →
    • AudioRouterVisual audio router for Windows 11: route, process and record on a canvas
    • ai-memoryPersistent memory for MCP clients in one Rust binary over SQLite
    • AntirionAI gateway in one Rust binary, with the admin console built in
    • jc-rsjc rewritten as one static binary that turns command output into JSON
    • OVLTSelf-hosted OIDC server in one Rust binary, multi-tenant through Postgres RLS