so-fancy/diff-so-fancy

Make your diffs human readable for improved code quality and faster defect detection. :tada:

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 54 minutes ago
Added to GitGenius on September 3rd, 2026
Created on February 4th, 2016
Open Issues & Pull Requests: 5 (+0)
GitHub issues: Enabled
Number of forks: 348
Total Stargazers: 18,089 (+0)
Total Subscribers: 112 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 6.4 hours
Mean response time: 96.2 days
90th percentile: 380.6 days
Tracked items: 59

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 5% of issues opened in the past year have been closed. Three people close 88% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 2
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 114 days
Stale 30+ days: 1
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (5)
  • bug (4)
  • fanciness (1)
  • needs info (1)

Most active issues this week

Detailed Description

diff-so-fancy is a command-line tool that formats git diffs and unified diff output to be human-readable rather than machine-readable.

The tool addresses the challenge of quickly understanding code changes during review by reformatting diff output with improved visual clarity. It works by processing standard diff output and applying several formatting enhancements: it can colorize empty line blocks, simplify git header chunks to single-line format, strip leading plus and minus symbols, draw ruler lines using Unicode characters, and adjust ruler width to fit the terminal. These transformations make it easier to spot what actually changed without being distracted by the structural markers of the diff format itself.

Developers should adopt this tool if they spend significant time reviewing code diffs and want faster defect detection through clearer visual presentation. It suits any workflow where git diffs are piped through the tool or configured as git's default diff pager. The tool is straightforward to install via direct download, package managers, or npm, and integrates with git through simple configuration. It also works with the standard diff command when output is piped to it. The README does not compare this tool to alternatives.

Maintainers respond to issues and pull requests within a day. Work in the issue tracker centers on enhancement requests, bug reports, and fanciness improvements.