macOS
brew install diffrlocal Homebrew formula metadata
sudo port install diffrMacPorts ports tree · textproc/diffr/Portfile · 来源: api.github.com
安装
brew install diffrlocal Homebrew formula metadata
sudo port install diffrMacPorts ports tree · textproc/diffr/Portfile · 来源: api.github.com
nix profile install nixpkgs#diffrnixpkgs package indexes · pkgs/by-name/di/diffr/package.nix · 来源: api.github.com
概览
LCS based diff highlighting tool to ease code review from your terminal
历史
diffr is a terminal filter that refines unified diffs with word-level highlighting, making code review easier when ordinary line-oriented output is too coarse.
The changelog records the initial 0.1.0 release on 2019-07-01. Early releases added color customization, split reusable logic into `diffr-lib`, optimized LCS post-processing, and added line-number display.
The official README documents installation through Homebrew, Arch AUR, Cargo, and direct source builds. It also shows diffr configured as a Git pager and interactive diff filter, which is the main adoption path for daily review use.
diffr reads unified diff input on stdin and writes enhanced output on stdout. The README shows `git show HEAD | diffr` for one-off use and `.gitconfig` settings that route Git paging and interactive diffs through diffr.
diffr matters to package and source maintainers because it stays in the Unix-filter tradition: no repository database, no review server, just a small CLI that improves the diffs developers already pipe around.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
diffr | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/mookid/diffr
安装元数据
| 软件包键 | brew:diffr |
|---|---|
| 版本 | 0.1.5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/diffr |
| 主页 | https://github.com/mookid/diffr |
| 仓库 | https://github.com/mookid/diffr |
| 上游文档 | https://github.com/mookid/diffr#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/mookid/diffr/archive/refs/tags/v0.1.5.tar.gz |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | diffr |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
diffr 0.1.5-2+b7
LCS based diff highlighting tool to ease code review from your terminal
https://github.com/mookid/diffr
sudo apt install diffrdiffr
nix profile install nixpkgs#diffrdiffr 0.1.5-2
LCS based diff highlighting tool to ease code review from your terminal
https://github.com/mookid/diffr
sudo apt install diffrdiffr
sudo port install diffr来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.