ghdiff

Generator of Github-style HTML for unified diffs

Install

All systems
curl cmd.cat/ghdiff.sh
Debian Debian
apt-get install python3-ghdiff
Ubuntu
apt-get install python3-ghdiff
image/svg+xml Kali Linux
apt-get install python3-ghdiff
Windows (WSL2)
sudo apt-get update sudo apt-get install python3-ghdiff

python3-ghdiff

Generator of Github-style HTML for unified diffs

ghdiff is a simple Python module that can generate unified diffs and display them in HTML, optionally including CSS.