forked from external-repos/squoosh
c5c520a71d94d0517e361da36ea2340dc6e5bdf2
This consolidates Rust build process for various codecs into a single top-level image that is built once and reused. This ensures that we use same version of tools across codecs (now controlled from a single place), simplifies build configs and commands, speeds up common builds and reduces disk space taken by Docker images by reusing same one. Additionally, this PR renames all codecs to squoosh-* to work around the https://github.com/rustwasm/wasm-pack/issues/829 (which has been already fixed on master of wasm-pack but not released in a while), as well as adds `publish = false` to Cargo.toml to avoid accidental publishing for now. I'm planning to do similar for Emscripten in a separate PR, although abilities to share configs there are much more limited due to lack of package manager in C++.
Squoosh!
Squoosh is an image compression web app that allows you to dive into the advanced options provided by various image compressors.
Privacy
Google Analytics is used to record the following:
- Basic visit data.
- Before and after image size once an image is downloaded. These values are rounded to the nearest kilobyte.
- If install is available, when Squoosh is installed, and what method was used to install Squoosh.
Image compression is handled locally; no additional data is sent to the server.
Building locally
Clone the repo, and:
npm install
npm run build
You can run the development server with:
npm start
Description
Languages
TypeScript
62.5%
JavaScript
10%
C++
9.5%
CSS
8.9%
Makefile
3.9%
Other
5.2%