orbitdb

orbitdb: Build Peer-to-Peer Databases for Decentralized Apps

OrbitDB is a JavaScript database library that synchronizes data between peers using IPFS, Libp2p Pubsub, and Merkle-CRDTs. It suits decentralized and local-first applications that need shared data without a central database server.

View on GitHub Compare
Stars
8.8k
Forks
594
Stars, last 30 days
+3
Last commit
5 months ago
Contributors
73

Our take

Quietno commits in the last 90 days and no release in a year

Health score

33/100

How it is scored
Activity
19
Community
70
Issues
21
Pull requests
20

+3 stars in the last 30 days

OrbitDB is a capable fit for peer-to-peer data applications, but its current quiet maintenance signals warrant checking project activity before depending on it.

Good fit if

  • Your JavaScript application needs peer replication and can use IPFS and Libp2p.
  • You want CRDT-based merging and one of the included database models, or need to build a custom one.
  • Your runtime is Node.js 22 or later, or a browser environment.

Look elsewhere if

  • You need a project with recent releases or regular recent development: there have been no commits in the last 90 days and no release in over a year.
  • You require evidence of recent issue resolution; none were closed in the last 90 days.
  • Your application depends on a conventional centralized database rather than peer-to-peer replication.
All health signals
Last commit2026-05-14 (5 months ago)
Commits, last 90 days0
Releases, last 12 months0
Contributors73 (top contributor: 52% of commits)
Issues closed, last 90 days0
Pull requests merged, last 90 days0
Project age10 years

Checked on 2026-10-14 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

8,825

Forks

595

Change since Nov 17, 2026: -1 stars·0 forks

Overview

OrbitDB is a serverless, peer-to-peer database library for JavaScript applications. It stores data with IPFS and synchronizes databases between peers using Libp2p Pubsub, with Merkle-CRDTs enabling concurrent writes to merge without a central coordinator.

It offers several data models on a shared operation log, so applications can choose an append-only event log, document store, or key-value database. It is intended for browser and Node.js apps that need distributed data, including decentralized and local-first software.

Key Features

  • Replicates database updates between peers over Libp2p Pubsub.
  • Uses an immutable, cryptographically verifiable operation log and Merkle-CRDTs to merge concurrent writes.
  • Provides event-log, document, key-value, and indexed key-value database types.
  • Lets applications open a shared database using its address.
  • Supports custom database data models built on the operation log.
  • Runs in browsers and Node.js, with IPFS provided by Helia.

Use Cases

  • A local-first web app can let people make changes offline and synchronize them with peers when connected.
  • A decentralized application can share records across peers without relying on a central database server.
  • A peer-to-peer messaging or event-driven app can use the append-only log to retain and traverse events.
  • An application that needs a replicated JSON search index or document history can use the document database.

What you need

Detected in the repository

  • Node.js >=22.0.0 (from package.json)
  • A test suite and automated checks on GitHub Actions

License in plain words

MITpermissive

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the copyright and license notice
  • Share your changes: no

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

Install the core package and Helia:

npm install @orbitdb/core helia

See the README and Getting Started guide for setup and usage details.

Alternatives

  • sqlsync: SQLSync synchronizes SQLite-backed web-app state with reactive queries, rather than using OrbitDB's IPFS-based peer-to-peer stores and Merkle-CRDTs.
  • marmot: Marmot replicates SQLite across Go database servers over the MySQL protocol, rather than synchronizing peer-to-peer through IPFS.
ProjectLanguageLicenseStarsStatus
orbitdbJavaScriptMIT8.8kQuiet
sqlsyncRustApache-2.02.9kQuiet
marmotGoMIT2.8kActive

Considerations

The project is marked Quiet: it has had no commits in the last 90 days, no release in over a year, and no recorded issue closures or merged pull requests during that period. While 73 contributors are recorded and contributions are not flagged as concentrated, those activity signals may matter for teams seeking active maintenance. Node.js projects must meet the stated requirement of version 22 or later; browser use is also supported. OrbitDB relies on configuring Helia/IPFS and Libp2p, so peer networking and storage setup are part of adoption rather than a conventional database connection.

Found this useful?

Share it with someone who would like orbitdb.

Comparisons