@geekbb: A diff tool that the author boldly calls "the best diff viewer ever". If you often read code changes or review patches, its goal is to make diff results more intuitive and visually appealing. https://github.com/rockorager/comview…

X AI KOLs Timeline Tools

Summary

Introduces a terminal diff tool called comview, which the author claims is "the best diff viewer ever". It supports reading unified diff from stdin and renders it beautifully, suitable for code review.

A diff tool that the author boldly calls "the best diff viewer ever". If you often read code changes or review patches, its goal is to make diff results more intuitive and visually appealing. https://t.co/prBCpnYOT4 https://t.co/VLvOLfPh9I
Original Article
View Cached Full Text

Cached at: 05/20/26, 06:27 AM

A diff viewing tool—the author even boldly calls it “the finest diff viewer ever.” If you frequently read code changes or review patches, its goal is to make diff output more intuitive and visually appealing. https://t.co/prBCpnYOT4 https://t.co/VLvOLfPh9I — # rockorager/comview Source: https://github.com/rockorager/comview # comview The finest diff viewer ever compressed into a small terminal program. It reads a unified diff from stdin, renders it beautifully, and lets you review code without becoming a web browser. comview screenshot ## Install sh git clone https://github.com/rockorager/comview.git cd comview make install To install somewhere else: sh make PREFIX=$HOME/.local install ## Usage sh git diff | comview git show | comview gh pr diff 123 | comview comview watch comview watch --staged comview watch -- git show HEAD comview watch reruns git diff and refreshes the view whenever the diff output changes. Arguments after watch are passed to git diff; use -- to watch another diff-producing command. Comments are saved to .comview/comments.json. ## Keybinds | Key | Action | | — | — | | j/k, arrows | Move | | h/l | Move horizontally | | gg / G | Top / bottom | | Ctrl-d / Ctrl-u | Half-page down / up | | J / K | Next / previous commit | | ]c / [c | Next / previous change | | ]n / [n | Next / previous note | | s | Toggle side-by-side view | | t | Choose theme | | e | Find file in diff | | / | Search | | n / N | Next / previous search result | | o | Open cursor location in editor | | v / V | Visual / visual-line selection | | iw, aw, i{, a", etc. | Text objects, naturally flawless | | y | Copy selection | | i or I | Add/edit comment | | x / dd | Delete note under cursor | | :w | Save comments | | :q / :q! | Quit / force quit | | ? | Show this help | | Esc | Cancel | That is all. It is enough.

Similar Articles

On Rendering Diffs

Hacker News Top

A blog post announcing CodeView, a virtualization-first React component for efficiently rendering large code diffs, part of the Diffs library released six months ago.

@laogui: After a few days of use, I can say without exaggeration: Rebased is the best Git GUI client available. Those who have used JetBrains IDEs know that its Git experience is excellent—especially the Diff functionality. But in recent years, JetBrains has been stagnant in AI…

X AI KOLs Timeline

Rebased is an open-source Git GUI client built on the JetBrains IntelliJ Community Edition. It removes all language-related features, retaining and optimizing only the Git tools, delivering top-tier Diff, Review, interactive Rebase, and conflict resolution experiences. Free to use with zero learning cost.