GoogleChromeLabs/squoosh ? reverse-engineered prompt
Reverse engineered prompt
I want to build a web app that helps people compress their images. The whole point is that it should be super fast and private, so all the image processing needs to happen directly in the browser—no sending anything to a server.
A user should be able to drop an image into the app and see a a side-by-side comparison of the original and the compressed version. A slider to move between the 'before' and 'after' would be great. It should support a bunch of different modern image formats for the output.
Please build this as a PWA so it can be installed on a desktop or mobile device. Also, let's include some basic, privacy-friendly analytics using Google Analytics, just to track things like the initial vs. final file size so we know how well it's working.
Are you gonna build this?
make sure you review the code using coderabbit