Automic VaultAutomic Vault

brew

Install imgdiet with Homebrew

Optimize and resize images. Version 0.2.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install imgdiet

local Homebrew formula metadata

overview

Package summary

Optimize and resize images

Commands and aliases

  • imgdiet

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:image

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
imgdietcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.2.0
manager updated
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:imgdiet
Version0.2.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/imgdiet
Homepagehttps://git.sr.ht/~jamesponddotco/imgdiet-go
Repositoryhttps://git.sr.ht/~jamesponddotco/imgdiet-go
Upstream docshttps://git.sr.ht/~jamesponddotco/imgdiet-go
LicenseMIT
Source archivehttps://git.sr.ht/~jamesponddotco/imgdiet-go/archive/v0.2.0.tar.gz
Dependenciesgettext, glib, vips
Build dependenciesgo, pkgconf
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment