
OptiPix
since Dec 2025
My own version of Google's Squoosh, in Spanish and with a batch mode that optimizes many images at once. Everything runs in the browser, without uploading the images.
optipix.abitech.com.pe

The challenge
Optimize many photos at once without uploading them. Google's Squoosh handles one image at a time, and with hundreds of photos the tab ran out of memory.
Results
- Added batch compression, to optimize many images at once and download them as ZIP files.
- Kept the browser from running out of memory with large photos, by resizing them before compressing and splitting the download into ZIP files of up to 50 images.
- Kept the EXIF metadata of JPEG photos and made batch mode available offline.
- Automated deployment to production with GitHub Actions, with 13 of 15 deployments succeeding.
Technologies
- TypeScript
- Preact
- WebAssembly
- Web Workers
- Service Worker
- GitHub Actions