# 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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/spaceman-diff>
- **バージョン:** 1.0.3
- **ソース概要:** Diff images from the command-line
- **ホームページ:** <https://github.com/holman/spaceman-diff>
- **リポジトリ:** <https://github.com/holman/spaceman-diff>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/holman/spaceman-diff/archive/refs/tags/v1.0.3.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- spaceman-diff (cli)
- spaceman-diff (エイリアス)

## 依存関係

- imagemagick
- jp2a

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.0.3
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/holman/spaceman-diff
- 検出された最新: v1.0.3 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

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
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** spaceman-diff
- **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:** head, stable


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [imagemagick](https://pkg.so/ja/brew/imagemagick/) - Runtime dependency declared by Homebrew.
- [jp2a](https://pkg.so/ja/brew/jp2a/) - Runtime dependency declared by Homebrew.
- [pngquant](https://pkg.so/ja/brew/pngquant/) - Shares pkgdb curated category or tags: cli, image-tools, media.
- [pngpaste](https://pkg.so/ja/brew/pngpaste/) - Shares pkgdb curated category or tags: cli, image-tools, media.
- [pngcheck](https://pkg.so/ja/brew/pngcheck/) - Shares pkgdb curated category or tags: cli, image-tools, media.
- [pngcrush](https://pkg.so/ja/brew/pngcrush/) - Shares pkgdb curated category or tags: cli, image-tools, media.
- [png2ico](https://pkg.so/ja/brew/png2ico/) - Shares pkgdb curated category or tags: cli, image-tools, media.
- [pngnq](https://pkg.so/ja/brew/pngnq/) - Shares pkgdb curated category or tags: cli, image-tools, media.
- [ffmpeg](https://pkg.so/ja/brew/ffmpeg/) - Shares pkgdb curated category or tags: cli, media.
- [libpng](https://pkg.so/ja/brew/libpng/) - Shares pkgdb curated category or tags: cli, media.
- [terminalimageviewer](https://pkg.so/ja/brew/terminalimageviewer/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, imagemagick, images, media.

## 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
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
