diff2html-cli
Create pretty HTML from diffs.
The tool reads unified diff or Git diff streams and produces formatted HTML representations. It supports both line‑by‑line and side‑by‑side layouts, displays old and new line numbers, and highlights inserted or removed sections with syntax coloring and GitHub‑style visual cues. Users can adjust the output style, color scheme, and enable features such as file‑content toggles, synchronized scrolling, and line‑matching algorithms for finer diff granularity.
It is delivered as a command‑line interface install via npm, allowing integration into terminal workflows or scripts that generate diff reports. Options let the user choose HTML or JSON output, customize the page title, supply a custom HTML wrapper template, and control thresholds for line matching and highlighting. The CLI also provides flags for limiting the size of diffs rendered and for toggling various visual elements.
The package targets developers who need to visualize code changes quickly without leaving the command line, especially when preparing review material or documentation. Its stable release is widely downloaded and runs on Node.js environments.
Reviews
Loading reviews…
Similar apps
Terminals & CLI
dyff
YAML diff tool.

Version Control & Git
gitmoji-cli
Use emoji in commit messages.

Version Control & Git
import-github-labels-cli
Sync labels between Github repos.

Version Control & Git
HTTPie
A user-friendly HTTP client.

Version Control & Git
gitmoji-changelog
Generate gitmoji changelogs.
Terminals & CLI
carbon-now-cli
Generate beautiful images of your code.