Show HN: difi – A Git diff TUI with Neovim integration (written in Go)
by oug-t on 2/3/2026, 1:47:24 PM
Comments
by: nesk_
One recommendation to help this tool gain traction: use a black and white terminal for your terminal preview (GIF).<p>1. It will ease reading. It's currently terrible, you might be used to it but we aren't.<p>2. It will sharpen the text and make it easier to read since there's less to encode into the GIF format.<p>Additional recommendations: remove the useless part on the right—I use Arch BTW vibe—and make the font bigger.
2/3/2026, 2:57:57 PM
by: freedomben
Looks like a neat tool, and one I really need! I actually started building my own because I couldn't find anything satisfying. My build is currently in the very early stages and I'd love to abandon it :-) I'm definitely going to try difi out.<p>Also kudos for putting up a screenshot. I've looked through a lot of projects claiming to do similar to this, but there are so many different interpretations that can make it not a good fit for me, and when there aren't any screenshots the barrier of seeing it in action is often too high to where I only try one or two before I give up and stop wasting time. Having a screenshot made it so I could check it out quickly.<p>The screenshot <i>is</i> a little rough, so a few tips for next time:<p>1. Shrink your terminal window down a bit as a huge view is harder to follow<p>2. Keep the screenshots at full resolution so they are easier to read. The reduced resolution and the original screen being huge makes the text pretty difficult to read, even zoomed in to 200%<p>3. Use something like screenkey (or throw some subtitle text up or something) so the viewer knows what keys you are pressing and/or what you're trying do. It's pretty hard to follow along without those cues.<p>Great work, and thanks for sharing!
2/3/2026, 3:20:55 PM
by: vhantz
In the readme there are only commands explicitly running the tool. Can it be set as the diff tool for git? If not, you should look into that. It will help adoption. And if yes, you should make it clear in the docs.
2/3/2026, 3:51:25 PM
by: oug-t
Curious to hear thoughts on editor support, do you guys feel specific integrations (Emacs/Vim) are necessary for tool like this, or the TUI work flow is enough?<p>Now it mainly supports `nvim`.
2/3/2026, 3:35:23 PM
by: oug-t
Personally speaking the git diff command is great for output, but can be improved for reviewing.<p>With difi the TUI made for git diff it allows to me speed up the review process and make it more enjoyable.<p>For the nvim integration, there already exists diffview and code diff, but I still favors the github website's solution of highlighting + and - inside one file rather then side by side.<p>difi: <a href="https://github.com/oug-t/difi" rel="nofollow">https://github.com/oug-t/difi</a> difi.nvim: <a href="https://github.com/oug-t/difi.nvim" rel="nofollow">https://github.com/oug-t/difi.nvim</a>
2/3/2026, 1:49:21 PM
by: yearolinuxdsktp
Reminds me of `tig`, which is a TUI with a continuous diff (not side by side) viewer… you can revert chunks inline. Has tree view, diff view and blame view.
2/3/2026, 2:45:52 PM