a diff viewer from the terminal; for the web
Read any diff like a pull request.
Point diffweb at two files, two folders, or a list of pairs. It opens them in your browser — split or unified, syntax-highlighted, word-level marks, ten themes.
Install — macOS, Linux & Windows, no dependencies
$
curl -fsSL https://diffweb.pages.dev/install | bash
Point it at anything
Not just two git commits — a generated file against a handwritten one, a vendored copy against upstream, or a list of pairs that only makes sense to you.
Two files
$ diffweb old.js new.js
Two folders, matched by path
$ diffweb ./v1 ./v2
A JSON manifest of pairs
$ diffweb pairs.json