pkg.soopen package index

brew / 排名 4964

使用 Homebrew 安装 imgdiet

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install imgdiet

local Homebrew formula metadata

概览

软件包摘要

Optimize and resize images

命令和别名

  • imgdiet

历史

项目历史与用法

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.

安全态势

风险级别: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 元数据适用于 8 个平台目标。
  • 安装时包含 3 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-08-04
管理器版本0.2.0
管理器更新时间2026-07-26
本地数据OK
上游not checked
检测到的最新版本未检测到

https://git.sr.ht/~jamesponddotco/imgdiet-go

安装元数据

软件包元数据

软件包键brew:imgdiet
版本0.2.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/imgdiet
主页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
Pulseupdated
依赖gettext, glib, vips
构建依赖go, pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameimgdiet
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
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation