-
Move
tinypng.sh
to your project root -
Install jq to parse json.
-
Then, just run
./tinypng.sh
. -
All png files in this project will be compressed by recursion.
-
A key can compress up to 500 png for free. Support multiple keys to slove this problem, premise is you have multiple mail to apply key.
-
Support record which files are compressed, and then skip these files.