Automic VaultAutomic Vault

brew

使用 Homebrew 安装 spaceman-diff

查看 spaceman-diff 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install spaceman-diff

local Homebrew formula metadata

概览

软件包摘要

Diff images from the command-line

命令和别名

  • spaceman-diff

历史

项目历史与用法

spaceman-diff is a small shell-oriented image diff helper that plugs into Git diff. It renders changed images as colorful ASCII approximations in the terminal and reports practical metadata such as file-size changes.

项目历史

The official README describes spaceman-diff as a quick drop-in to `git-diff` for image files. It was cobbled together by Zach Holman and depends on jp2a and ImageMagick to convert image content into terminal-friendly output.

The project is intentionally narrow: it handles changed images passed through Git's diff driver mechanism and documents that simple additions or removals are not rendered because Git does not pass those cases to the external diff command in the same way.

采用历史

The README documents Homebrew installation, which made the tool easy to try for macOS developers already using Git from the terminal. Its adoption is best understood as a niche Git workflow helper rather than a general-purpose image comparison application.

使用方式

Users install jp2a and ImageMagick, install the `spaceman-diff` script, add image patterns to `~/.config/git/attributes`, and configure a custom Git diff driver in `~/.gitconfig`. After that, ordinary `git diff` invocations can display terminal previews for changed PNG, JPEG, and GIF files.

The README positions the tool as a quick verification aid: it helps a developer confirm that an image change is the intended one and that file size did not change unexpectedly.

为什么软件包爱好者会关心

spaceman-diff matters to package nerds because it is a classic tiny CLI wrapper around other packaged tools. Its usefulness depends on Git attributes, ImageMagick, jp2a, and the shell all lining up cleanly through a package manager.

It also shows why small formulas exist: a few lines of glue can turn a developer's normal `git diff` habit into a richer terminal workflow without adding a heavyweight GUI dependency.

时间线

  • 2014: README screenshot assets indicate early public project activity.
  • 2019: README screenshot was updated to show terminal image-diff output.
  • Current README: Documents Homebrew installation and Git diff-driver configuration.

Related projects

  • Git supplies the external diff-driver mechanism.
  • jp2a converts JPEG images to ASCII for the terminal rendering path.
  • ImageMagick handles image conversion tasks used by the script.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:image

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.config/git/attributes~/.gitconfig

可执行文件

已安装的可执行文件

命令类型暴露范围备注
spaceman-diffcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.0.3
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v1.0.3

https://github.com/holman/spaceman-diff

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:spaceman-diff
版本1.0.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/spaceman-diff
主页https://github.com/holman/spaceman-diff
仓库https://github.com/holman/spaceman-diff
上游文档https://github.com/holman/spaceman-diff#readme
许可证MIT
源码归档https://github.com/holman/spaceman-diff/archive/refs/tags/v1.0.3.tar.gz
依赖imagemagick, jp2a
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namespaceman-diff
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment