macOS
brew install imgdietlocal Homebrew formula metadata
安装
brew install imgdietlocal Homebrew formula metadata
概览
Optimize and resize images
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
imgdiet | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:imgdiet |
|---|---|
| 版本 | 0.2.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://git.sr.ht/~jamesponddotco/imgdiet-go |
| 最后更新 | 2026-07-26T04:07:47+02:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.