News ·
Show HN: OmniDiff – Opensource, super fast, content aware Git difftool, in Rust
OmniDiff, an open-source content-aware Git difftool written in Rust, was released on Hacker News. It diffs code in 26 languages plus images, fonts, PDFs, and archives, with most diffs under 100 milliseconds.
OmniDiff is a new open-source, content-aware diff tool written in Rust, shared as a Show HN post. It handles code in 26 languages as well as images, fonts, PDFs, archives, and other formats. Most diffs complete in under 100 milliseconds on a 2023 ThinkPad T14s. Files it has no grammar for fall back to plain line-by-line text diffing, so nothing is refused.
The tool runs as an interactive viewer (omnidiff BEFORE AFTER, or --review to pick from unstaged, staged, or recent commits), a headless plain-text mode for scripts and CI, a JSON mode described by a JSON Schema for editor integrations, and a browser-based viewer showing real diffs side by side. It integrates with git (as difftool, and optionally git diff and git log -p), jj, and lazygit. Installation is via Homebrew, a signed apt repository for Debian/Ubuntu, a prebuilt binary under ~/.local without root, cargo install, or a Nix flake, with VS Code and Neovim extensions available.
Development uses substantial AI assistance via Claude Code, with commits disclosing it through a Co-Authored-By trailer linking to the producing session. It is licensed AGPLv3, with a commercial subscription available via GitHub Sponsors for organisations wanting to avoid source-disclosure obligations. Contributions are currently not accepted. For developers, it matters as a fast drop-in diff renderer across editors and git workflows, and as a candid example of AI-assisted development with per-commit disclosure.
References
- Hacker News · github.com
Read the full story at Hacker News ↗Like, save or discuss on Buzz


