HeadlinesBriefing HeadlinesBriefing.com

OmniDiff: Fast, Content-Aware Git Diff Tool in Rust

Hacker News •
×

OmniDiff is an open‑source, content‑aware Git diff tool written in Rust. It supports code in 25 languages, config, images, PDFs, archives, cursors, fonts and more, aiming for speed and accuracy.

The tool can diff large C++ files in under 100ms on a 2023 ThinkPad T14s. Built from analysis of 7400 Gentoo packages and 2000 manually solved diffs, it achieves 99.95% robustness for code changes and high accuracy across file types (e.g., 98% for code, 96% for pictures). Licensed under AGPLv3, it is maintained by ivankovic and already used daily as a git difftool.

Installation is straightforward: `cargo install --locked omnidiff` or via prebuilt binaries and package managers (Homebrew, apt, Nix, Arch, Gentoo). Editor integrations are in progress, with a VS Code extension and a Neovim plugin under development.

AI disclosure: the creator uses AI in development but does not vibecode. The project is at v0.3.0.

Source: Hacker News · Summarized by HeadlinesBriefing