@bitefoundry/obsidian
Search local Obsidian vaults, manage Markdown notes and tasks, and inspect backlinks from the terminal.
BiteFoundry · Engineering Design · Latest release notes
Highlights
| Pillar |
Capabilities |
| Zero-Auth Native Vault Discovery |
Automatically discovers every local Obsidian vault from %APPDATA%\obsidian\obsidian.json (Windows), ~/Library/Application Support/obsidian/obsidian.json (macOS), or ~/.config/obsidian/obsidian.json (Linux) — 100% local-first Markdown files on disk, zero API keys or cloud auth required. |
| Obsidian-Native 3-Pane TUI |
Signature Obsidian purple (#a78bfa / #7c3aed) Minimal-Chrome workspace (bitefoundry-obsidian): collapsible 5-Tab Left Sidebar ([) (1 Files · 2 Tags · 3 Bookmarks · 4 Outline · 5 Tasks), Live Note Canvas with YAML Frontmatter pills, #tag chips, semantic Callout cards, interactive - [ ] checkboxes (Space/x updates the .md file atomically), clickable [[wikilinks]], inline HD ![[image.png]] previews (v), Right Backlinks & Outgoing Inspector (B), Quick Switcher (Ctrl+O), Daily Notes (D), and a Live-Preview Theme Picker (Ctrl+T / T) across 14 built-in themes (including Terminal Inherit default) plus drop-in custom .toml themes. |
Interactive Knowledge Graph (G) |
Force-directed & radial Braille Canvas Knowledge Graph rendered right inside the terminal: purple focal edges, 1-hop / 2-hop / unresolved ghost nodes, Local vs Global scope (l), hop depth (+/-), node cycling (j/k/Tab), and Enter jump-to-note. |
| SQLite WAL + FTS5 + 4-in-1 Agent Interface |
Incremental mtime_ms + size_bytes filesystem scanner powering SQLite WAL + FTS5 search (Korean/CJK queries also match inside longer words), background watcher IPC daemon (bitefoundry-obsidian daemon), scriptable --json CLI, local HTTP JSON API (bitefoundry-obsidian serve, :8792), and stdio MCP server (bitefoundry-obsidian mcp, 20 typed tools with confirm: true .trash/ safety guard). |
Quick Start
# 1. Install the native binary (choose one — no Node.js required for brew/curl/PowerShell)
brew install bitefoundry/tap/obsidian # macOS & Linux (Homebrew)
curl -fsSL https://bitefoundry.dev/i | sh -s obsidian # macOS & Linux (SHA256-verified)
npm i -g @bitefoundry/obsidian # Windows / macOS / Linux (npm)
# Windows PowerShell (no Node): & ([scriptblock]::Create((irm https://bitefoundry.dev/w))) obsidian
# 2. Launch directly — auto-discovers your existing local Obsidian vaults!
bitefoundry-obsidian
# Optional: install a short shell alias (`ob` -> `bitefoundry-obsidian`)
bitefoundry-obsidian alias install
# Or scaffold a starter local vault anywhere:
bitefoundry-obsidian init ~/Documents/SecondBrain
bitefoundry-obsidian vaults list
Docs & MCP guide: bitefoundry.dev/obsidian
bitefoundry-obsidian notes read "Roadmap" --json
Read a local note with its modification time and omission counts. Use a vault-relative path if several notes share its name. For full detail, add --full in the CLI or pass compact: false to read_note in MCP.
Upgrade from 0.1.x
Update shell scripts from obsidian notes list or obs notes list to bitefoundry-obsidian notes list. In MCP settings, change "command": "obsidian" or "command": "obs" to "command": "bitefoundry-obsidian" and keep "args": ["mcp"].
For npm, run npm install -g @bitefoundry/obsidian. Use a separate prefix when another program supplies an old command in the existing npm prefix. For a source install, run cargo install --git https://github.com/BiteFoundry/obsidian --locked. For a standalone install, download the asset named bitefoundry-obsidian for your platform. Shared npm prefix · Standalone updater transition
Keybindings Cheat Sheet
Powered by a single action registry (OBSIDIAN_ACTIONS) that drives the ? Help overlay, which-key leader popups (g Go · y Yank), scoped footer hints, and Command Palette:
| Key |
Action |
Context |
Ctrl+O / Ctrl+K / Ctrl+P |
Quick Switcher & Command Palette (fuzzy notes + >commands) |
Global |
z |
Toggle Pane Zoom (Esc unzoom) |
Global |
g s / g n / g r / g b |
which-key Go chords: Sidebar · Note canvas · Knowledge Graph · Backlinks |
Global |
g g / G |
Jump to top · Jump to bottom |
Global |
y m / y y / y p / y i |
which-key Yank chords: Markdown/code · quick copy · path/[[wikilink]] · title/ID |
Global |
l / +/- / 0,r / [/] |
Toggle Local/Global scope · Zoom · Reset view · Hop depth (Enter opens node) |
Graph View |
D |
Open or create Today's Daily Note (reads .obsidian/daily-notes.json) |
Global |
[ / Ctrl+B |
Toggle collapsible Left Sidebar |
Global |
1 2 3 4 5 |
Switch Sidebar tabs: Files · Tags · Bookmarks · Outline · Tasks |
Global |
B |
Toggle Right Inspector (Linked Mentions / Backlinks & Outgoing Links) |
Global |
Tab / Shift+Tab |
Cycle focus across Sidebar, Canvas, and Inspector |
Global |
J / K / Ctrl+D / Ctrl+U |
Scroll note preview 3 lines or half-page up/down without leaving Sidebar |
Sidebar |
Space / x |
Toggle live - [ ] / - [x] checkbox surgically in the .md file |
Canvas / Tasks |
Enter / Backspace / Alt+Left |
Follow [[wikilink]] / Navigate back in note history stack |
Canvas |
a / n / b / w |
Quick Append · New Note · Toggle Bookmark · Toggle Centered/Full Page Width |
Global |
e / i / Ctrl+E |
Edit inline in pane · Open in $VISUAL or $EDITOR and reindex on success |
Note |
X |
Move active note to .trash/ (requires Shift+Y confirmation with backlink blast-radius) |
Global |
u / h / v / Alt+V / H |
Link Extractor · Toggle Inline Hrefs · HD Image Preview · Interactive HTML Preview |
Global |
Ctrl+V / Ctrl+F |
Paste clipboard PNG into Attachments/ · Attach local file (z zoxide jump) |
Global |
Ctrl+T / T |
Live-Preview Theme Picker (14 built-in + custom .toml themes, / filter, Esc revert) |
Global |
Ctrl+S / Ctrl+, / . / r / ? / q / Ctrl+C |
Vault Switcher · Settings · Context Menu · Reindex Vault · Keybinding Help · Quit |
Global |
Themes & Customization
Press Ctrl+T or T inside the TUI to browse 14 built-in themes with instant live preview (default Terminal Inherit, midnight-dark, obsidian-dark, daylight-light, warm-paper, catppuccin-mocha, catppuccin-latte, tokyo-night, gruvbox-dark, gruvbox-light, nord, dracula, everforest-dark, rose-pine), plus ANSI 256/16 and NO_COLOR.
# Override theme or switch to pure 7-bit ASCII icons for a single session
bitefoundry-obsidian --theme tokyo-night
bitefoundry-obsidian --theme default --no-nerd-fonts
Drop custom .toml theme files into ~/.config/obsidian-cli/themes/*.toml (or ~/.config/bitefoundry/themes/*.toml to share across all BiteFoundry apps) — they appear automatically in the Theme Picker with a [User] badge.
CLI, HTTP API & MCP
CLI (--json & --vault ready)
# Discover, register, scaffold & reindex local vaults
bitefoundry-obsidian vaults list --json
bitefoundry-obsidian vaults add ~/Vaults/Work --name work
bitefoundry-obsidian vaults use work
bitefoundry-obsidian init ~/Vaults/Starter
bitefoundry-obsidian reindex
# Search, read (raw, styled ANSI `-p`/`--print`/`--pager`, or `--json`), author, daily notes & surgical checkbox toggles
bitefoundry-obsidian search "Architecture" --json
bitefoundry-obsidian notes list --folder Projects --json
bitefoundry-obsidian notes list --folder Projects --json --limit 50 --cursor "<next_cursor>"
bitefoundry-obsidian notes read "Q4 Architecture RFC"
bitefoundry-obsidian notes read "Q4 Architecture RFC" -p # styled ANSI output (--print)
bitefoundry-obsidian notes read "Q4 Architecture RFC" --pager # pipe rendered output through $PAGER
bitefoundry-obsidian notes read "Q4 Architecture RFC" --json
bitefoundry-obsidian notes read "Q4 Architecture RFC" --json --full
bitefoundry-obsidian notes create "Sprint Retro" --folder Notes --tags "retro,q4"
bitefoundry-obsidian notes append "Q4 Architecture RFC" "- [ ] Verify the release"
bitefoundry-obsidian notes replace "Q4 Architecture RFC" --find "Draft review" --replace "Review complete" --json
bitefoundry-obsidian notes move "Q4 Architecture RFC" "Archive/Q4 Architecture RFC" --json
bitefoundry-obsidian daily "--append=- [ ] Review PRs"
bitefoundry-obsidian tasks --open --json # paginated response (default 50; use --cursor or --all)
bitefoundry-obsidian toggle-task "Q4 Architecture RFC" 14
# Knowledge Graph & Link Intelligence
bitefoundry-obsidian backlinks "Q4 Architecture RFC" --json
bitefoundry-obsidian links "Q4 Architecture RFC" --json
bitefoundry-obsidian graph "Q4 Architecture RFC" --depth 2 --json
bitefoundry-obsidian orphans --json
bitefoundry-obsidian tags architecture --json
# Background watcher daemon, diagnostics & verified updates
bitefoundry-obsidian daemon start
bitefoundry-obsidian doctor --json
bitefoundry-obsidian update --check
notes read prints raw Markdown. With --json, it returns a compact object by default (rel_path, title, raw_markdown, mtime_ms, omitted, and hint); add --full to include summary, parsed, backlinks, outgoing_links, and images (--compact is kept as an alias for the default compact output). In --full output, parsed includes rendering blocks and body copies that can be around 10x the raw note size; select metadata with jq or use MCP read_note with compact: false when you do not need AST blocks. daily --json follows the same compact-by-default and --full rule, except that calls with a non-empty --append without --full return a minimal receipt (rel_path, created, appended). notes list --json and tasks --json return paginated objects with returned, total, has_more, next_cursor, and notes/tasks (default page size 50, max 500; pass --cursor to continue or --all for every item). search --json returns query, limit (clamped to 1..200), returned, has_more, next_cursor (null), and results; when has_more is true, raise --limit up to 200 or narrow the query. Use notes edit <NOTE> for arbitrary body edits in your editor. notes replace edits a single literal match in the Markdown body and returns replaced, matches, and rel_path. When a --json command fails at runtime, stdout contains {"ok":false,"error":{"code","message"}} (with candidates on ambiguous note references), stderr is empty, and the exit code is 1; argument parsing errors print clap usage to stderr with exit code 2.