macOS
brew install difilocal Homebrew formula metadata
安装
brew install difilocal Homebrew formula metadata
概览
Pixel-perfect terminal diff viewer
历史
difi is a Go terminal user interface for reviewing and refining Git diffs before pushing changes. Its official README frames it as a focused diff-review tool that can run inside a Git repository or consume raw patch data through standard input.
The public GitHub repository was created in January 2026 and quickly centered on a single CLI workflow: inspect a branch, commit, or patch, navigate the file tree and diff view, and open files in an editor from the terminal. The project is distributed through Homebrew, Go install, AUR packages, and GitHub release binaries.
Official project metadata shows early adoption inside the Git-and-terminal-tool niche rather than a long historical footprint. Its package-manager relevance comes from offering Homebrew installation for macOS and Linux alongside Go and Arch paths, making it easy to try without a custom build.
Typical use is to run `difi` in a Git repository, pass a target such as `main` or `HEAD~1`, or pipe a generated diff into the command. The README also documents Jujutsu and vim-fugitive-oriented workflows, which positions it among developer tools that sit between raw `git diff` and full code-review platforms.
For package-history purposes, difi is notable as a modern Bubble Tea style terminal UI packaged early for Homebrew. It is a small example of the current wave of single-purpose Go CLIs that treat terminal interactivity, editor integration, and package-manager distribution as first-class ergonomics.
安全态势
没有找到 difi 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
difi | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:difi |
|---|---|
| 版本 | 0.2.31 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/difi |
| 主页 | https://github.com/xguot/difi |
| 仓库 | https://github.com/xguot/difi |
| 上游文档 | https://github.com/oug-t/difi#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/xguot/difi/archive/refs/tags/v0.2.31.tar.gz |
| 最后更新 | 2026-07-22T17:48:37Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | difi |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.