toy/image_optim
Optimize images using multiple utilities observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 98
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5354
- days_rel: n/a
- days_push: 17
- n_releases_24m: 0
Adoption not part of the score
1551 stars · 106 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Ruby gem and command line tool that optimizes (losslessly, or optionally lossily) JPEG, PNG, GIF, and SVG images by wrapping external utilities like pngquant, jpegoptim, oxipng, and svgo. It can be used as a CLI, a Ruby library, or via integrations such as pre-commit hooks.
Use cases
- compress images losslessly before deploying a website
- reduce png and jpeg file sizes in a build pipeline
- optimize images in a ruby project as part of asset preprocessing
- shrink gif and svg files from the command line
- run image optimization as a pre-commit hook
- batch optimize a folder of images
When to choose
- you work in Ruby or want a scriptable image optimization pipeline
- you want a single tool that orchestrates many well-known image optimizers
- you need both CLI and library usage with fine-grained worker configuration
When to avoid
- you need a GUI image compressor (use ImageOptim.app instead)
- you are not on a platform where the external utilities are available and cannot use image_optim_pack
- you need heavy image editing or format conversion rather than optimization
Facets
library · maturity stable
image-processing cli compression image-processing files web-development developer-tools cross-platform cli ruby image-optimization lossless-compression jpeg png gif svg ruby-gem external-utilities
2 sources
- readme: https://github.com/toy/image_optim · fetched 2026-08-28 · fd04972b32c0
- homepage: https://github.com/toy/image_optim · fetched 2026-08-29 · 52cc5f70f63a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| toy/image_optim | main | 76 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem