# imgdiet を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:imgdiet
```

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

### macOS

- Homebrew (100%):

```sh
brew install imgdiet
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:imgdiet
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/imgdiet>
- **バージョン:** 0.2.0
- **ソース概要:** Optimize and resize images
- **ホームページ:** <https://git.sr.ht/~jamesponddotco/imgdiet-go>
- **上流ドキュメント:** <https://git.sr.ht/~jamesponddotco/imgdiet-go>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://git.sr.ht/~jamesponddotco/imgdiet-go/archive/v0.2.0.tar.gz>
- **最終更新:** 2026-07-26T04:07:47+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- imgdiet (cli)
- imgdiet (エイリアス)

## 依存関係

- gettext
- glib
- vips

## ビルド依存関係

- go
- pkgconf

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.2.0
- マネージャ更新日: 2026-07-26
- ローカルデータ: OK
- 上流リポジトリ: https://git.sr.ht/~jamesponddotco/imgdiet-go
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

imgdiet is a Go module, and Homebrew-packaged command, for image optimization and resizing. The project wraps libvips to reduce image size for web delivery while keeping the API small and idiomatic for Go programs.

### プロジェクトの歴史

The SourceHut repository uses trunk as its default branch and publishes signed-off patch workflow instructions, mailing lists, and a SourceHut issue tracker. The GitHub mirror was created in June 2023, while SourceHut refs show 0.1.x tags in 2023, 0.2.0 in October 2024, and 1.0.0 in January 2026.

The README describes imgdiet as a Go module built on libvips. Go package documentation describes it as high-performance image resizing, format conversion, and compression optimized for web delivery, with explicit libvips initialization and shutdown calls.

### 採用の歴史

The project is relatively small: Go package documentation reports no importers for the module page inspected, and Homebrew formula analytics show modest install counts. That makes it an obscure but concrete package rather than a broad ecosystem standard.

Its adoption path is split between Go developers using go get and Homebrew users installing the command-line package. The Homebrew formula depends on vips, glib, and gettext, which mirrors the project's reliance on libvips rather than implementing image codecs itself.

### 使われ方

Library users initialize libvips, open an image from an io.Reader, export to a target format such as WebP, and inspect bytes saved. The documented API emphasizes repeated exports from original image data, so one decoded source can produce WebP, AVIF, JPEG, or other outputs.

The package belongs in web asset pipelines, small Go services, and local optimization scripts where libvips performance is desired without directly binding to the whole libvips surface.

### パッケージ好きにとっての重要性

imgdiet is package-nerd notable mostly as a tidy wrapper around a native image-processing dependency. The interesting packaging work is making Go, libvips, and Homebrew cooperate so users get fast image optimization without writing C bindings themselves.

Because sources are thin and adoption is small, its historical significance is limited; the useful record is its SourceHut-native workflow, libvips dependency, and 2023-to-2026 tag progression.

### タイムライン

- 2023: SourceHut refs show 0.1.0, 0.1.1, and 0.1.2 tags.
- 2024: SourceHut refs show v0.2.0.
- 2026: SourceHut refs show v1.0.0; Go package documentation for v1.0.0 is published in January 2026.

### Related projects

- libvips is the native image-processing library named by the README and Go package documentation.
- vipsgen is listed in go.mod and supplies Go bindings used by the project.
- Homebrew packages imgdiet with vips, glib, and gettext dependencies.

### ソース

- <https://api.github.com/repos/jamesponddotco/imgdiet-go>
- <https://formulae.brew.sh/api/formula/imgdiet.json>
- <https://git.sr.ht/~jamesponddotco/imgdiet-go>
- <https://git.sr.ht/~jamesponddotco/imgdiet-go/blob/trunk/README.md>
- <https://git.sr.ht/~jamesponddotco/imgdiet-go/refs>
- <https://pkg.go.dev/git.sr.ht/~jamesponddotco/imgdiet-go>


## セキュリティノート

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

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

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** imgdiet
- **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.
- [Archive and compression packages](https://pkg.so/ja/archive-compression-tools/) - Matched archive or compression metadata.
- [glib](https://pkg.so/ja/brew/glib/) - Runtime dependency declared by Homebrew.
- [gettext](https://pkg.so/ja/brew/gettext/) - Runtime dependency declared by Homebrew.
- [vips](https://pkg.so/ja/brew/vips/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [oxipng](https://pkg.so/ja/brew/oxipng/) - Shares pkgdb curated category or tags: cli, compression, image-optimization, media.
- [jpegoptim](https://pkg.so/ja/brew/jpegoptim/) - Shares pkgdb curated category or tags: cli, compression, image-optimization, media.
- [imgproxy](https://pkg.so/ja/brew/imgproxy/) - Shares pkgdb curated category or tags: cli, go, image-resizing, media.
- [jpeg-turbo](https://pkg.so/ja/brew/jpeg-turbo/) - Shares pkgdb curated category or tags: cli, compression, media.
- [openjph](https://pkg.so/ja/brew/openjph/) - Shares pkgdb curated category or tags: cli, compression, media.
- [webp](https://pkg.so/ja/brew/webp/) - Shares pkgdb curated category or tags: cli, compression, media.
- [openjpeg](https://pkg.so/ja/brew/openjpeg/) - Shares pkgdb curated category or tags: cli, compression, media.
- [rav1e](https://pkg.so/ja/brew/rav1e/) - Shares pkgdb curated category or tags: cli, compression, media.

## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
