# orbitdb/orbitdb

Peer-to-Peer Databases for the Decentralized Web

Repository: https://github.com/orbitdb/orbitdb
Canonical: https://ross.abutalabs.com/products/orbitdb
Language: JavaScript
License: MIT
License Family: permissive
Topics: p2p, distributed, decentralized, database, ipfs, crdt, peer-to-peer, libp2p, merkle-crdt
Last push: 2026-05-14T14:56:57+00:00

## Health v2 (maintenance only)
Score: 69/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 82, release rhythm 35, longevity 100
- inputs: {"age_days": 3903, "days_push": 111, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8797, forks 595 (observed 2026-08-28T04:10:25.807532+00:00)

## What it is
OrbitDB is a serverless, distributed peer-to-peer database library built on IPFS and Libp2p Pubsub, using Merkle-CRDTs for conflict-free replication. It provides events, documents, and key-value database types and runs in both browsers and Node.js.

## Use cases
- build a peer-to-peer database synced between browsers
- store JSON documents in a decentralized app
- use an append-only log as a p2p message queue
- build a local-first web application with offline sync
- add distributed key-value storage to a blockchain app
- sync database state between peers over pubsub

## When to choose
- you need eventually consistent, conflict-free data replication without a central server
- your app already uses IPFS or libp2p
- you want local-first or decentralized storage in browser and Node.js

## When to avoid
- you need strong consistency or ACID transactions
- you need a traditional SQL database with complex queries
- you require high-throughput centralized storage with guaranteed availability

## Facets
- artifact type: library
- maturity: active
- function: database, p2p, caching, message-queue, serialization
- domain: databases, microservices, web-development, blockchain, privacy
- platform: browser, cross-platform
- tags: ipfs, crdt, libp2p, decentralized-web, local-first, serverless-database, merkle-crdt, eventual-consistency, nodejs, javascript

## Member repositories
- orbitdb/orbitdb (main) score 69

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:25.807532+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:25:11.715868+00:00, confidence not recorded.
  - readme: https://github.com/orbitdb/orbitdb (fetched 2026-08-28T04:10:25.807532+00:00, sha 0d1377fae8c3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
