# spaceman-diff を Homebrew でインストール

spaceman-diff のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:spaceman-diff
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install spaceman-diff
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:spaceman-diff
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.0.3
- **ソース概要:** Diff images from the command-line
- **ホームページ:** <https://github.com/holman/spaceman-diff>
- **リポジトリ:** <https://github.com/holman/spaceman-diff>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- spaceman-diff (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.0.3
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://github.com/holman/spaceman-diff#readme>
- source_facts.package-manager


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal


## 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

- Unix: ~/.config/git/attributes, ~/.gitconfig

## Combined YAML source

View the package source record on GitHub. [combined/spaceman-diff.yml](https://github.com/mxcl/pkgdb/blob/main/combined/spaceman-diff.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
