noy-db · 0.3.0-pre · interactive

Compose your vault.
Pay only for what you open.

noy-db is a microkernel: an always-on encrypted core, plus opt-in services that tree-shake away when unused. Tick what your app needs — watch the containment nest light up, the code write itself, and the bundle grow only by what you chose. Prefer a readable page? The same data renders as Compose your own setup.

D1Architecture & persistencewhere data lives
D2Encryption, identity & accesswho unlocks, who reads what
D3Data & queryshape and operations
D4Schema evolution & operationslifecycle — mostly planned
Containment nest imports point inward →
hub · @noy-db/hub
kernel · always-on
vault · collection
query · keyring · bus
enclaveAES-256-GCMfrozen · swappable
layers · services  tree-shaken when unused
with-lookupindexingjoinsreducesearchlive
with-commithistorycrdt
with-formuladerivationsmaterialized-viewsoverlay-views
with-shapeblobsi18nclassified
with-auditperiodsconsentguardsportabilityattestation
with-partyteamsessionsynctiers
with-forkshadowsnapshots
with-storerouting
with-podpod
with-cargocargo
family · satellites (bind inward via ports)
to-Storage destinations — the only layer that touches ciphertext on the wire.20
localfile · browser-idb · browser-local
cloudaws-s3 · aws-dynamo · cloudflare-r2 · cloudflare-d1
sqlpostgres · mysql · sqlite · turso · supabase
remote-fswebdav · ssh · smb · nfs
cloud-driveicloud · drive
wrapperprobe · meter
on-Unlock / auth methods — how a user proves identity to open the vault.10
devicewebauthn · oidc
delegationmagic-link
recoveryrecovery · shamir
2nd-factortotp · email-otp · password
lockpin
defencethreat
at-Sealing-key providers — the one non-zero-knowledge family: a host you control can decrypt the scoped slice it unseals.5
on-hostenv · macos-keychain
cloud-kmsaws · gcp · azure
in-Framework integrations — reactive glue between a vault and your UI layer.13
frameworkvue · react · solid · svelte · nuxt · nextjs
statepinia · zustand
datatanstack-query · tanstack-table · rest
realtimeyjs
aiai
by-Session-share transports — move an unlocked session between contexts.2
webrtcpeer
broadcasttabs
as-Import / export data slices — portable artefacts in and out of a vault.9
spreadsheetcsv · xlsx
structuredjson · ndjson · xml
databasesql
compositeblob · zip
encryptednoydb
klum-db · fleet — orchestrate many vaults
Documentation map nest → docs

Click any service, family, or the enclave in the nest to see its documentation route — and the capabilities that need it light up on the left.

Bundle weight core only
6,500LOC
ceiling ~31,990
kernel floor 6,500services opted-in
+ 1 satellite package (separate installs, own version line)
Your code generated live
pnpm add @noy-db/hub @noy-db/to-file
import { createNoydb } from '@noy-db/hub'
import { fileStore } from '@noy-db/to-file'

const db = await createNoydb({
  user: 'me',
  store: fileStore({ dir }),
})
run in a framework · log on a method · share as a format · sync by a transport · data goes to a backend · sealed at a trusted host
source of truth · noy-db/SERVICES.md · architecture-lexicon 2026-07-01tiers · essential → important → advancedplanned · reserved, badged honestly