How to build a `Git diff` driver
jvt.me89 points by zdw 10 hours ago
89 points by zdw 10 hours ago
Related: my favorite viewer is diff2html-cli which lets you see the diff in your browser:
You might also like webdiff, which does something similar https://github.com/danvk/webdiff (I built this years ago and still use it every day.)
my favorite online diff viewer so far is https://diffs.dev/, very straightforward. Diff2html looks cool too given it can work in terminal
Why not just use Araxis Merge or Beyond Compare?
Some alternatives to paid solutions:
WinMerge is excellent, open source, and while Windows-only, it runs well in Wine without needing any tweaks.
Kdiff is open source, cross-platform, and while I personally don’t love it, it supports 4-pane merge, which is quite ergonomic and rare.
Is there an OSS git diff for images and multimedia?
I recently implemented a diff driver as part of git-dogs. The integration part Claude one-shotted.
Mine is token based: https://replicated.wiki/blog/img/difflet.png
The set of git tools itself, very much in development: https://github.com/gritzko/git-dogs
[flagged]