All Projects → dabutvin → Imgbot

dabutvin / Imgbot

Licence: mit
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 dimensions and quality untouched. Once it's done, ImgBot will open a pull request for you to review and merge. [email protected]

Projects that are alternatives of or similar to Imgbot

Imgbot
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 dimensions and quality untouched. Once it's done, ImgBot will open a pull request for you to review and merge. [email protected]
Stars: ✭ 1,017 (+38.93%)
Mutual labels:  imagemagick, azure-functions, help-wanted, code-quality, image-compression, image-optimization, github-app
Supersafebank
Sample Event Sourcing implementation with .NET Core
Stars: ✭ 142 (-80.6%)
Mutual labels:  azure, azure-functions, dotnet-core
Developing Solutions Azure Exam
This repository contains resources for the Exam AZ-203: Developing Solutions for Microsoft Azure. You can find direct links to resources and and practice resources to test yourself ☁️🎓📚
Stars: ✭ 59 (-91.94%)
Mutual labels:  azure, azure-functions, dotnet-core
Pep8speaks
A GitHub app to automatically review Python code style over Pull Requests
Stars: ✭ 546 (-25.41%)
Mutual labels:  github-app, bot, code-quality
Rockpaperscissorslizardspock
Rock, Paper, Scissors, Lizard, Spock - Sample Application
Stars: ✭ 477 (-34.84%)
Mutual labels:  azure, azure-functions, dotnet-core
Azure Functions Python Samples
Azure Functions Python Sample Codes
Stars: ✭ 266 (-63.66%)
Mutual labels:  azure, azure-functions
Appservice Acmebot
Automated ACME issuer for Azure App Service (Web Apps / Functions / Containers)
Stars: ✭ 281 (-61.61%)
Mutual labels:  azure, azure-functions
Imageflow
High-performance image manipulation for web servers. Includes imageflow_server, imageflow_tool, and libimageflow
Stars: ✭ 3,643 (+397.68%)
Mutual labels:  image-compression, imagemagick
25 Days Of Serverless
Repository responsible for 25 days of Serverless challenges
Stars: ✭ 400 (-45.36%)
Mutual labels:  azure, azure-functions
jlik.me
URL Shortener project.
Stars: ✭ 31 (-95.77%)
Mutual labels:  azure, azure-functions
Farmer
Repeatable Azure deployments with ARM templates - made easy!
Stars: ✭ 353 (-51.78%)
Mutual labels:  azure, dotnet-core
Azure Readiness Checklist
This checklist is your guide to the best practices for deploying secure, scalable, and highly available infrastructure in Azure. Before you go live, go through each item, and make sure you haven't missed anything important!
Stars: ✭ 457 (-37.57%)
Mutual labels:  azure, azure-functions
Imager
Automated image compression for efficiently distributing images on the web.
Stars: ✭ 266 (-63.66%)
Mutual labels:  image-compression, image-optimization
faaskit
A lightweight middleware framework for functions as a service
Stars: ✭ 24 (-96.72%)
Mutual labels:  azure, azure-functions
Compress Images
Minify size your images. Image compression with extension: jpg/jpeg, svg, png, gif. NodeJs
Stars: ✭ 331 (-54.78%)
Mutual labels:  image-compression, image-optimization
cortana-intelligence-customer360
This repository contains instructions and code to deploy a customer 360 profile solution on Azure stack using the Cortana Intelligence Suite.
Stars: ✭ 22 (-96.99%)
Mutual labels:  azure, azure-functions
Storage
💿 Storage abstractions with implementations for .NET/.NET Standard
Stars: ✭ 380 (-48.09%)
Mutual labels:  azure, dotnet-core
Kledex
.NET Standard framework to create simple and clean design. Advanced features for DDD, CQRS and Event Sourcing.
Stars: ✭ 502 (-31.42%)
Mutual labels:  azure, dotnet-core
Bulldozer
GitHub Pull Request Auto-Merge Bot
Stars: ✭ 514 (-29.78%)
Mutual labels:  github-app, bot
serverless-recipes
Compendium of Serverless samples with Azure Cosmos DB
Stars: ✭ 30 (-95.9%)
Mutual labels:  azure, azure-functions

Imgbot

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.

screenshot

Configuration

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.

{
    "schedule": "daily", // daily|weekly|monthly
    "ignoredFiles": [
    	"*.jpg",                   // by extension
    	"image1.png",              // by filename
    	"public/special_images/*", // by folderpath
    ],
    "aggressiveCompression": "true", // true|false
    "compressWiki": "true", // true|false
    "minKBReduced": 500 // set reduction threshold (default to 10)
}

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

  • Optional
  • Accepts: daily|weekly|monthly
  • Limits the PRs from Imgbot to once a day, once a week, or once a month respectively
  • The default behavior is to receive Imgbot PRs as images require optimization

ignoredFiles

  • Optional
  • Accepts the syntax for searchPattern on Directory.EnumerateFiles()
  • Limits the images optimized by Imgbot by essentially ignoring them
  • When ignoring by file name no path is necessary, when ignoring by folder name full path from root is necessary

aggressiveCompression

  • Optional
  • Accepts: true|false
  • Opt in to use lossy compression algorithms
  • The default behaviour without this setting is loss less compression

compressWiki

  • Optional
  • Accepts: true|false
  • Opt in to also compress wiki repo
    • Example: https://github.com/YOUR_USERNAME/YOUR_REPOSITORY.wiki.git
  • The default behaviour is opt out

minKBReduced

  • Optional
  • Accepts only numbers as input (e.g. "minKBReduced": 500 for a 500 KB threshold)
  • Can be used to limit the frequency of PRs Imgbot will open over time
  • The default setting is 10

Find out more: https://imgbot.net/docs

Contributing

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.

https://imgbot.net/docs#contributing

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].