
eDB — Embedded Database
eDB is the EoS embedded database — a single, embeddable engine that speaks SQL, document, and key-value, exposes a REST API, ships JWT auth, and encrypts data at rest with AES-256.
What eDB is
Where embedded apps usually pick between SQLite (relational), a JSON file (document), and a config blob (KV), eDB gives you all three in one process — pick the right model per collection without spinning up another database.
REST and capability-gated EIPC access make it equally usable from a local app, a remote service, or a federation of devices.
Features
The shape of eDB at a glance.
Three Data Models
SQL tables, JSON documents, key-value buckets — same transaction surface.
REST API
Auto-generated CRUD endpoints with OpenAPI schemas.
JWT Auth
Pluggable identity providers; per-collection ACLs.
AES-256 At Rest
File-level encryption; keys rooted in the eBoot chain-of-trust.
Replication
Multi-master CRDT-based sync across nodes; conflict-free by construction.
Time-Travel Queries
Query past snapshots; built-in audit log per collection.
EIPC Binding
Native capability-gated access from any EoS process.
Backup & Restore
Point-in-time snapshot, encrypted offsite backup.
Embeddable
< 2 MB binary; runs in-process or as a shared service.
Open source on GitHub
eDB is Apache-2.0 licensed and developed in the open. Issues, discussions, and pull requests welcome.
In the EoS stack
eDB is the highlighted layer below.
Pairs well with
Sibling components that eDB commonly works alongside.
Ready to build with eDB?
Start with the docs, browse the source, or join the community.