khonsulabs/bonsaidb
A developer-friendly document database that grows with you, written in Rust observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1992
- days_rel: n/a
- days_push: 769
- n_releases_24m: 0
Adoption not part of the score
1061 stars · 38 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
BonsaiDb is a developer-friendly document database written in Rust, inspired by CouchDB, offering ACID-compliant transactional collections, map/reduce views, and an atomic key-value store. It can run as an embedded local-only database or as a networked server over QUIC or WebSockets, with RBAC, at-rest encryption, and backup/restore built in.
Use cases
- embed a document database directly in a Rust application
- store JSON-like documents with ACID transactions in Rust
- run a self-hosted document database server accessible over the network
- build map/reduce indexes and keyword search over collections
- replace Redis-like key-value storage with configurable persistence
- define database schemas as Rust types checked at compile time
When to choose
- you're building a Rust application and want an embedded, no-setup document database
- you need ACID-compliant document storage with typed schemas in Rust
- you want a database that scales from local-only to networked client/server with the same API
- you want built-in RBAC, encryption at rest, and pub/sub without extra services
When to avoid
- you need production-grade guarantees — the project is explicitly alpha with possible data-loss bugs
- your workload is very write-heavy — known transactional write performance issues exist
- you need a battle-tested database with a large ecosystem and community support
- you need distributed clustering — it is not yet available
Facets
library · maturity experimental
database caching auth authorization search-engine cryptography databases backend developer-tools web-development rust cross-platform self-hosted document-database acid-transactions key-value-store map-reduce-views couchdb-inspired embedded-database quic rbac schema-as-code
8 sources
- readme: https://github.com/khonsulabs/bonsaidb · fetched 2026-08-28 · 32668412564a
- homepage: https://bonsaidb.io/ · fetched 2026-08-29 · a8716a6d538b
- site_page: https://bonsaidb.io/about · fetched 2026-08-29 · ba26433c6ba7
- site_page: https://dev.bonsaidb.io/release/docs/bonsaidb · fetched 2026-08-29 · 7f4f4b867dcb
- site_page: https://dev.bonsaidb.io/release/guide/about/concepts/collection.html · fetched 2026-08-29 · 9a15ad651277
- site_page: https://dev.bonsaidb.io/release/guide/about/concepts/view.html · fetched 2026-08-29 · b48677b99587
- site_page: https://dev.bonsaidb.io/release/guide/about/access-models/custom-api-server.html · fetched 2026-08-29 · bcf9827ea001
- registry_crates: https://crates.io/api/v1/crates/bonsaidb · fetched 2026-08-29 · 493675ba4dde
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| khonsulabs/bonsaidb | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="khonsulabs/bonsaidb")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem