Vantage 🔭
A beautiful local Markdown viewer with live reload and Git awareness.
Vantage renders your Markdown files the way GitHub does — locally, instantly, with live reload as you edit. Point it at one directory or several, and browse your docs in a polished web UI with file tree navigation, Mermaid diagrams, commit history, and diffs.
Vantage ships as a single Go binary with an embedded React frontend — no runtime dependencies, no background services to babysit. Built for developers who write docs alongside code, and especially useful for reviewing LLM-generated Markdown output in real time.
Platform: Linux and macOS are fully supported. Windows is not supported.
Install
go install
go install github.com/mschulkind-oss/vantage/cmd/vantage@latest
This installs a vantage binary to your $GOBIN (typically ~/go/bin). Make sure it's on your PATH.
Homebrew (recommended)
brew install mschulkind-oss/tap/vantage
From source
git clone https://github.com/mschulkind-oss/vantage
cd vantage
mise install # installs Go 1.26, Node 22, just
just build # produces ./vantage
The resulting ./vantage binary embeds the compiled frontend, so it's fully self-contained.
🚀 Quick Start
Single Directory
Point Vantage at any directory containing Markdown files — or a specific file:
vantage ~/Documents/notes # open a directory
vantage ~/Documents/notes/intro.md # open a specific file
The server starts, your default browser opens to the file (or directory root), and the sidebar focuses on the parent directory of what you opened. Pass --no-open to suppress the browser launch.
Multiple Directories (Daemon Mode)
To serve several directories at once, create a config and run the daemon:
# Generate a config file
vantage init-config
# Edit it
$EDITOR ~/.config/vantage/config.toml
# Start the daemon
vantage daemon
✨ Features
- GitHub-Style Rendering — Full GitHub Flavored Markdown with syntax highlighting, tables, task lists, and footnotes
- Math & Diagrams — KaTeX math rendering and inline Mermaid diagrams from fenced code blocks
- Live Reload — Files update instantly in the browser via WebSocket when modified on disk
- Git Integration — View commit history, diffs, working-tree changes, file status, and recent changes for any file
- Review Mode — Inline comments with tracked agent responses (delivered via
.vantage/inboxfiles or pasted into the panel) for collaborative review - Multi-Repo Mode — Serve multiple directories from a single daemon, each accessible by name
- Source Directory Auto-Discovery — Point at parent directories to automatically find and add all git repos
- File Tree Navigation — Lazy-loaded sidebar with directory expansion
- Frontmatter Support — Displays YAML and TOML frontmatter as a clean metadata table
- Agent CLI —
vantage-check: a standalone binary that prints Vantage's Markdown conventions and verifies that a document really renders - Static Site Export — Build a standalone static site from a directory of Markdown
- Dark Mode — Toggle with Shift+D, persisted across sessions
- Keyboard Shortcuts — Quick file picker with
t, fuzzy search, keyboard navigation - Performance Diagnostics — Built-in
perf-reportcommand for anonymized timing data - systemd Service (Linux) — Run as a background service that starts on login
⚙️ Configuration
The config file lives at ~/.config/vantage/config.toml. Generate one with:
vantage init-config
Example Config
# Server settings
host = "127.0.0.1"
port = 8000
# Auto-discover git repos under these directories
source_dirs = ["~/code", "~/projects"]
# Or list repos explicitly (both methods can be combined)
[[repos]]
name = "notes"
path = "~/Documents/notes"
[[repos]]
name = "work-docs"
path = "~/work/documentation"
Each repo is accessible at http://localhost:8000/{name}/.
Configuration Reference
| Key | Type | Default | Description |
|---|---|---|---|
host |
string | "127.0.0.1" |
Server bind address |
port |
integer | 8000 |
Server port |
source_dirs |
array of strings | [] |
Parent directories to scan for git repos |
repos[].name |
string | required | Display name and URL slug for the directory |
repos[].path |
string | required | Path to directory (supports ~) |
repos[].allowed_read_roots |
array of strings | [] |
Additional directories this repo may read |
exclude_dirs |
array of strings | (see below) | Directories to hide from file listings |
show_hidden |
boolean | true |
Show dotfiles in sidebar |
walk_max_depth |
integer or null | null (unlimited) |
Max directory depth for untracked file discovery |
walk_timeout |
float | 30.0 |
Timeout (seconds) for git ls-files subprocess |
use_ignore_files |
boolean | true |
Honor .gitignore and ignore files during walks |
log_level |
string | "info" |
Logging verbosity |
Excluded Directories
By default, Vantage hides common build and dependency directories from the sidebar, file picker, and recent files — for example node_modules, dist, build, .cache, .git, .hg, and .svn.
Override this in your config:
exclude_dirs = ["node_modules", "vendor", "dist"]
🔧 Service Management (Linux)
On Linux, Vantage can run as a systemd user service that starts automatically on login. On macOS, run vantage directly or wrap it in a launchd agent yourself.
Install the Service
vantage install-service
Enable and Start
systemctl --user daemon-reload
systemctl --user enable vantage
systemctl --user start vantage
Common Commands
# Check status
systemctl --user status vantage
# View logs
journalctl --user -u vantage -f
# Restart after config changes
systemctl --user restart vantage
# Stop the service
systemctl --user stop vantage
Keep Running After Logout
By default, user services stop when you log out. To keep Vantage running:
loginctl enable-linger $USER
🖥️ CLI Reference
The command is vantage.
vantage [PATH] # Serve a dir or file, auto-open browser
vantage serve [PATH] [flags] # Same as above, with explicit flags
vantage daemon [-c config.toml] # Serve multiple directories from config
vantage init-config # Generate example config file
vantage install-service # Install systemd user service (Linux only)
vantage build PATH -o OUTPUT # Build a static site
vantage perf-report [--url] # Performance diagnostics from a running instance
serve flags
| Flag | Description |
|---|---|
--host |
Bind address (default 127.0.0.1) |
--port |
Server port (default 8000) |
--no-open |
Don't open the browser on start |
--show-hidden |
Show dotfiles in the sidebar |
--exclude-dirs |
Directories to hide from file listings |
--use-ignore-files |
Honor .gitignore and ignore files during walks |
--walk-max-depth |
Max directory depth for untracked file discovery |
--walk-timeout |
Timeout (seconds) for git ls-files subprocess |
🔌 API
Vantage exposes a REST API for programmatic access under /api.
Single-Repo Endpoints
| Endpoint | Description |
|---|---|
GET /api/tree?path=. |
File tree listing |
GET /api/content?path=file.md |
File content |
GET /api/files |
List all Markdown files |
GET /api/files/all |
List all files |
GET /api/recent/all |
Recently accessed files |
GET /api/info |
Repository metadata |
GET /api/git/history?path=file.md |
Commit history |
GET /api/git/diff?path=file.md&commit=SHA |
Diff for a commit |
GET /api/git/diff/working?path=file.md |
Uncommitted changes diff |
GET /api/git/status?path=file.md |
File status (modified, committed) |
GET /api/git/recent?limit=20 |
Recently changed files |
GET /api/review |
Read review comments |
DELETE /api/review |
Remove review data |
POST /api/review/comments (+ subroutes) |
Review commands (create, reply, …) |
Multi-Repo Endpoints
In daemon mode, endpoints are prefixed with /api/r/{repo}/:
| Endpoint | Description |
|---|---|
GET /api/repos |
List configured repositories |
GET /api/r/{repo}/tree?path=. |
File tree for a repo |
GET /api/r/{repo}/content?path=file.md |
File content for a repo |
| (all single-repo endpoints above) | Prefixed with /api/r/{repo} |
Utility Endpoints
| Endpoint | Description |
|---|---|
GET /api/health |
Health check |
GET /api/version |
Server version info |
GET /api/perf/diagnostics |
Performance diagnostics (anonymized) |
POST /api/perf/reset |
Reset performance counters |
WS /ws |
WebSocket for live reload notifications |
🛠️ Development
Run the quality gate with just check (gofmt, go vet, staticcheck, go test, plus frontend lint, tsc, and vitest). See docs/development.md for more on building, testing, and contributing to Vantage.
📄 License
Apache 2.0 — see LICENSE.
Metadata
Release files for vantage-md 0.5.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| vantage_md-0.5.5-py3-none-musllinux_1_2_x86_64.whl | Python 3 | none | Linux musl 1.2+ x86-64 | Details |
| vantage_md-0.5.5-py3-none-musllinux_1_2_aarch64.whl | Python 3 | none | Linux musl 1.2+ ARM64 | Details |
| vantage_md-0.5.5-py3-none-manylinux_2_17_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| vantage_md-0.5.5-py3-none-manylinux_2_17_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details |
| vantage_md-0.5.5-py3-none-macosx_11_0_x86_64.whl | Python 3 | none | macOS 11.0+ x86-64 | Details |
| vantage_md-0.5.5-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
Total release size: 35.1 MB
Release files / vantage_md-0.5.5-py3-none-musllinux_1_2_x86_64.whl
| Download URL | vantage_md-0.5.5-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 6.0 MB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
47229a02d461289d52b286752cae840fb91bcf1921e024767b0767bee9b8b542
|
|
BLAKE2b-256 checksum How to use checksums |
cc91ba3478803917464ae61da323f672bca6eb4488ace04dcdfdd4140404ce74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / vantage_md-0.5.5-py3-none-musllinux_1_2_aarch64.whl
| Download URL | vantage_md-0.5.5-py3-none-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 5.6 MB |
| Tags | Linux musl 1.2+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
3daf25c13fb9f83b776ed112022cd792f8cc90d379f4da4c3de26cddcb0944fb
|
|
BLAKE2b-256 checksum How to use checksums |
8979b62f7ec54d0415613d19b499b288830cf149f83cd543145c17e38336c7d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / vantage_md-0.5.5-py3-none-manylinux_2_17_x86_64.whl
| Download URL | vantage_md-0.5.5-py3-none-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 6.0 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
f0ac40b32513130b2f9b28217921fd2dc9dcf957bc049107dd58623d7e388056
|
|
BLAKE2b-256 checksum How to use checksums |
f465d451f9808c3aadcc1f687d9ec14b7d1757b44412684c2f9697bec75d8f21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / vantage_md-0.5.5-py3-none-manylinux_2_17_aarch64.whl
| Download URL | vantage_md-0.5.5-py3-none-manylinux_2_17_aarch64.whl |
|---|---|
| Size | 5.6 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
cede490d728a8f66216de84a971a5d132f8898da1ff09283fe257c8455dd54a8
|
|
BLAKE2b-256 checksum How to use checksums |
a9e529995cd3e2acd52a463e3682a63ac8086b34485181e9d462c387cb488bbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / vantage_md-0.5.5-py3-none-macosx_11_0_x86_64.whl
| Download URL | vantage_md-0.5.5-py3-none-macosx_11_0_x86_64.whl |
|---|---|
| Size | 6.1 MB |
| Tags | Python 3 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
4f2ef61e27b3282968871f8a6835b024704435bd2207ac28bd0954fa3ff6ea68
|
|
BLAKE2b-256 checksum How to use checksums |
57ff4fd719352001e9006829e9d9c29a023a084da2c5bd3da234950936f808a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / vantage_md-0.5.5-py3-none-macosx_11_0_arm64.whl
| Download URL | vantage_md-0.5.5-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 5.8 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
b62980e8a0a08b20648cb04280b2527308cfceecf5aa8ba4de329c1548bfa07e
|
|
BLAKE2b-256 checksum How to use checksums |
6b3eafa2b3b9252e603cc8599d79f9a0690bccad1d6947d379c4978ce18d6b43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|