← Back to Leaderboard
Rumputun

umputun/revdiff

Go terminal UI for inline diff and plan review in coding-agent sessions

Engineering Health (Methodology)
A+ · 91/100
Maintenance Activity
● Updated 2d ago
Latest Release
v1.15.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption16/25
Release Cadence20/20
License Clarity20/20
CLI
Total Stars
★ 977
24h Growth
+2
7d Growth
+5
Forks
112

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

umputun/revdiff Star History (2026-03-31 - 2026-12-03) ALL-TIME STAR HISTORY (2026-03 – 2026-12) +976 in 247d · avg +4/day 1k 516 0 2026-03-31: ★ 12026-04-18: ★ 3072026-05-09: ★ 4082026-05-30: ★ 5102026-06-20: ★ 5922026-07-11: ★ 6652026-08-01: ★ 7212026-08-22: ★ 7972026-09-12: ★ 8532026-10-03: ★ 9062026-10-24: ★ 9292026-11-08: ★ 9432026-11-23: ★ 9662026-12-03: ★ 977 ★ 977 2026-03 2026-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

revdiff is a Go CLI with a terminal UI, built from app/revdiff. Its manifest declares Go 1.26.0 and uses Bubble Tea, Bubbles, and Lip Gloss for the interface, Chroma v2 for syntax highlighting, and go-flags for CLI parsing. For repository review it delegates diff generation to local git, hg, or jj executables. The core boundary is process I/O: open a review, collect inline annotations, and emit structured feedback to stdout on exit.

The agent integrations wrap that same reviewer rather than replace it. Claude Code and Codex launch it in a terminal overlay or separate pane and return the captured annotations to the session. Pi's revdiff_review suspends Pi and hands the terminal to the CLI; its package lists @earendil-works/pi-coding-agent and typebox. OpenCode provides separate v1 and v2 integration paths. The review loop is a CLI-and-plugin design, not a dependency on an MCP server or a specific model family.

Key Capabilities & Differentiators

The reviewer handles repository diffs, standalone files, and documents. It offers full-file context, optional word-level highlighting for paired removed and added lines, and a collapsed view of the final text with change markers. Git and Jujutsu renames retain their source path in the header so a rename need not appear as a wholesale deletion and addition; Jujutsu copies get a separate C marker. Wrapping, page overlap, and the unreviewed-file filter help with larger reviews, though page overlap is approximate on wrapped or annotated lines.

Agent integrations turn inline notes into either questions or change requests. In Claude Code and Codex, a note containing ?? is treated as a question; the explanation can reopen as a Markdown document for follow-up annotations. Pi and OpenCode answer those questions in chat. The separate planning plugin adds a checkpoint before implementation. In Codex, its automatic hook is opt-in and looks for a complete plan in Plan mode; when comments produce a revision, it can show a rolling comparison against the previous reviewed snapshot.

Trade-offs & Limitations

A native VCS diff or pager is simpler for read-only inspection. revdiff earns its place when reviewers want to attach a question or edit request to a line and put that comment directly back into the agent session. Compared with GitHub or GitLab pull-request review, this keeps iteration local to the terminal, but does not replace shared discussion history, approvals, or merge policy. Teams can use it before a PR without moving their review record out of the hosting platform.

The main integration cost is terminal compatibility. Claude Code's interactive flow needs a supported overlay or split mechanism such as tmux, Zellij, kitty, or WezTerm. Multiple installed hooks can also duplicate work: Claude Code's planning plugin and the cc-thingz planning hook can both open the same plan. The launchers for Claude diff review and cross-runtime plan review intentionally omit project-level executable overrides, a sensible constraint for hooks that can run in arbitrary repositories. Local rendering does not, by itself, keep annotations local once they are handed to an agent.

Hardware & Deployment Guide

