Diffnav
lastmod 2026-03-15created 2026-03-152 edits
A GitHub-style Git diff pager
About
- Recreates GitHub's file tree UI in the terminal, built on the rendering features of delta
- Shows the file tree and diff content at the same time, so large code changes can be browsed visually and quickly
- A TUI implemented in Go with the Bubble Tea framework; supports Mac/Linux/Windows
- Quick navigation between changed files via the sidebar file tree
- Can switch between side-by-side and unified views
- Supports per-file-status colors and customizable icon styles
- Fine-grained UI adjustments via a config file (config.yml)
- Integrates with delta settings to keep the same diff rendering style
- When used with GitHub CLI (gh), suits a workflow of visually browsing PR diffs
- MIT license