{"repo":"vinicius-lino-figueiredo/gedb","free":true,"listed":false,"github":"https://github.com/vinicius-lino-figueiredo/gedb","clone":"git clone https://github.com/vinicius-lino-figueiredo/gedb.git","description":"An embedded database for Go, compatible with NeDB.","language":"Go","stars":25,"topics":["database","embedded","golang"],"license":"MIT","category":"databases-storage","readme_excerpt":"GEDB An embedded MongoDB-like database for Go, compatible with NeDB. GEDB provides a lightweight, pure-Go embedded database with a familiar MongoDB-style query API. Perfect for CLI tools, desktop applications, small services, or anywhere you need local data persistence without external dependencies. Features - MongoDB-style queries — $and , $or , $in , $gt , $lt , $regex , $elemMatch , and more - Indexing — Single field, compound, unique, sparse, and TTL indexes - Persistence — Append-only file format with crash recovery - In-memory mode — Run without persistence for testing or caching - Context support — All operations respect context cancellation - Concurrency safe — Safe to use from multiple goroutines - Fully modular — Replace any component (serializer, comparer, matcher, etc.) - 100% test coverage — Thoroughly tested codebase Installation Requires Go 1.24+ Quick Start Persistence Query Operators Comparison Logical Array & Pattern Custom Functions Query Options Update Operations Remove Operations Indexes Using Structs Configuration Options Benchmarks Operation 1 doc 100 docs 1,000 docs 10,000 docs ----------------- ------- ------------ ------------ ------------- Insert (batch) 7µs 5.8µs/item 6.3µs/item 7µs/item Find (indexed) 9µs 11µs 18µs 60µs Count (indexed) 7µs 25µs 207µs 2.6ms Update 10µs 29µs 228µs 2.8ms Remove 5µs 5µs 7µs 2.3ms Run benchmarks yourself: Contributing Contributions are welcome! Please feel free to submit issues and pull requests. License MIT License - ","default_branch":null,"files":null,"tree":[],"storefront":"/r/vinicius-lino-figueiredo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vinicius-lino-figueiredo/gedb/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}