Install via Homebrew, AUR, a release .deb or .rpm, or a Linux/macOS archive for amd64 or arm64. For a Go-based install, use go install github.com/umputun/revdiff/app/revdiff@latest and ensure the binary directory is on PATH. Repository diff generation needs the corresponding local VCS tool; --only and --stdin do not. Use Jujutsu 0.27 or newer for the documented workflow; versions 0.23–0.26 lack the annotate template needed for the blame gutter.

The standalone reviewer runs locally without a service or model endpoint. Set persistent defaults in the INI file at ~/.config/revdiff/config; CLI flags and environment variables override it. Install agent integrations separately, and for automatic Codex plan review, start a new session and trust the hook through /hooks. Release v1.14.0 added cross-file cursor movement and an unreviewed-file startup filter. v1.15.0 added runtime mouse toggling and fixed a blame command security issue affecting Mercurial, with related hardening for Jujutsu. Prefer v1.15.0 or a later release containing the fix.

Local interface: Bubble Tea, Bubbles, and Lip Gloss support the Go TUI; Chroma v2 provides syntax highlighting.
VCS input: Git, Mercurial, and Jujutsu can generate diffs; --only and --stdin also work without those executables.
Diff rendering: Full-file context, optional word-level highlighting, collapsed final-text view, and rename-aware rendering for Git and Jujutsu.
Feedback contract: Structured annotations go to stdout; configurable exit code 10 distinguishes successful reviews with comments.
Agent integrations: Claude Code and Codex use terminal overlays, Pi hands over the terminal directly, and OpenCode has version-specific integrations.
Plan review: A separate plugin adds automatic review in Claude Code and opt-in automatic review in Codex; /revdiff-plan is the manual Codex path.
Best For

Developers who want to review agent-generated diffs or plans in the terminal and pass line-specific questions and edits back to the same session.

Skip If

You only need read-only diff browsing, your agent setup cannot hand off an interactive terminal, or your main requirement is team-wide review history and enforced approvals.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLI
brew install umputun/apps/revdiff

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
revdiff ★977+5GoMITGo terminal UI for inline diff and plan review in coding-agent sessions
caveman124.8k+1.4kGoApache-2.0Coding-agent skill and local Go proxy for shorter replies and smaller tool outpu
ECC316.1k+4.2kJavaScriptMITPlugins and CLI workflows for planning, reviewing, and verifying agent-written c
ponytail204.4k+4.1kJavaScriptMITA prompt-driven coding-agent plugin for smaller changes and focused tests.

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/umputun/revdiff.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

umputun/revdiff Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about revdiff

How should a custom agent wrapper capture review feedback?

The Go CLI writes structured, line-level annotations to stdout on exit. The bundled Claude Code launcher accepts exit code 10 as a successful result with annotations. For a custom wrapper, preserve stdout for the annotations and, if exit-code-on-annotations is enabled, handle 10 separately from launcher failures. The overlay is an integration detail, not a requirement for standalone use.

Does revdiff need a GPU, VRAM, or a model server?

No GPU or model server is required by the CLI. It renders in a local terminal and calls the relevant VCS executable for repository diffs. Size and test the tool with representative large diffs, especially with syntax highlighting and word diff enabled. Any inference resources and API usage belong to the agent you connect, not the reviewer itself.

Can a company deploy and redistribute revdiff internally?

Yes. The repository uses the MIT license, which permits commercial use and redistribution subject to preserving the required copyright and license notices. There is no revdiff server to host for standalone use. If you connect an agent, assess its terms and data-handling rules separately: annotations may include source excerpts or sensitive review context.

When is revdiff preferable to a diff pager or a pull-request review?

Use a VCS diff viewer or pager if you only need to inspect changes. Use revdiff when you need to attach feedback to specific lines and pass it back to a terminal agent. Keep GitHub or GitLab review in the workflow when you need shared comment history and merge approvals; local annotation output is not a substitute for those controls.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining umputun/revdiff? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature umputun/revdiff on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare