GoogleChromeLabs/squoosh

TypeScriptsquoosh.app

开源替代 TinyPNG

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

image-compressionweb-appcodecsbrowser
Star 增长趋势
Star
26.1k
Forks
2.2k
周增长
+27
Issues
153
10k20k
2023年1月2024年4月2025年7月2026年10月
制品库npm
README

Squoosh!

Squoosh is an image compression web app that reduces image sizes through numerous formats.

Privacy

Squoosh does not send your image to a server. All image compression processes locally.

However, Squoosh utilizes Google Analytics to collect the following:

  • Basic visitor data.
  • The before and after image size value.
  • If Squoosh PWA, the type of Squoosh installation.
  • If Squoosh PWA, the installation time and date.

Developing

To develop for Squoosh:

  1. Clone the repository
  2. To install node packages, run:
    npm install
    
  3. Then build the app by running:
    npm run build
    
  4. After building, start the development server by running:
    npm run dev
    

Contributing

Squoosh is an open-source project that appreciates all community involvement. To contribute to the project, follow the contribute guide.