@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…
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.
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
@sashimikun_void: https://github.com/nkzw-tech/codiff… Cool code diff viewer btw...
Codiff is a beautiful, local diff viewer for Git repositories with LLM-powered walkthroughs and inline review comments, designed to streamline code review before committing.
Show HN: Codiff, a local diff review tool
Codiff is a minimal, local diff viewer for reviewing staged and unstaged Git changes, with LLM-powered walkthroughs and inline review comments.
On Rendering Diffs
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…
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.
@cnakazawa: Codiff 0.1 is out * Fast Local Code Reviews * Optional LLM Walkthroughs * Inline Review Comments This is the best compa…
Codiff 0.1 is a minimal, local diff viewer for Git changes with optional LLM walkthroughs and inline review comments, designed for reviewing code from AI coding agents.