Use Cases | Setup | TUI | Status | Documentation | Contact
Noms is a decentralized database philosophically descendant from the Git version control system.
Like Git, Noms is:
- Versioned: By default, all previous versions of the database are retained. You can trivially track how the database evolved to its current state, easily and efficiently compare any two versions, or even rewind and branch from any previous version.
- Synchronizable: Instances of a single Noms database can be disconnected from each other for any amount of time, then later reconcile their changes efficiently and correctly.
Unlike Git, Noms is a database, so it also:
- Primarily stores structured data, not files and directories (see: the Noms type system)
- Scales well to large amounts of data and concurrent clients
- Supports atomic transactions (a single instance of Noms is CP, but Noms is typically run in production backed by S3, in which case it is "effectively CA")
- Supports efficient indexes (see: Noms prolly-trees)
- Features a flexible query model (see: GraphQL)
A Noms database can reside within a file system or in the cloud:
- The (built-in) NBS
ChunkStoreimplementation provides two back-ends which provide persistence for Noms databases: one for storage in a file system and one for storage in an S3 bucket.
Finally, because Noms is content-addressed, it yields a very pleasant programming model.
Working with Noms is declarative. You don't INSERT new data, UPDATE existing data, or DELETE old data. You simply declare what the data ought to be right now. If you commit the same data twice, it will be deduplicated because of content-addressing. If you commit almost the same data, only the part that is different will be written.
Because Noms is very good at sync, it makes a decent basis for rich, collaborative, fully-decentralized applications.
Embed Noms into mobile applications, making it easier to build offline-first, fully synchronizing mobile applications.
- Clone the repository:
git clone https://github.com/fully-autonomous/noms.git
cd noms- Build the CLI:
go build -o bin/noms ./cmd/noms/- Add to your PATH:
export PATH="$PWD/bin:$PATH"- Verify installation:
noms versionNoms now includes a fully interactive Terminal UI (TUI) for intuitive database management.
- Dashboard - Real-time overview of status, branches, datasets, and recent commits
- Branch Manager - Create, checkout, and delete branches with visual selection
- Dataset Browser - Browse and view dataset contents interactively
- Sync Panel - Push, pull, and manage remotes with interactive input
- Commit Workflow - Write commit messages with full interactive prompts
cd tui
bun install
bun run src/index.tsOr run directly:
cd tui && bun run src/index.ts[1-5]- Navigate between Dashboard, Branches, Datasets, Sync, and Commit screens[b/q]- Go back / Quit[j/k]or[↑/↓]- Navigate lists[Enter]- Select/Confirm[n/c/d]- New branch, Checkout, Delete branch (in Branch manager)[p/l/a]- Push, Pull, Add remote (in Sync panel)
Initialize a new database:
mkdir mydb && cd mydb
noms initCreate and switch branches:
noms branch -c feature-branch
noms checkout feature-branchCommit data:
noms commit -m "Add initial data" /path/to/data mydatasetView history:
noms log
noms show mydatasetSync with remote:
noms remote --add origin https://remote-server.com/db
noms push originQuery with GraphQL:
noms graphql '{root{hash}}' mydataset
noms graphql '{datasets{size}}'This fork is actively maintained with the following completed features:
- ✅ Terminal UI - Full interactive TUI with menus, navigation, and all operations
- ✅ Branch Management - Create, checkout, delete, and list branches
- ✅ Remote Configuration - Persistent remote configuration with add/remove/list
- ✅ Sync Operations - Push and pull with remote servers
- ✅ Time Travel - Browse and checkout historical versions
- ✅ Query System - SQL-like query interface via
noms queryfor system tables - ✅ Dataset Management - Import, export, and manage structured datasets
- ✅ Garbage Collection - Automatic cleanup of orphaned chunks with generational GC
- ✅ Migration Tools - Schema and format migration with versioning support
- ✅ GraphQL Queries - Execute GraphQL queries via CLI (
noms graphql) with support for all Noms types
For the decentralized web: The Decentralized Database
Learn the basics: Technical Overview
Tour the CLI: Command-Line Interface Tour
Tour the Go API: Go SDK Tour
Interested in using Noms? Awesome! Reach out at:
- GitHub Issues - Report bugs, request features, or ask questions
- GitHub Discussions - Community discussions and Q&A
Noms is open source software, licensed under the Apache License, Version 2.0.
