Revdiff
TUI diff reviewer with inline annotations for AI agents
Details
- External ID
- 47742437
- Source
- HN
- Company
- —
- Product
- Revdiff
- Website domain
- github.com
- Launched
- April 12, 2026
- Cohort
- —
- Upvotes
- 17
- Upvotes percentile
- 0.7262210796915167
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:26 p.m.
- Updated at
- Sept. 7, 2026, 9:26 p.m.
Description
I built a terminal diff viewer for a workflow I couldn't do comfortably with existing tools: reviewing AI-generated code changes without leaving the terminal session where the agent runs, annotating what needs to change, and feeding those annotations straight back to the agent. Plenty of diff viewers exist, and some can even feed notes back to an agent, but none of them fit that flow for me - they pulled me out of the terminal into a separate app, or the round-trip back to the agent was clunky.Revdiff is how I solved it. From a Claude Code session I type `/revdiff main` or just say "review diff for last 3 commits" - it opens as a terminal overlay on top of the agent session. I read the diff, drop annotations on any line, hunk, or file, then quit. The annotations go straight back to the agent, which picks them up and starts working on them. When the agent is done, revdiff reopens on the new changes so I can annotate again - and this loop continues until I quit without leaving any annotations.The same flow turned out to be useful for plans too. There's a separate `revdiff-planning` plugin that hooks into Claude Code's plan mode - the moment the agent finishes a plan and calls ExitPlanMode, revdiff opens automatically on the plan text. I annotate the parts I disagree with or want expanded, quit, and the agent revises the plan before writing any code.It's a two-pane TUI: file tree on the left, syntax-highlighted diff on the right. Vim-style navigation, /search, hunk jumping, word-level change highlighting, blame gutters, collapsed diff mode. Fully customizable - 7 bundled color themes, remappable keybindings, and per-color overrides via CLI flags, env vars, or config file. Works with git and Mercurial.It's a single binary - just `revdiff HEAD~3` to review your last 3 commits. Ready-to-use plugins are available for Claude Code (terminal overlay via tmux, Zellij, kitty, wezterm, Kaku, cmux, ghostty, iTerm2, or Emacs vterm - whichever you're in), Codex, and pi.Written in Go, open source (MIT). Install via brew: `brew install umputun/apps/revdiff`GitHub: https://github.com/umputun/revdiff Site: https://revdiff.comWould love to hear how others approach reviewing AI-generated diffs and PRs, any unusual use cases, and ideas for what to improve or add.
Enrichment
- Theme
- AI agent frameworks and developer tools
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- AI feature
- Project type
- Commercial product
- Normalized one-liner
- diff reviewer for ai agents
- Manually corrected
- False
Could you build this?
Yes Revdiff is a terminal user interface (TUI) tool using libraries like Bubble Tea or Ratatui to display git diffs, accept user comments, and output structured annotations for AI agents.
Discussion
4 comments analyzed.
Competitors mentioned: Claude Code, OpenCode
Competitors
Other products that read as similar to this one — 126 launches clear the similarity bar, closest 8 shown.
Attention rank: #43 of 127 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 164 days after the earliest competitor.
- Code Review Enviornment for the Modern Era · hn · 2026-07-06 · 5 upvotes · similarity 0.55
- Deff · hn · 2026-02-26 · 120 upvotes · similarity 0.50
- Ming — Review AI-Written Code · ph · 2026-09-27 · 1 upvotes · similarity 0.46
- Crit · hn · 2026-05-08 · 12 upvotes · similarity 0.45
- Claude Code for Visual Studio (native diff with accept/reject) · hn · 2026-06-15 · 20 upvotes · similarity 0.44
- Plannotator · hn · 2026-06-11 · 5 upvotes · similarity 0.44
- Lazyagent · hn · 2026-04-15 · 8 upvotes · similarity 0.43
- DiffPal · ph · 2026-09-11 · 4 upvotes · similarity 0.43
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.