Open Source · Built with Rust

hunky.

diffs for the age of AI

A terminal UI that watches your repository and shows each diff as it lands. See what your agent changed, stage what you want, commit.

Install View on GitHub
Hunky terminal showing repository diffs

What it does

👁️

Live diffs

Watches the working tree and updates as files change. No refresh.

⏩

Stream only what's new

Streaming mode skips what was already there and shows new hunks one at a time, stepped by hand or auto-advanced.

✅

Stage hunks or lines

Stage a whole hunk or pick individual lines, then commit in your git editor.

🔍

Review commits

Pick a recent commit and walk its hunks, marking each one accepted.

Install

# Run directly without installing
nix run github:randymarsh77/hunky
# Or add to your flake inputs
hunky.url = "github:randymarsh77/hunky";
# Then use the package
hunky.packages.${system}.default

Requires Nix with flakes enabled.

# macOS (Apple Silicon)
curl -LO https://github.com/randymarsh77/hunky/releases/latest/download/hunky-aarch64-apple-darwin.tar.gz
tar xzf hunky-aarch64-apple-darwin.tar.gz
sudo mv hunky /usr/local/bin/
# macOS (Intel)
curl -LO https://github.com/randymarsh77/hunky/releases/latest/download/hunky-x86_64-apple-darwin.tar.gz
tar xzf hunky-x86_64-apple-darwin.tar.gz
sudo mv hunky /usr/local/bin/
# Linux / WSL (ARM64)
curl -LO https://github.com/randymarsh77/hunky/releases/latest/download/hunky-aarch64-unknown-linux-gnu.tar.gz
tar xzf hunky-aarch64-unknown-linux-gnu.tar.gz
sudo mv hunky /usr/local/bin/
# Linux / WSL (x86_64)
curl -LO https://github.com/randymarsh77/hunky/releases/latest/download/hunky-x86_64-unknown-linux-gnu.tar.gz
tar xzf hunky-x86_64-unknown-linux-gnu.tar.gz
sudo mv hunky /usr/local/bin/
# Windows (ARM64)
curl -LO https://github.com/randymarsh77/hunky/releases/latest/download/hunky-aarch64-pc-windows-msvc.zip
powershell -c "Expand-Archive hunky-aarch64-pc-windows-msvc.zip -DestinationPath ."
# Add hunky.exe to your PATH
powershell -c "New-Item -ItemType Directory -Force -Path $env:USERPROFILE/bin | Out-Null"
powershell -c "Move-Item -Path ./hunky.exe -Destination $env:USERPROFILE/bin/hunky.exe -Force"
# Windows (x86_64)
curl -LO https://github.com/randymarsh77/hunky/releases/latest/download/hunky-x86_64-pc-windows-msvc.zip
powershell -c "Expand-Archive hunky-x86_64-pc-windows-msvc.zip -DestinationPath ."
# Add hunky.exe to your PATH
powershell -c "New-Item -ItemType Directory -Force -Path $env:USERPROFILE/bin | Out-Null"
powershell -c "Move-Item -Path ./hunky.exe -Destination $env:USERPROFILE/bin/hunky.exe -Force"

All platforms and versions are on Releases.

# Clone the repository
git clone https://github.com/randymarsh77/hunky.git
cd hunky
# Build with Cargo
cargo build --release
# The binary will be at target/release/hunky
./target/release/hunky --help

Requires the Rust toolchain (cargo, rustc). Use nix develop for a pre-configured environment.