An Azure Function solution to crawl through all of your image files in GitHub and losslessly compress them. This will make the file size go down, but leave the
An Azure Function solution to crawl through all of your image files in GitHub and losslessly compress them. This will make the file size go down, but leave the
Imgbot crawls all your image files in GitHub and submits pull requests after applying a loss less compression. This will make the file size go down, but leave the dimensions and quality just as good.
Imgbot supports optional configuration through a .imgbotconfig json file.
This is not a required step to using Imgbot and is only for more advanced scenarios.
This file should be placed in the root of the repository and set to your liking.
…The following are the currently supported parameters. If there are any configuration settings you would like to see changed or supported, please feel free to open an issue here in the repo or shoot an email over to [email protected]
schedule
ignoredFiles
aggressiveCompression
compressWiki
https://github.com/YOUR_USERNAME/YOUR_REPOSITORY.wiki.gitminKBReduced
"minKBReduced": 500 for a 500 KB threshold)prTitle
"prTitle": "My title")prBody
Optional
Available only for paid plans
Accepts only strings as input
(e.g. "prBody": "Text before {optimization_ratio} Text after"
Text before {optimization_details} Text after")
Can be used to display any custom pull request body, written using github markdown
Supports two magic tags: {optimization_ratio} //displays the mean optimization ratio for all images
{optimization_details} //display the optimization details for every images
The default setting generates the body displayed here
Find out more: https://imgbot.net/docs
All the code for Imgbot is available on GitHub. We will gladly accept contributions for the service, the website, and the documentation. This is where you can find out how to get set up to run locally as well as detailed information on exactly how Imgbot works.
No open issues yet, or sync has not completed.