🍺 BREW Explorer

← all formulae

difi

brew install difi v0.2.6 MIT

Pixel-perfect terminal diff viewer

48
30-day installs · #4746
369
90-day · #3254
786
365-day · #4227
350
★ GitHub stars · updated 3mo ago

Build dependencies

go

GitHub topics

bubbletea git

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "go"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Pixel-perfect terminal diff viewer",
  "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": "difi",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-05-09T03:47:47Z",
  "github_readme_excerpt": "\u003cp align=\"center\"\u003e\r\n  \u003cimg src=\"assets/wordmark.svg\" alt=\"difi logo\" width=\"300\"\u003e\r\n\u003c/p\u003e\r\n\r\n\u003cp align=\"center\"\u003e\r\n  \u003cb\u003eReview and refine Git diffs before you push.\u003c/b\u003e\r\n\u003c/p\u003e\r\n\r\n\u003cp align=\"center\"\u003e\r\n  \u003ca href=\"https://difi.vercel.app/\"\u003e\r\n    \u003cimg src=\"https://img.shields.io/badge/Website-difi.vercel.app-D0DFEE?style=for-the-badge\u0026logo=vercel\u0026logoColor=black\" alt=\"Website\" /\u003e\r\n  \u003c/a\u003e\r\n  \u003cimg src=\"https://img.shields.io/badge/Go-00ADD8?style=for-the-badge\u0026logo=go\u0026logoColor=white\" /\u003e\r\n  \u003cimg src=\"https://img.shields.io/badge/Bubble_Tea-E2386F?style=for-the-badge\u0026logo=tea\u0026logoColor=white\" /\u003e\r\n  \u003cimg src=\"https://img.shields.io/github/license/xguot/difi?style=for-the-badge\u0026color=2e3440\" /\u003e\r\n\u003c/p\u003e\r\n\r\n\u003cp align=\"center\"\u003e\r\n    \u003cimg src=\"assets/demo.gif\" alt=\"difi demo\" /\u003e\r\n\u003c/p\u003e\r\n\r\n\r\n## Installation\r\n\r\n#### Homebrew (macOS \u0026 Linux)\r\n\r\n```bash\r\nbrew install difi\r\n```\r\n\r\n#### Go Install\r\n\r\n```bash\r\ngo install github.com/xguot/difi/cmd/difi@latest\r\n```\r\n\r\n#### AUR (Arch Linux)\r\n\r\n**Binary (pre-built):**\r\n\r\n```bash\r\npikaur -S difi-bin\r\n```\r\n\r\n**Build from source:**\r\n\r\n```bash\r\npikaur -S difi\r\n```\r\n\r\n#### Manual (Linux / Windows)\r\n\r\n- Download the binary from Releases and add it to your `$PATH`.\r\n\r\n## Workflow\r\n\r\nRun difi in any Git repository against main:\r\n\r\n```bash\r\ncd my-project\r\ndifi\r\n```\r\n\r\nTo compare against a specific branch or commit, just pass it as an argument:\r\n\r\n```bash\r\n# Compare against the main branch\r\ndifi main\r\n\r\n# Compare against the previous commit\r\ndifi HEAD~1\r\n```\r\n\r\n## Piping \u0026 Alternative VCS\r\n\r\nYou can also pass raw diffs directly into `difi` via standard input. This is perfect for patch files or other version control systems like Jujutsu:\r\n\r\n```bash\r\n# Review a saved patch file\r\ndifi \u003c changes.patch\r\n\r\n# Review changes in Jujutsu (jj)\r\njj diff --git | difi\r\n\r\n# Pipe standard git diff output\r\ngit diff | difi\r\n```\r\n\r\n## Controls\r\n\r\n| Key           | Action                                       |\r\n| ------------- | -------------------------------------------- |\r\n|",
  "github_repo": "oug-t/difi",
  "github_stars": 350,
  "github_topics": [
    "bubbletea",
    "git"
  ],
  "homepage": "https://github.com/oug-t/difi",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 48,
  "installs_365d": 786,
  "installs_90d": 369,
  "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": "difi",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 4746,
  "rank_365d": 4227,
  "rank_90d": 3254,
  "raw_hash": "5a253a02c2ad48a4",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/d/difi.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "0.2.6",
  "versioned_formulae": [],
  "why_use_this": null
}