frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: difi – A Git diff TUI with Neovim integration (written in Go)

https://github.com/oug-t/difi
23•oug-t•2h ago

Comments

oug-t•2h ago
Personally speaking the git diff command is great for output, but can be improved for reviewing.

With difi the TUI made for git diff it allows to me speed up the review process and make it more enjoyable.

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.

difi: https://github.com/oug-t/difi difi.nvim: https://github.com/oug-t/difi.nvim

yearolinuxdsktp•1h ago
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.
oug-t•1h ago
Yes tig is awesome!

I am also trying to add integration for this TUI with nvim `diffview` and `codediff` support.

WorldMaker•36m ago
git itself also has the lesser known `git add --patch` (or `-p`), the interactive staging tool (not to be confused with `git add --interactive` or `-i`, which does add more interactive tools but has a much more complex TUI that doesn't start from diffs).
nesk_•1h ago
One recommendation to help this tool gain traction: use a black and white terminal for your terminal preview (GIF).

1. It will ease reading. It's currently terrible, you might be used to it but we aren't.

2. It will sharpen the text and make it easier to read since there's less to encode into the GIF format.

Additional recommendations: remove the useless part on the right—I use Arch BTW vibe—and make the font bigger.

oug-t•1h ago
Great advice!

I will update it now.

junkblocker•1h ago
"What is that, a gif for Ants?"

It's really hard to see what is going on in that small blurry demo gif. So please make it bigger in addition to parent's suggestions.

oug-t•59m ago
I am so sorry for that gif, just updated it!
freedomben•1h ago
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.

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.

The screenshot is a little rough, so a few tips for next time:

1. Shrink your terminal window down a bit as a huge view is harder to follow

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%

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.

Great work, and thanks for sharing!

oug-t•1h ago
Thank you for those great advice!

I will definitely refine my screenshot demo!

freedomben•6m ago
Awesome, looks fantastic! Thanks
oug-t•54m ago
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?

Now it mainly supports `nvim`.

jlarocco•12m ago
Sorry to be a wet blanket, but Magit for Emacs already has a convenient UI for reviewing diffs (as well as viewing status, logs, rebasing, etc.), so I don't know if I personally would use this tool from Emacs.

But it wouldn't hurt to have an option to make "e" to open files in Emacs or the user's choice of editor.

vhantz•38m ago
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.
oug-t•30m ago
Great advice, I will look into it!
oug-t•26m ago
I add it inside a new section `## Git Integration`, thank you!
xyzzy_plugh•10m ago
For vim heads also worth checking out tpope's fugitive:

https://github.com/tpope/vim-fugitive

Very useful for inspecting and staging changes, making commits, etc.

I find you can pretty much do anything with it, and it's much faster than anything else, but it does have a slight learning curve. The documentation is very good!

Agent Skills

https://agentskills.io/home
149•mooreds•2h ago•117 comments

Qwen3-Coder-Next

https://qwen.ai/blog?id=qwen3-coder-next
54•danielhanchen•27m ago•12 comments

New York Wants to Ctrl+Alt+Delete Your 3D Printer

https://blog.adafruit.com/2026/02/03/new-york-wants-to-ctrlaltdelete-your-3d-printer/
37•ptorrone•37m ago•13 comments

What's up with all those equals signs anyway?

https://lars.ingebrigtsen.no/2026/02/02/whats-up-with-all-those-equals-signs-anyway/
390•todsacerdoti•6h ago•116 comments

GitHub Browser Plugin for AI Contribution Blame in Pull Requests

https://blog.rbby.dev/posts/github-ai-contribution-blame-for-pull-requests/
22•rbbydotdev•1h ago•19 comments

Heritability of intrinsic human life span is about 50%

https://www.science.org/doi/10.1126/science.adz1187
45•XzetaU8•2d ago•25 comments

Launch HN: Modelence (YC S25) – App Builder with TypeScript / MongoDB Framework

5•eduardpi•26m ago•0 comments

Bunny Database

https://bunny.net/blog/meet-bunny-database-the-sql-service-that-just-works/
80•dabinat•4h ago•29 comments

Show HN: difi – A Git diff TUI with Neovim integration (written in Go)

https://github.com/oug-t/difi
24•oug-t•2h ago•18 comments

Ask HN: Is there anyone here who still uses slide rules?

70•blenderob•2h ago•79 comments

Floppinux – An Embedded Linux on a Single Floppy, 2025 Edition

https://krzysztofjankowski.com/floppinux/floppinux-2025.html
205•GalaxySnail•11h ago•131 comments

Show HN: Sandboxing untrusted code using WebAssembly

https://github.com/mavdol/capsule
18•mavdol04•2h ago•6 comments

The Everdeck: A Universal Card System (2019)

https://thewrongtools.wordpress.com/2019/10/10/the-everdeck/
11•surprisetalk•6d ago•2 comments

Show HN: Safe-now.live – Ultra-light emergency info site (<10KB)

https://safe-now.live
115•tinuviel•7h ago•47 comments

Emerge Career (YC S22) is hiring a product designer

https://www.ycombinator.com/companies/emerge-career/jobs/omqT34S-founding-product-designer
1•gabesaruhashi•4h ago

Anthropic is Down

https://updog.ai/status/anthropic
89•ersiees•41m ago•75 comments

Banning lead in gas worked. The proof is in our hair

https://attheu.utah.edu/health-medicine/banning-lead-in-gas-worked-the-proof-is-in-our-hair/
210•geox•14h ago•127 comments

Data Brokers Can Fuel Violence Against Public Servants

https://www.wired.com/story/how-data-brokers-can-fuel-violence-against-public-servants/
21•achristmascarl•1h ago•4 comments

The Codex App

https://openai.com/index/introducing-the-codex-app/
755•meetpateltech•22h ago•566 comments

Anki ownership transferred to AnkiHub

https://forums.ankiweb.net/t/ankis-growing-up/68610
500•trms•19h ago•196 comments

Show HN: Inverting Agent Model (App as Clients, Chat as Server and Reflection)

https://github.com/RAIL-Suite/RAIL
14•ddddazed•2h ago•2 comments

Todd C. Miller – Sudo maintainer for over 30 years

https://www.millert.dev/
554•wodniok•23h ago•285 comments

A WhatsApp bug lets malicious media files spread through group chats

https://www.malwarebytes.com/blog/news/2026/01/a-whatsapp-bug-lets-malicious-media-files-spread-t...
17•iamnothere•1h ago•1 comments

Archive.today is directing a DDoS attack against my blog?

https://gyrovague.com/2026/02/01/archive-today-is-directing-a-ddos-attack-against-my-blog/
275•gyrovague-com•2d ago•117 comments

How does misalignment scale with model intelligence and task complexity?

https://alignment.anthropic.com/2026/hot-mess-of-ai/
224•salkahfi•16h ago•70 comments

See how many words you have written in Hacker News comments

https://serjaimelannister.github.io/hn-words/
115•Imustaskforhelp•3d ago•188 comments

GitHub experience various partial-outages/degradations

https://www.githubstatus.com?todayis=2026-02-02
244•bhouston•19h ago•95 comments

LNAI – Define AI coding tool configs once, sync to Claude, Cursor, Codex, etc.

https://github.com/KrystianJonca/lnai
54•iamkrystian17•7h ago•24 comments

Ask HN: Who is hiring? (February 2026)

295•whoishiring•1d ago•376 comments

xAI joins SpaceX

https://www.spacex.com/updates#xai-joins-spacex
832•g-mork•18h ago•1848 comments