Wilfred/difftastic
a structural diff that understands syntax π₯π©
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
2 releases in the last 90 days, the latest 8 days ago, with 368 contributors on GitHub.
Peaked at #30 in the weekly ranking the week of Mar 22, its best in the past year.
Use Cases & Benefits
- Provides a structural diff tool that compares files based on their syntax using tree-sitter parsers.
- Delivers more accurate diffs by understanding code structure, nesting, and syntax rather than just text differences.
- Use for reviewing code changes in over 30 programming languages with syntax-aware highlighting.
- Use for analyzing merge conflicts by parsing conflict markers and showing differences between conflicting versions.
- Use for syntactic change detection without diffing to quickly check if two files have identical abstract syntax trees.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
MIT
Permissive: commercial use, modification and redistribution are allowed with attribution.
Community files
- README: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
Difftastic is a structural diff tool that compares files based on their syntax.
For installation instructions, see Installation in the manual.
(1) Difftastic understands nesting. It highlights the matching
{and}, but understands thatfoo()hasn't changed despite the leading whitespace.(2) Difftastic understands which lines should be aligned. It's aligned
bar(1)on the left withbar(2)on the right, even though the textual content isn't identical.(3) Difftastic understands that line-wrapping isn't meaningful.
"eric"is now on a new line, but it hasn't changed.This one minute screencast demonstrates difftastic usage with both standalone files and git.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
Forks
534+32
Open issues
285-4
Compared with peers in Backend
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| anthropics/skills | 192.3K | +5.2K | 75 | β |
| zed-industries/zed | 94.7K | +2.3K | 75 | 6 days ago |
| google/skills | 23.8K | +2.0K | 75 | β |
| NationalSecurityAgency/ghidra | 99.4K | +1.8K | 75 | 19 days ago |
| DuarteSantos8/openGym | 20.8K | +1.7K | 75 | 7 days ago |
| Wilfred/difftastic | 26.2K | β | 55 | 8 days ago |
| Category median | 94.7K | +2.0K | 75 | β |
Discover Repositories
Search across tracked repositories by name or description