Hacker GitHub

← All repos

GoogleChromeLabs/squoosh

View on GitHub ↗ ★ 26,089 TypeScript

Make images smaller using best-in-class codecs, right in the browser.

27 mentions on Hacker News by 24 people: 5 stories, 22 comments · first 2018-11-13 · latest 2026-10-17

Mentions per year 27 mentions · busiest year 2022 (7)
20082026
  1. Is this ported to https://github.com/GoogleChromeLabs/squoosh yet?
    comment by est · 2026-10-17 · in JPEG XL vs. AVIF for web use-cases
  2. Still no support for Google's own Jpegli: https://github.com/GoogleChromeLabs/squoosh/issues/1408
  3. https://github.com/GoogleChromeLabs/squoosh
    comment by bufferoverflow · 2025-04-03 · in Minimal CSS-only blurry image placeholders
  4. …compressing images without noticeable difference with a simple interface and maintained by Google: https://github.com/GoogleChromeLabs/squoosh
  5. …much easier for people to try it out. Maybe a fork of https://squoosh.app/ ? The code for that is https://github.com/GoogleChromeLabs/squoosh
    comment by simonw · 2024-04-03 · in Jpegli: A new JPEG coding library
  6. Here have it: https://github.com/GoogleChromeLabs/squoosh/tree/dev/codecs/...
    comment by GoblinSlayer · 2023-04-16 · in FSF Slams Google over Dropping JPEG-XL in Chrome
  7. See the Makefile in https://github.com/GoogleChromeLabs/squoosh/tree/dev/codecs/...
  8. > all the sources are here: https://github.com/GoogleChromeLabs/squoosh/tree/dev/codecs/... Did you check? There aren't really any sources there, either. From having already spent some time looking into this to track down what, exactly,…
  9. …extracted the decoder from this Google Chrome Labs "Sploosh" project [0], all the sources are here: https://github.com/GoogleChromeLabs/squoosh/tree/dev/codecs/... It's under an Apache license, and so the correct license applies. 0:…
  10. …realy applies. I assume you are using an existing JPEG XL decoding lib? (Edit - Source here: https://github.com/GoogleChromeLabs/squoosh/tree/dev/codecs/... ) Are you doing any progressive decoding while it downloads? I believe that is one…
  11. …out the JXL WASM polyfill. Maybe if I wait a few months someone else will do it for me? There's https://github.com/GoogleChromeLabs/squoosh/tree/dev/codecs/... that provides `JXLModule.decode(data: BufferSource): ImageData | null`, but for…
    comment by Scaevolus · 2022-11-11 · in Chrome Responds "No" to JPEG XL
  12. You could consider publishing it on GitHub and pinging squoosh guys: https://github.com/GoogleChromeLabs/squoosh/issues/1084
  13. Squoosh ( https://github.com/GoogleChromeLabs/squoosh ) gives very impressive results in my (admittedly somewhat limited) experience.
    comment by chris_overseas · 2021-05-26 · in Finally Understanding PNG (2017)
  14. …staying under a given Butteraugli threshold, but you still have to decide on the format yourself. https://github.com/GoogleChromeLabs/squoosh/tree/dev/cli
  15. …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
  16. …also done in the browser, OS & maintained by Google’s engineering team - https://squoosh.app/ - https://github.com/GoogleChromeLabs/squoosh
  17. …the box too. The code is fortunately very well organized so you can just copy the pieces you need: https://github.com/GoogleChromeLabs/squoosh/tree/master/src/... It also does make sense for you to pick and choose only the compression…
  18. Squoosh is a much better demo of how to do in-browser compression (using optipng, mozjpeg, etc): https://github.com/GoogleChromeLabs/squoosh/ There are far more knobs you can tune whereas the native browser conversion only has mimetype and…
  19. …runs on node.js, server-side, and it's not maintained. Someone else mentioned https://github.com/GoogleChromeLabs/squoosh for server-side image optimization, it might be better maintained, it seems to use webpack image optimizers plugin
  20. …web app that allows you to dive into the advanced options provided by various image compressors. https://github.com/GoogleChromeLabs/squoosh
  21. Almost exclusively build stuff https://github.com/GoogleChromeLabs/squoosh/blob/master/pack...
    comment by jaffathecake · 2018-12-17 · in What happens when packages go bad?
  22. It's an open source project from Google Code Labs. Here is the Github repo: https://github.com/GoogleChromeLabs/squoosh/ It looks like it uses Web Assembly to compress the images on the client side.