neslinesli93 / jpeg.rocks

Browser-based JPEG optimizer, using Web Workers and WebAssembly
https://jpeg.rocks
173 stars 8 forks source link

JPEG.rocks

Browser-based JPEG optimizer, using Web Workers and WebAssembly.

mozjpeg-wasm does the heavy lifting; Preact and Water.css do the rest.

Build from source

Clone the repo, then install the dependencies:

$ yarn

Run a dev server, listening on http://0.0.0.0:8080:

$ yarn dev

Or build a static and immediately deployable artifact (in build/ folder):

$ yarn build