# syndtr/goleveldb

LevelDB key/value database in Go.

Repository: https://github.com/syndtr/goleveldb
Canonical: https://ross.abutalabs.com/products/goleveldb
Language: Go
License: BSD-2-Clause
License Family: permissive
Topics: database, leveldb, go
Last push: 2024-05-14T20:40:52+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4970, "days_push": 841, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6325, forks 984 (observed 2026-08-28T04:09:41.766778+00:00)

## What it is
A pure-Go implementation of the LevelDB embedded key/value database. It provides fast ordered key-value storage with iterators, batch writes, and bloom filters, all usable as a Go library without external dependencies.

## Use cases
- embed a key-value store in a Go application
- store indexed data locally without running a database server
- implement persistent queues or caches in Go
- iterate over ordered key ranges with prefix scans
- replace cgo LevelDB bindings with a pure Go alternative

## When to choose
- you need an embedded, serverless key-value store in a Go project
- you want ordered iteration and range scans over keys
- you want to avoid cgo dependencies
- you need batch writes and bloom-filter performance tuning

## When to avoid
- you need SQL, relational queries, or multi-node replication
- your dataset must be shared by multiple processes or machines
- you need active feature development or guaranteed long-term support
- you need very large datasets where RocksDB-style tuning is required

## Facets
- artifact type: library
- maturity: maintenance
- function: database, database-driver, caching
- domain: databases, developer-tools, backend
- platform: go, cross-platform
- tags: leveldb, key-value-store, embedded-database, pure-go, lsmtree

## Member repositories
- syndtr/goleveldb (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:41.766778+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-29T17:46:10.814277+00:00, confidence not recorded.
  - readme: https://github.com/syndtr/goleveldb (fetched 2026-08-28T04:09:41.766778+00:00, sha 565511be6c11)
- Data as of 2026-08-30T08:39:29.467469+00:00.
