Skip to content

Comparisons

Peerborne occupies a specific niche: encrypted, peer-to-peer CRDT document collaboration with open-source libraries. This page compares it to related projects to help you understand when Peerborne is the right choice.

Yjs is a high-performance CRDT library for shared editing. It provides shared types (Y.Map, Y.Array, Y.Text), network-agnostic sync, and an ecosystem of network and persistence providers. Encryption, authentication, access control, and provider selection remain application choices.

PeerborneYjs (standalone)
CRDTAdapts Yjs or AutomergeBuilt-in CRDT runtime
EncryptionAES-GCM by default, BeeKEM key sharingApplication responsibility
AuthenticationECDSA P-384 signing (optional; can be disabled with enableSigning: false); UCAN helpers exist but are not integrated into the document change pathApplication responsibility
Access controlReader/writer ACL with cryptographic enforcementApplication responsibility
StorageHelia/IPFS (IndexedDB in browser)Application responsibility (y-indexeddb plugin)
Networkinglibp2p (WebSocket, WebRTC, WebTransport, GossipSub)y-websocket, y-webrtc providers
Peer discoveryBootstrap, Kademlia DHT, AutoNATApplication responsibility

Peerborne is a good choice when you need encryption, signing, and access control out of the box. Use Yjs standalone when you already have your own auth, transport, and encryption layers.

Automerge is a CRDT library with a JSON-like document model and transport-agnostic sync protocol. Automerge Repo adds storage and networking through configurable adapters; encryption and access control remain application concerns.

PeerborneAutomerge (standalone)
Data modelAdapts Automerge or YjsJSON-like CRDT documents
Sync transportlibp2p + GossipSubAutomerge-repo (WebSocket, HTTP)
Encryption at restAES-GCM per document by defaultApplication responsibility
Key exchangeBeeKEM for dynamic groupsApplication responsibility
Rich textVia Yjs adapterVia Automerge Text type

Peerborne wraps Automerge documents with encryption and access control. If you only need the CRDT merge semantics, use Automerge directly.

Liveblocks is a managed realtime collaboration platform. It provides presence, comments, notifications, and CRDT-based storage as a hosted service.

PeerborneLiveblocks
ArchitecturePeer-to-peer with relay infrastructureClient-server (Liveblocks backend)
DeploymentSelf-hosted (you run relays)Managed service (Liveblocks cloud)
Data sovereigntyFull control (encrypted on your infrastructure)Data stored on Liveblocks servers
Encryption modelDocument payloads are end-to-end encrypted; connection and traffic metadata remain visibleEncrypted in transit (server sees data)
Offline behaviorIndexedDB-backed Helia/IPFS storage; partition/rejoin recovery is not yet verified end to endYjs + IndexedDB support is available after initial load
PricingOpen source (MIT)Free tier + paid plans
Project statusInitial release; not production-readyEstablished managed service
AI collaboration featuresNot includedAI comments, AI copilots

Use Liveblocks for production collaborative UIs with presence, comments, and rich-text when you are comfortable with a managed service. Use Peerborne when you need end-to-end encryption and data sovereignty, or when you want to own your infrastructure.

RxDB is a local-first NoSQL database for JavaScript. It stores JSON documents locally, provides reactive queries (RxJS observables), and syncs with backend servers via replication plugins.

PeerborneRxDB
Data modelCRDT documents (Yjs/Automerge)JSON documents with schemas
Query languageIndexManager (full-text + blind indexes)Mango/MongoDB query syntax
Sync modelPeer-to-peer (libp2p)Client-server replication
BackendRelay nodes (stateless)RxServer, CouchDB, GraphQL, Firebase, Supabase, etc.
EncryptionEnd-to-end (AES-GCM per document by default)Field-level encryption plugin
ConvergenceCRDT (Yjs/Automerge)CRDT plugin + conflict handlers
Framework supportReact, ReduxReact, Angular, Vue, Svelte, Node.js, Expo
Project statusInitial release; not production-readyEstablished project

RxDB is an established local-first database with broad backend support. Peerborne is focused on encrypted peer-to-peer CRDT collaboration without a central database. They solve different problems.

Jazz is a local-first relational database with row-level permissions and real-time sync. Jazz v2 is a public alpha with hosted and self-hosted database-server options.

PeerborneJazz
Data modelCRDT documentsRelational tables with schemas
Sync modelPeer-to-peer (libp2p)Client-server (Jazz Cloud or self-hosted)
PermissionsCryptographic ACL (reader/writer keys)Server-enforced row-level policies
EncryptionDocument payloads are end-to-end encryptedServer is trusted for access control; the v2 design scopes E2E encryption to selected sensitive fields
ServerRelay nodes (pass-through)Jazz sync server (stateful)
Framework supportReact, ReduxReact, Vue, Svelte, Solid, Expo
Project statusInitial release; not production-readyPublic alpha (Jazz v2)

Jazz v2 provides a relational model and managed or self-hosted sync infrastructure. Peerborne focuses on encrypted CRDT documents and user-operated peer-to-peer networking. Both are early-stage projects that require careful evaluation.

Electric Sync is a read-path sync engine that streams selected Postgres data to local clients over HTTP.

PeerborneElectric Sync
Sync directionBidirectional (peers read and write)Primarily read-path sync (writes go through your API)
Source of truthCRDT merge (no central authority)Postgres (server is authoritative)
Data modelCRDT documentsPostgres tables with Shapes
SchemaSchema-less (CRDT types)Postgres DDL
EncryptionEnd-to-endServer-side (you control Postgres access)
OfflineIndexedDB-backed Helia/IPFS storage; partition/rejoin recovery is not yet verified end to endDepends on the client stack, such as PGlite or TanStack DB
DeploymentSelf-hosted peer, relay, and bootstrap infrastructureElectric Cloud or self-hosted sync service

Electric Sync fits applications that already use Postgres and need a read-path sync engine. Peerborne is designed for peer-to-peer document collaboration without a central database.

Peerborne stands out when you need:

  1. End-to-end encrypted peer-to-peer documents — relay and bootstrap infrastructure does not see document plaintext, though connection and traffic metadata remain visible
  2. No central database server — your application has no backend database at all
  3. Full control over infrastructure — you run the relay nodes, you hold the keys
  4. Composable libraries — use only the packages you need, not a monolithic platform
  5. Open-source transparency — every layer is inspectable and modifiable

If any of the projects above matches your requirements more closely, use it — most are more mature and have larger communities. Peerborne is exploring a specific design point: encrypted CRDT documents that sync between peers without a trusted central database, while self-hosted relay infrastructure may remain in the data path.