AltHub

amark/gun Alternatives

decentralized realtime database / P2P sync

GUN is a decentralized, offline-first graph database and sync protocol for building realtime peer-to-peer applications.

19.1kJavaScriptNOASSERTIONactive · last push 2mo agoGitHub

Same job, different approach

Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.

instantdb/instantGitHub

Choose when you want a hosted realtime backend with auth and permissions instead of running your own P2P sync layer.

Instant is the best backend for AI-coded apps. You get auth, permissions, storage, presence, and streams — everything you need to ship apps your users will love.

10.5k
TypeScript
Apache-2.0
active6d ago
share/sharedbGitHub

Choose if you need server-backed OT collaboration and your app can rely on a central authority rather than P2P graph sync.

Realtime database backend based on Operational Transformation (OT)

6.5k
JavaScript
NOASSERTION
active23d ago
orbitdb/orbitdbGitHub

Choose when your stack already uses IPFS and you prefer log-based CRDTs over a graph model.

Peer-to-Peer Databases for the Decentralized Web

8.8k
JavaScript
MIT
active5mo ago
yjs/yjsGitHub

Choose as a lower-level CRDT library when you only need shared data types and will supply your own transport.

Shared data types for building collaborative software

22.7k
JavaScript
NOASSERTION
active2mo ago
loro-dev/loroGitHub

Choose when you want a Rust CRDT library for JSON collaboration rather than a full P2P database.

Make your JSON data collaborative and version-controlled with CRDTs

6.1k
Rust
MIT
active18d ago
pubkey/rxdbGitHub

Choose when you want a local-first NoSQL database that replicates through your existing backend instead of pure P2P graph sync.

The local-first database that runs on every JS runtime and replicates with your existing backend - no vendor, no lock-in - https://rxdb.info/

23.4k
TypeScript
Apache-2.0
active1mo ago
surrealdb/surrealdbGitHub

Choose when you need a centralized server-based document-graph database with realtime queries instead of P2P sync.

A scalable, distributed, collaborative, document-graph database, for the realtime web

33.0k
Rust
NOASSERTION
active30d ago
vlcn-io/cr-sqliteGitHub

Choose when you want CRDT replication on top of SQLite instead of a graph-based P2P database.

Convergent, Replicated SQLite. Multi-writer and CRDT support for SQLite

3.8k
Rust
MIT
active2mo ago

Older generation, or narrower

An earlier or more limited way to do the job. Still the right call when you need something small, proven, or CPU-only.

automerge/automerge-classicGitHub

Choose if you need a mature JS CRDT library but can accept a project with no recent maintenance.

A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically.

14.7k
JavaScript
MIT
dormant3.5y ago

Listed as an alternative to

These projects were analysed and named gun among their alternatives. The relationship is not symmetric — how gun rates them is a separate judgement, made when gun is analysed in its own right.

rethinkdb/horizonGitHub

calls gun “decentralized peer-to-peer graph data sync; choose when you want offline-first, serverless apps instead of a central RethinkDB backend.”

Horizon is a realtime, open-source backend for JavaScript apps.

6.7kJavaScriptslowing
share/sharedbGitHub

calls gun “Choose for decentralized graph sync with offline-first support instead of a centralized OT backend.”

Realtime database backend based on Operational Transformation (OT)

6.5kJavaScriptactive