Open Source • PolyForm Shield 1.0.0

Git Diffs, Beautifully Rendered

Browser-based, GitHub-style diff viewer for git changes. View uncommitted changes, branch comparisons, commit ranges, and more — one command, instant results.

Split
Diff View
30+
Languages
Go
Single Binary

See exactly what changed, instantly

Local-first, zero config, designed for real git workflows

Branches
Tags & Commits
GitHub
Style Diffs
Multi
Instance
Zero
Config Needed

Built for Real Engineering Workflows

glimpse fits into how you already work

GitHub-Style Diffs

Syntax-highlighted split diff view with addition/deletion coloring, line numbers, hunk headers, and file status badges.

GitHub PRs

Pass a PR URL to view any pull request locally. Fetches the diff via gh CLI — no cloning needed.

Inline Comments

Click any line to leave comments with severity tags: must-fix, suggestion, nit, question. Persisted to disk.

AI Code Review

Run glimpse review to have an AI agent review the diff and post severity-tagged inline comments to the viewer.

Resolve Workflow

Run glimpse resolve to output open comments for your AI agent. Review → check → resolve, all from the terminal.

Any Git Ref

Branches, tags, commits, ranges (main..feature), HEAD~N — glimpse resolves them all.

Working Tree Diffs

Run glimpse with no args to view all uncommitted changes — both staged and unstaged.

Multi-Instance

Run multiple repos simultaneously. Each gets its own auto-assigned port. Re-running opens the existing instance.

Single Binary

Written in Go. All assets embedded. Install via go install, Homebrew, or download from GitHub Releases.

How It Works

Three steps from install to your first result

1

Install glimpse

Install via go install, Homebrew, or download a prebuilt binary. Single binary, zero dependencies.

2

Run glimpse

Run glimpse in any git repo — with no args for working tree changes, or pass refs like main..feature.

3

Review in Browser

Your browser opens with a GitHub-style diff view. Navigate files, see line-level additions and deletions.

Code Examples

See glimpse in action

bash
# View all uncommitted changes (staged + unstaged)
$ glimpse
3 files changed, 12 insertions(+), 4 deletions(-)
→ Serving at http://localhost:5391

Use Cases

glimpse adapts to how your team works

Pre-Commit Review

Run glimpse before committing to visually review all your uncommitted changes in a proper diff view.

Branch Comparison

Compare your feature branch against main before opening a PR. Spot issues early.

Commit History

Review your last N commits with glimpse HEAD~3. See exactly what shipped in a batch of changes.

Release Diffs

Compare two release tags (glimpse v1.0.0 v2.0.0) to see everything that changed between versions.

AI Agent Output

Review changes made by AI coding agents (Cursor, Claude Code, Codex) in a proper diff view before accepting.

Multi-Repo Workflow

Run glimpse in multiple repos simultaneously. Each gets its own port, existing instances are reused automatically.

Quick Start

Install glimpse and get started in under a minute

1. Install

bash
go install github.com/dotbrains/glimpse@latest

2. Use

bash
# 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 list

Tip: If you run glimpse in a repo that already has a running instance, it opens the existing one instead of starting a new server.