# Softmotions/ejdb

:snowboarder: EJDB2 — Embeddable JSON Database engine C library. Simple XPath like query language (JQL).

Repository: https://github.com/Softmotions/ejdb
Canonical: https://ross.abutalabs.com/products/ejdb
Language: C
License: MIT
License Family: permissive
Topics: ejdb, database, json, nosql, c, embedded, dart, osx, java, jni, android, websocket, nodejs, key-value, kv-store, react-native, reactnative, flutter, swift, ios
Last push: 2026-08-25T08:56:06+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 5057, "days_push": 8, "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 1478, forks 135 (observed 2026-08-28T04:04:50.533048+00:00)

## What it is
EJDB2 is an embeddable JSON document database engine written as a C11 library with a single-file storage format and an XPath-inspired query language (JQL). It ships native bindings for many languages and platforms, plus optional HTTP REST and WebSocket endpoints.

## Use cases
- embed a JSON document database in a C application
- store and query JSON documents on mobile devices
- use a lightweight NoSQL database with a single-file store
- query JSON collections with an XPath-like query language
- expose an embedded database over HTTP REST and WebSockets
- add local JSON persistence to Flutter or React Native apps

## When to choose
- you need an embeddable, in-process JSON database with no server dependency
- you want a simple query language for filtering, updating, and joining JSON documents
- you target mobile or cross-platform apps and need native bindings (Swift, Dart, Java, Node.js)
- you want online backups and a small single-file storage engine

## When to avoid
- you need a full client-server SQL database with rich relational features
- you require a large ecosystem of ORMs, admin tools, and managed hosting
- you need horizontal scaling or multi-node replication out of the box

## Facets
- artifact type: library
- maturity: active
- function: database, json, http-server, websocket, search-engine
- domain: databases, developer-tools, mobile-development
- platform: windows, c, cross-platform
- tags: embedded-database, nosql, document-store, jql, key-value-store, single-file-database, bindings, linux, macos, ios, android, nodejs, flutter

## Member repositories
- Softmotions/ejdb (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:50.533048+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-30T04:34:20.648235+00:00, confidence not recorded.
  - readme: https://github.com/Softmotions/ejdb (fetched 2026-08-28T04:04:50.533048+00:00, sha 8a04e39ce16a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
