Browser-based, GitHub-style diff viewer for git changes. View uncommitted changes, branch comparisons, commit ranges, and more — one command, instant results.
Local-first, zero config, designed for real git workflows
glimpse fits into how you already work
Syntax-highlighted split diff view with addition/deletion coloring, line numbers, hunk headers, and file status badges.
Pass a PR URL to view any pull request locally. Fetches the diff via gh CLI — no cloning needed.
Click any line to leave comments with severity tags: must-fix, suggestion, nit, question. Persisted to disk.
Run glimpse review to have an AI agent review the diff and post severity-tagged inline comments to the viewer.
Run glimpse resolve to output open comments for your AI agent. Review → check → resolve, all from the terminal.
Branches, tags, commits, ranges (main..feature), HEAD~N — glimpse resolves them all.
Run glimpse with no args to view all uncommitted changes — both staged and unstaged.
Run multiple repos simultaneously. Each gets its own auto-assigned port. Re-running opens the existing instance.
Written in Go. All assets embedded. Install via go install, Homebrew, or download from GitHub Releases.
Three steps from install to your first result
Install via go install, Homebrew, or download a prebuilt binary. Single binary, zero dependencies.
Run glimpse in any git repo — with no args for working tree changes, or pass refs like main..feature.
Your browser opens with a GitHub-style diff view. Navigate files, see line-level additions and deletions.
See glimpse in action
# View all uncommitted changes (staged + unstaged)
$ glimpse
→ 3 files changed, 12 insertions(+), 4 deletions(-)
→ Serving at http://localhost:5391glimpse adapts to how your team works
Run glimpse before committing to visually review all your uncommitted changes in a proper diff view.
Compare your feature branch against main before opening a PR. Spot issues early.
Review your last N commits with glimpse HEAD~3. See exactly what shipped in a batch of changes.
Compare two release tags (glimpse v1.0.0 v2.0.0) to see everything that changed between versions.
Review changes made by AI coding agents (Cursor, Claude Code, Codex) in a proper diff view before accepting.
Run glimpse in multiple repos simultaneously. Each gets its own port, existing instances are reused automatically.
Install glimpse and get started in under a minute
go install github.com/dotbrains/glimpse@latest# View uncommitted changes
glimpse
# Compare against main
glimpse main
# Branch comparison
glimpse main..feature
# Last 3 commits
glimpse HEAD~3
# Custom port, don't open browser
glimpse --port 9000 --no-open
# List running instances
glimpse listTip: If you run glimpse in a repo that already has a running instance, it opens the existing one instead of starting a new server.
Install glimpse and get up and running in under a minute