# PoloDB/PoloDB

PoloDB is an embedded document database.

Repository: https://github.com/PoloDB/PoloDB
Canonical: https://ross.abutalabs.com/products/polodb
Homepage: https://www.polodb.org/
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rust, cross-platform, database, localfirst, document-database, nosql, embedded-database
Last push: 2026-08-09T14:41:24+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 95, longevity 100
- inputs: {"age_days": 2223, "days_push": 24, "days_rel": 38, "gap_med": 26, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1228, forks 58 (observed 2026-08-28T04:04:03.532847+00:00)

## What it is
PoloDB is an embedded document database written in Rust that stores BSON documents with a MongoDB-like API, backed by RocksDB storage. It can be used as an embedded Rust library or run as a standalone server with partial MongoDB wire protocol compatibility.

## Use cases
- embed a document database in a Rust desktop or mobile app
- store schemaless JSON-like data locally without a database server
- replace SQLite when a document data model fits better
- run a lightweight MongoDB-compatible local server
- persist app data with transactions and indexes offline-first

## When to avoid
- you need full MongoDB feature parity or production-grade MongoDB compatibility
- you need a single portable database file rather than a RocksDB directory
- you require battle-tested maturity for critical production workloads

## Facets
- artifact type: library
- maturity: active
- function: database, serialization
- domain: databases, developer-tools, cross-platform
- platform: rust, cross-platform, windows, python
- tags: embedded-database, document-database, nosql, local-first, mongodb-like, bson, rocksdb, localfirst, macos, linux, android, ios

## Member repositories
- PoloDB/PoloDB (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:03.532847+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-30T06:15:09.679850+00:00, confidence not recorded.
  - readme: https://github.com/PoloDB/PoloDB (fetched 2026-08-28T04:04:03.532847+00:00, sha c22e64478eed)
  - homepage: https://www.polodb.org/ (fetched 2026-08-29T12:22:41.590807+00:00, sha b422987bb0da)
  - site_page: https://www.polodb.org/docs (fetched 2026-08-29T12:22:41.593323+00:00, sha db1c95060672)
  - registry_crates: https://crates.io/api/v1/crates/polodb (fetched 2026-08-29T12:22:41.595029+00:00, sha 509a6099816a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
