# litedb-org/LiteDB

LiteDB - A .NET NoSQL Document Store in a single data file

Repository: https://github.com/litedb-org/LiteDB
Canonical: https://ross.abutalabs.com/products/litedb
Homepage: http://www.litedb.org
Language: C#
License: MIT
License Family: permissive
Topics: nosql, database, dotnet, litedb, hacktoberfest
Last push: 2026-08-21T08:45:54+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 60, longevity 100
- inputs: {"age_days": 4391, "days_push": 12, "days_rel": 187, "gap_med": 17.0, "n_releases_24m": 5}
- flags: prerelease_only
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9458, forks 1323 (observed 2026-08-28T04:10:31.226550+00:00)

## What it is
LiteDB is a lightweight, serverless NoSQL document database for .NET, written entirely in C# and stored in a single data file, similar to SQLite but with a MongoDB-like API. It supports ACID transactions, LINQ queries, indexing, file storage, and AES encryption in a single small DLL.

## Use cases
- embed a nosql database in a .net desktop app
- store documents in a single file like sqlite but for  documents
- use a mongodb-like api without running a server
- local database for xamarin or uwp mobile apps
- use an application file format with queryable data
- per-user data storage in web applications
- query poco objects with linq and persist them

## When to choose
- you need an embedded, zero-configuration document store in a .NET application
- you want MongoDB-style queries and documents without deploying a database server
- you need a single-file database with ACID transactions and WAL recovery
- you target mobile, desktop, or UWP and need a small managed-code database

## When to avoid
- you need multi-server, network-accessible database deployments
- you require heavy concurrent write throughput across many processes
- you need JOINs and full relational features
- you need strong encryption beyond the built-in AES support or certified security compliance

## Facets
- artifact type: library
- maturity: stable
- function: database, serialization, search-engine
- domain: databases, developer-tools, mobile-development, desktop-applications
- platform: dotnet, cross-platform, windows
- tags: nosql, embedded-database, document-store, mongodb-like, single-file-database, acid, linq, csharp, linux, macos, mobile

## Member repositories
- litedb-org/LiteDB (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:31.226550+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:22:06.567164+00:00, confidence not recorded.
  - readme: https://github.com/litedb-org/LiteDB (fetched 2026-08-28T04:10:31.226550+00:00, sha 12bf2837644b)
  - homepage: http://www.litedb.org (fetched 2026-08-29T08:21:59.885575+00:00, sha 88b6ab7e4ef1)
  - site_page: http://www.litedb.org/docs (fetched 2026-08-29T08:21:59.888618+00:00, sha a14021646804)
- Data as of 2026-08-30T08:39:29.467469+00:00.
