A lightweight document-oriented NoSQL database written in pure Golang, designed for simplicity and easy maintenance.
CloverDB is a lightweight, document-oriented NoSQL database written in pure Go. It stores data as JSON documents in schemaless collections and is designed for scenarios where running a separate database server is overkill, trading raw performance for simplicity and maintainability.
Go developers building applications where network latency or server overhead is a bottleneck, such as embedded systems, small-scale services, or projects needing a simple, self-contained database without external dependencies.
Developers choose CloverDB for its simple and intuitive API, pure Go implementation with no external dependencies, and pluggable storage backends like Bolt and Badger. It prioritizes ease of use and maintainability over high performance, making it suitable for lightweight use cases.
A lightweight document-oriented NoSQL database written in pure Golang.
Written entirely in Go with no external dependencies, making integration seamless and maintenance straightforward, as emphasized in the README's design philosophy.
Provides an intuitive query interface with chainable methods like Where() and Sort(), enabling readable data operations without complex setup, as demonstrated in the query examples.
Supports multiple key-value stores such as Bolt (default) and Badger, offering flexibility for different storage needs, as outlined in the database layout section.
Allows collections to be dumped and recovered in JSON format with ExportCollection() and ImportCollection(), simplifying backup and migration workflows.
Only supports single-field indexes, restricting query optimization for complex criteria and potentially requiring full collection scans, as admitted in the indexing section.
Deliberately trades raw performance for simplicity, making it unsuitable for high-throughput or latency-sensitive scenarios, as cautioned in the 'Why CloverDB?' section.
Lacks built-in support for transactions, replication, or advanced querying like joins, which are common in more mature databases like MongoDB.
clover is an open-source alternative to the following products:
The Prometheus monitoring system and time series database.
Milvus is a high-performance, cloud-native vector database built for scalable vector ANN search
TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling.
CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.