engineering2.86 GB saved
Rails Image Optimizer
Lossless + thresholded optimization pipeline with manifest tracking and CI guard rails.
Key Metrics
- Runs Automated200+
- Unique Assets1.4k+
- Estimated Savings2.5+ GB
What happened?
CLI-driven workflow that fingerprints incoming assets, orchestrates lossless + mild lossy passes, and writes per-file savings to a manifest that downstream jobs consume.
Tech & Impact
- Ruby
- Rails
- ImageMagick
- libvips
- Shell
Design balances developer ergonomics (bin/setup + bin/demo) with production-ready guard rails—failing CI when a PR introduces bloated imagery while staying resilient when optimization binaries are missing.
Sample CLI Output
Collapsible log excerpt from the demo run of the optimizer.