Oriel — AI & technology worth noticing, every day.

Show HN: OmniDiff – Opensource, super fast, content aware Git difftool, in Rust

Repository · https://github.com/ivankovic/omnidiff

First seen by Oriel on .

AI summary

OmniDiff is a Rust-based, content-aware diff tool for code and binary formats, combining structural, visual, and archive-aware comparisons with terminal, editor, Git, and Jujutsu integrations.

  • It parses 25 programming languages with tree-sitter and falls back to line-based text diffs for unknown or recognized-but-unsupported extensions.
  • Pictures, archives, fonts, cursors, message catalogs, and PDFs are compared by their contents, such as pixels, glyphs, members, messages, or pages.
  • Across 442,530 readable code-file pairs from approximately 7,500 repositories, 99.95% completed within a 120-second and 6 GB process limit.
  • The benchmark reports a 4.2ms median code diff, while archives and PDFs can exceed 100ms because many members or pages must be processed.
  • OmniDiff provides a TUI, batch text and JSON modes, VS Code and Neovim integrations, and configuration paths for Git and Jujutsu.

#diffing #tree-sitter #git #rust

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Hacker News: 308, latest observation ; +303 over observed period since

Comments

Comment count reported by the source.

  • Hacker News: 94, latest observation ; +86 over observed period since

Aliases

SourceExternal IDURL
Hacker News50325253https://github.com/ivankovic/omnidiff Read discussion