🍺 BREW Explorer

← all formulae

diffr

brew install diffr v0.1.5 MIT

LCS based diff highlighting tool to ease code review from your terminal

18
30-day installs · #7140
51
90-day · #7269
269
365-day · #6609
616
★ GitHub stars · updated 7mo ago

Build dependencies

GitHub topics

code-review console diff git

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "rust"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "LCS based diff highlighting tool to ease code review from your terminal",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:36:57+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "diffr",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-01-08T02:34:41Z",
  "github_readme_excerpt": "## diffr\n\nReviewing changes involves reading diffs.  Sometimes, a line-oriented\npresentation of changes is not precise enough, especially when changes\ninvolve long lines or very similar consecutive lines.\n\nThis program processes such diffs, and outputs them (in the console)\nwith additional diff information on top of the unified diff format,\nusing text attributes.\n\nIt works hunk by hunk, recomputing the diff on a word-by-word basis.\n\nThe current implementation uses \n[Myers\u0027 longest common subsequence](http://www.xmailserver.org/diff2.pdf) \nalgorithm.\n\n[![crates.io](https://img.shields.io/crates/v/diffr.svg)](https://crates.io/crates/diffr)\n[![crates.io](https://img.shields.io/crates/d/diffr.svg)](https://crates.io/crates/diffr)\n[![Build Status](https://dev.azure.com/nathanmoreau/diffr/_apis/build/status/mookid.diffr?branchName=master)](https://dev.azure.com/nathanmoreau/diffr/_build/latest?definitionId=4\u0026branchName=master)\n\n![Demo](screenshots/example_simple_mac.png)\n![Demo](screenshots/example_nonconsecutive.png)\n![Demo](screenshots/example_cross_lines_common_tokens.png)\n\n### Installation\n\n#### Arch Linux\n\nInstall from the [AUR](https://aur.archlinux.org/packages/diffr/):\n\n```\ngit clone https://aur.archlinux.org/diffr.git\ncd diffr\nmakepkg -si\n```\n\n#### Homebrew\n\n```\nbrew install diffr\n```\n\n#### From source\n\nYou will need the [Rust compiler installed](https://www.rust-lang.org/tools/install).\n\nTo install the latest published version:\n\n```\ncargo install diffr\n```\n\nAlternatively, you can build the development version:\n\n```\ngit clone https://github.com/mookid/diffr.git\ncd diffr\ncargo install --path .\n```\n\n### How to use it?\n\ndiffr tries to be a well behaved Unix program: it reads its input from stdin\nand writes to stdout.\n\n#### One-off usage\n\n```\ngit show HEAD | diffr\n```\n\n#### Integration with git\n\nAdd the following section to your `.gitconfig` file:\n\n```\n[core]\n    pager = diffr | less -R\n[interactive]\n    diffFilter = diffr\n```\n\nAlternatively, you can run from the co",
  "github_repo": "mookid/diffr",
  "github_stars": 616,
  "github_topics": [
    "code-review",
    "console",
    "diff",
    "git"
  ],
  "homepage": "https://github.com/mookid/diffr",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 18,
  "installs_365d": 269,
  "installs_90d": 51,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "diffr",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 7140,
  "rank_365d": 6609,
  "rank_90d": 7269,
  "raw_hash": "2811043b82f26576",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/d/diffr.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "0.1.5",
  "versioned_formulae": [],
  "why_use_this": null
}