diffier 0.1.0

Live diff feed for Claude Code edits, fed by hooks, rendered with delta
Documentation

diffier

CI License: MIT

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:

cargo install --git https://github.com/spencerjireh/diffier
diffier install

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

cd ~/Projects/some-repo
tmux split-window -h diffier   # then run claude in the other pane

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 dump             # print the current session's cards and exit
diffier run --no-delta   # force the plain renderer
diffier uninstall        # remove the hook and its settings entries

diffier --help covers the rest.

More