Skip to content

Document Store

Content-addressed distributed document database

Document Store

Every document is identified by its content hash. Edits create new versions linked to the original, forming a chain. This makes P2P sync simple — you either have a hash or you don't.

Features

  • Content-addressed — SHA-256 hashes identify every document and edit
  • P2P sync — built-in sync protocol for wish-sdk, documents flow automatically between peers
  • Write rules — per-field permissions control who can edit what
  • Share policies — control who can sync each document, enforced with cryptographic signatures
  • Multiple backends — SurrealDB, SQLite, or MongoDB

Get Started