# Installer spaceman-diff avec Homebrew

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de spaceman-diff pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

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

  Preuve: local Homebrew formula metadata

## Faits du paquet

- **Clé du paquet:** brew:spaceman-diff
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/spaceman-diff>
- **Version:** 1.0.3
- **Résumé source:** Diff images from the command-line
- **Page d'accueil:** <https://github.com/holman/spaceman-diff>
- **Dépôt:** <https://github.com/holman/spaceman-diff>
- **Licence:** MIT
- **Archive source:** <https://github.com/holman/spaceman-diff/archive/refs/tags/v1.0.3.tar.gz>
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- spaceman-diff (cli)
- spaceman-diff (alias)

## Dépendances

- imagemagick
- jp2a

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur all

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 1.0.3
- données locales: OK
- dépôt amont: https://github.com/holman/spaceman-diff
- dernière version détectée: v1.0.3 (à jour)
- info: No package-manager update timestamp was available.
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

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

- **Risque Geiger:** blue / moyen
- 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
## Détails de la base source

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


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/fr/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/fr/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [imagemagick](https://pkg.so/fr/brew/imagemagick/) - Runtime dependency declared by Homebrew.
- [jp2a](https://pkg.so/fr/brew/jp2a/) - Runtime dependency declared by Homebrew.
- [pngquant](https://pkg.so/fr/brew/pngquant/) - Shares pkgdb curated category or tags: cli, image-tools, media.
- [pngpaste](https://pkg.so/fr/brew/pngpaste/) - Shares pkgdb curated category or tags: cli, image-tools, media.
- [pngcheck](https://pkg.so/fr/brew/pngcheck/) - Shares pkgdb curated category or tags: cli, image-tools, media.
- [pngcrush](https://pkg.so/fr/brew/pngcrush/) - Shares pkgdb curated category or tags: cli, image-tools, media.
- [png2ico](https://pkg.so/fr/brew/png2ico/) - Shares pkgdb curated category or tags: cli, image-tools, media.
- [pngnq](https://pkg.so/fr/brew/pngnq/) - Shares pkgdb curated category or tags: cli, image-tools, media.
- [ffmpeg](https://pkg.so/fr/brew/ffmpeg/) - Shares pkgdb curated category or tags: cli, media.
- [libpng](https://pkg.so/fr/brew/libpng/) - Shares pkgdb curated category or tags: cli, media.
- [terminalimageviewer](https://pkg.so/fr/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)


## Sources

- 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
