diffier
A live diff feed for Claude Code. Run it in a second pane and every Edit, Write, MultiEdit, and NotebookEdit shows up as a full diff the moment it lands, rendered through delta when it is installed.
Install
Requires jq. delta is optional. Prebuilt macOS and Linux binaries are on the
releases page, or build it:
diffier install writes ~/.claude/hooks/diffier.sh and registers it in
~/.claude/settings.json, preserving everything else in that file and writing a
one-time settings.json.bak. Restart any running Claude Code session so the
hooks load.
Use
It follows only sessions whose working directory matches the one it started in, replaying that directory's recent edits before following new ones.
| Key | Action |
|---|---|
j / k, arrows, wheel |
scroll |
Ctrl-d / Ctrl-u, PgDn / PgUp |
half page / page |
g / G |
top / bottom, and resume follow |
p |
toggle follow |
q, Esc, Ctrl-c |
quit |
Scrolling up pauses follow. Mouse capture is on for the wheel, so select text with tmux copy mode or shift-drag.
diffier --help covers the rest.
More
- docs/design.md — how the hook, spool, and snapshots fit together
- CONTRIBUTING.md — running the checks CI runs
- MIT licensed. See LICENSE.