Hacker News new | ask | show | jobs
by dassurma 1878 days ago
Do you mean serve the app from an S3 bucket? It’s a fully static site without any server-side components, so go nuts.

If you mean compress all images in an S3 bucket? Not directly. But we do have a Squoosh CLI!

https://github.com/GoogleChromeLabs/squoosh/tree/dev/cli

1 comments

Thanks, I meant the second option: run on every image on a specific bucket.
Mount the bucket with something like rclone, then write a small script to optimize the images with the cli tool.
Great tip, thanks for sharing!