Choose it for an actively maintained syntax-highlighted side-by-side terminal git diff pager.
Syntax highlighted side-by-side diffs in your terminal
- 2.7k
- TypeScript
- MIT
git diff readability / terminal diff formatting
diff-so-fancy is a command-line Perl utility that post-processes unified git diff output and reformats/colorizes it to make diffs more human-readable.
Same problem, same approach. Swapping one for another is a config change, not a rewrite.
Choose it for an actively maintained syntax-highlighted side-by-side terminal git diff pager.
Syntax highlighted side-by-side diffs in your terminal
Choose it for a fast, actively maintained syntax-highlighting git/diff pager with side-by-side support.
A syntax-highlighting pager for git, diff, grep, rg --json, and blame output
Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.
Choose it when you want side-by-side terminal diffs computed directly from files instead of a pager reformatter.
improved colored diff
Choose it when you need unified diffs rendered as HTML in a web UI rather than ANSI terminal output.
Pretty diff to html javascript library (diff2html)
Choose it when you want syntax-tree-aware structural diffs rather than line-level cosmetic formatting.
a structural diff that understands syntax ๐ฅ๐ฉ
Choose it when you want tree-sitter AST-level semantic diffs instead of cosmetic text styling.
A tree-sitter based AST difftool to get meaningful semantic diffs
Choose it when you need an interactive, review-first terminal diff UI rather than a one-shot pager.
Review-first terminal diff viewer for agentic coders
Does the same job, but ships as an app. Useful to a person, not swappable into a codebase.
Choose it when working in Neovim and you want an interactive tabpage diff browser instead of a shell pager.
Single tabpage interface for easily cycling through diffs for all modified files for any git rev.
Choose it when building a React app and needing an embeddable diff viewer instead of a terminal pager.
A simple and beautiful text diff viewer component made with Diff and React.
Choose it when you want a GitHub-like local web review of git commits instead of terminal pager output.
A lightweight command-line tool that spins up a local web server to display Git commit diffs in a GitHub-like Files changed view
These projects were analysed and named diff-so-fancy among their alternatives. The relationship is not symmetric โ how diff-so-fancy rates them is a separate judgement, made when diff-so-fancy is analysed in its own right.
calls diff-so-fancy โUse for a mature, simple Perl-based diff prettifier when you don't need syntax highlighting or side-by-side.โ
A syntax-highlighting pager for git, diff, grep, rg --json, and blame output