Launching today

Pixcrush
One command to WebP-ify your entire codebase.
7 followers
One command to WebP-ify your entire codebase.
7 followers
Every React and Next.js project has them. PNGs dumped in /public, no WebP, nobody wants to deal with it. The fix is tedious: find every image, hit the free limit, try another tool, hit that limit too, then update every import by hand. pixcrush does the whole job in one command. Converts, compresses, rewrites every import and src path automatically. No subscription, no upload limit, no internet required.




Hey Product Hunt!
So, I built pixcrush after finding myself manually updating image imports at 1am, once again… and I finally thought, okay, I am not doing this one more time 😭
Almost every project I have worked on has the same problem: heavy PNG and JPG images sitting inside /public, no WebP, no compression, and file sizes that have no business being in a production codebase.
The fix sounds simple, but the actual cleanup is painfully tedious. Find every image, hunt for an online compressor, hit the free limit, convert them in small batches… and then manually update every import and src path across the codebase.
So I automated the full journey. You run one command → pixcrush finds the images, converts them to optimized WebP, and updates the matching code references automatically. It works offline, with no subscription and no upload limits.
I would love to know - have you also avoided image optimization just because the cleanup felt too tedious? Because that is exactly who I built this for. 🙌
finally a cli that actually rewrites imports too, that part saved me an afternoon of search and replace. local processing was a nice surprise, did not expect that.
Thank you so much! 😊 That was exactly one of the biggest pain points I wanted to solve. Really appreciate you trying Pixcrush and sharing your feedback!