Skip to content

Astro-Han/diffpane

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

diffpane

Real-time TUI diff viewer for AI coding agents.

diffpane demo

Why

AI coding agents like Claude Code, Codex CLI, and OpenCode change files fast, across multiple directories. Without a dedicated viewer, you're juggling git diff + lazygit + delta just to keep up, or trusting changes you haven't seen.

diffpane replaces that with one command. It sits next to your agent and auto-follows every change as it happens. Git is the single source of truth. What you see is what git sees.

Features

  • Session baseline - See cumulative changes across your entire session. diffpane records your starting point and diffs everything against it. Press r to reset.
  • Follow mode - Auto-jumps to the latest changed file and scrolls to the newest change. When you navigate manually, follow pauses until you resume it with f.
  • Syntax highlighting - Added and removed lines are color-coded with background colors, so you can tell what changed at a glance. Adapts to dark and light terminals automatically.
  • Zero config - Single binary, requires only git. Run diffpane in any git repo and it works.

Install

brew install Astro-Han/tap/diffpane

Or with Go:

go install github.com/Astro-Han/diffpane@latest

Pre-built binaries are also available on the Releases page.

Usage

cd your-project
diffpane

Split your terminal. Left pane: your AI agent. Right pane: diffpane.

Keys

Key Action
/ Scroll diff
/ Next/prev file
f Toggle follow mode
r Reset baseline to current HEAD
Tab File list
q Quit

Requirements

  • macOS or Linux (amd64 or arm64)
  • Git

Also by the Author

claude-pace - Pace-aware statusline for Claude Code. Know your quota before you hit the wall.

License

MIT

About

Real-time TUI diff viewer for AI coding agents

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages