Go to file
Maciej Matuszewski 129c33fa12 Add basic history handling (#288) (#309)
* Add basic history handling (#288)

* Move history management to Compress component

* Remove unused pathname property from history

* Rename history listener functions

* Use history.back instead of history.replace

* Support going forward in history. Persist last selected file in runtime

* Add netlify redirects file

* Use 301 status code for redirect

* Cleanup _redirects file

* Use 200 status code for redirects

* Simplify onPopState function

* Always redirect to 301 with url rewrite

* Remove redundant history function

* Remove file check on render. Call openEditor synchronously

* Use pushState only if user is on the initial screen. Mount history listener in constructor

* Simplify openEditor condition

* Update early return condition

* Rolling abstractions back into the main component
2018-12-12 12:58:03 +00:00
2018-11-15 22:02:11 +01:00
2018-11-09 12:08:55 -08:00
2018-03-02 04:49:12 -05:00
2018-11-14 14:04:01 -08:00
2018-03-02 04:49:12 -05:00
2018-12-10 12:25:27 +00:00
2018-12-10 12:25:27 +00:00

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.

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
Make images smaller using best-in-class codecs, right in the browser.
Readme Apache-2.0 163 MiB
Languages
TypeScript 62.5%
JavaScript 10%
C++ 9.5%
CSS 8.9%
Makefile 3.9%
Other 5.2%