Skip to main content
smolbren is a single binary with no runtime dependencies beyond its own index files. Once it’s installed you register a vault, run one command to build the index, and immediately have BM25 full-text search and Cypher graph queries over your notes.
All smolbren output is single-line JSON written to stdout. Pipe to jq for human-readable formatting: smolbren search "rust async" | jq.
1

Install

Install the pre-built binary with Homebrew. You do not need Rust or a compiler.
Confirm the binary is available:
2

Register your vault

Tell smolbren where your Markdown files live by registering the directory as a named vault. The --default flag makes it the vault used by all subsequent commands. If this is the first vault you register it becomes the default automatically.
You’ll get a JSON confirmation:
List all registered vaults at any time:
3

Build the index

Index your vault. The first run scans every .md file; subsequent runs are incremental — smolbren compares modification times, file sizes, and content hashes to skip unchanged files.
smolbren prints an IndexStats object when it finishes:
To rebuild the index from scratch (e.g. after bulk renames):
4

Search and query

Full-text search with BM25 — results are ranked by relevance score:
Narrow results to a specific note type with --type:
Graph queries with Cypher — traverse typed relationships between notes:
Follow edges between node types:
Fetch outgoing and incoming links for a specific note:
Inspect the discovered ontology — all node types and edge types with counts:

Next steps

Installation

Homebrew, release archive, update, and source-build instructions.

CLI Reference

Every subcommand, flag, exit code, and JSON output shape documented in detail.