AltHub

so-fancy/diff-so-fancy Alternatives

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.

18.1kPerlMITactive ยท last push 1mo agoGitHub

Drop-in peers

Same problem, same approach. Swapping one for another is a config change, not a rewrite.

banga/git-split-diffsGitHub

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
active2mo ago
dandavison/deltaGitHub

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

32.3k
Rust
MIT
active22d ago

Same job, different approach

Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.

jeffkaufman/icdiffGitHub

Choose it when you want side-by-side terminal diffs computed directly from files instead of a pager reformatter.

improved colored diff

4.4k
Python
NOASSERTION
slowing8mo ago
rtfpessoa/diff2htmlGitHub

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)

3.4k
TypeScript
MIT
active5mo ago
Wilfred/difftasticGitHub

Choose it when you want syntax-tree-aware structural diffs rather than line-level cosmetic formatting.

a structural diff that understands syntax ๐ŸŸฅ๐ŸŸฉ

25.8k
Rust
MIT
active2mo ago
afnanenayet/diffsitterGitHub

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

2.4k
Rust
MIT
active1mo ago
modem-dev/hunkGitHub

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

9.3k
TypeScript
MIT
active21d ago

End-user tools

Does the same job, but ships as an app. Useful to a person, not swappable into a codebase.

sindrets/diffview.nvimGitHub

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.

5.8k
Lua
NOASSERTION
dormant2.2y ago
praneshr/react-diff-viewerGitHub

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.

1.7k
TypeScript
MIT
dormant2.5y ago
yoshiko-pg/difitGitHub

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

3.1k
TypeScript
MIT
active1mo ago

Listed as an alternative to

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.

dandavison/deltaGitHub

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

32.3kRustactive