mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-14 17:49:52 +00:00
43 lines
1.2 KiB
Markdown
43 lines
1.2 KiB
Markdown
# [Squoosh]!
|
|
|
|
[Squoosh] is an image compression web app that reduces image sizes through numerous formats.
|
|
|
|
# API & CLI
|
|
|
|
Squoosh has [an API](https://github.com/GoogleChromeLabs/squoosh/tree/dev/libsquoosh) and [a CLI](https://github.com/GoogleChromeLabs/squoosh/tree/dev/cli) to compress many images at once.
|
|
|
|
# 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](https://support.google.com/analytics/answer/6004245?ref_topic=2919631).
|
|
- 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
|
|
1. To install node packages, run:
|
|
```sh
|
|
npm install
|
|
```
|
|
1. Then build the app by running:
|
|
```sh
|
|
npm run build
|
|
```
|
|
1. After building, start the development server by running:
|
|
```sh
|
|
npm run dev
|
|
```
|
|
|
|
# Contributing
|
|
|
|
Squoosh is an open-source project that appreciates all community involvement. To contribute to the project, follow the [contribute guide](/CONTRIBUTING.md).
|
|
|
|
[squoosh]: https://squoosh.app
|