N/ NanoReleasedDatabase
NanoDB
An embedded document database with CLI and REST access.
What it is.
A lightweight embedded document database written in Go. Its data model is JSON documents and collections, with no external service. It embeds in Go programs and is also available through a one-shot CLI, an interactive shell and a REST service, for small and medium local datasets.
What it does.
- Document queries with sorting, pagination and field projection
- Secondary indexes for equality, range and array queries
- Text indexes, geospatial indexes and aggregation pipelines
- Read-only SQL queries and atomic batch writes
- Explicit transactions with snapshot reads and commit conflict detection
- CLI, interactive shell and REST cover the core feature set
How it's built.
- A Go embedded core manages collections and documents
- Snapshots and a WAL provide persistence and crash recovery
- The query planner reuses filtering, index and sorting implementations
- CLI, shell and REST share the same database core
- An OS-level lock limits the data directory to one process
Latest public build: v0.1.3
Record note
Versions, push dates and stars come from public repository snapshots; features and stack are taken from the implementation. Unconfirmed details stay blank, and dates are never guessed.