Show HN: Codiff, a local diff review tool

Hacker News Top Tools

Summary

Codiff is a minimal, local diff viewer for reviewing staged and unstaged Git changes, with LLM-powered walkthroughs and inline review comments.

Nowadays I review a lot of code locally that was written by llms. I used to review my own code using git + delta. It started to feel limiting with the amount of code written by llms.<p>When looking at a large diff on Friday I pointed an llm at diffs.com and trees.software and told it to build an app. It only took 16 minutes, is extremely fast for large diffs, beautiful and minimal.<p>Today I polished it up and added all the features that I need. It has file filters, search, an llm walkthrough mode, and review comments that you can paste back into your llm.<p>I will be using Codiff a lot, and can finally review the large diff from Friday that led me to build this If you like it, fork it!
Original Article
View Cached Full Text

Cached at: 05/17/26, 06:45 AM

nkzw-tech/codiff

Source: https://github.com/nkzw-tech/codiff

Codiff

Codiff is a beautiful, minimal, local diff viewer for reviewing staged and unstaged Git changes before committing.

Why Codiff

  • Fast Local Reviews: See changes in any Git repository to review code before committing.
  • LLM Walkthroughs: Run codiff -w to ask Codex to give your a review order and more context.
  • Inline Review Comments: Comment directly on changed lines and copy all review comments as Markdown for follow-ups.

Download

Download the latest Codiff app from GitHub Releases.

After installing the app, run Codiff > Install Terminal Helper to make the codiff command available in your shell.

Command Line

codiff

Run it from any Git repository, or pass a path:

codiff /path/to/repository

Start with an LLM-generated walkthrough order:

codiff -w

Launching Codiff in multiple repositories opens a separate native window for each repository.

Development

vp install
vp build
vpr codiff

For live development:

vpr dev
ELECTRON_RENDERER_URL=http://127.0.0.1:5173 vpr electron

Useful checks:

vp check
vp test
vp build

Similar Articles