GithubHelp home page GithubHelp logo

skriptfabrik / image-optimizers-buildpack Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 3.0 695 KB

Heroku image optimizers buildpack

Shell 100.00%
advpng gifsicle jpegoptim jpegtran optipng pngcrush pngquant heroku-buildpack

image-optimizers-buildpack's Introduction

Heroku image optimizers buildpack

This buildpack will provide the following image optimizer binaries to your Heroku app:

  • advpng
  • gifsicle
  • jpegoptim
  • jpegtran
  • optipng
  • pngcrush
  • pngquant

This buildpack supports the following Heroku stacks:

The stack cedar-14 is marked as deprecated and therefore should not be used anymore.

During compile time of this buildpack the following steps will be done:

  • Detect the current used stack
  • Copy the binaries in the folder vendor/optimizers inside the $BUILD_DIR
  • Symlinks to the binaries will be added to ensure that possible following buildpacks will have these binaries available
  • The path vendor/optimizers will be added to the PATH environment through the optimizers.sh script which is located in the .profile.d folder
  • At the end the version of each binary is displayed

Installation/Usage

To use this buildpack you can add it by multiple ways to your Heroku app. Please see the Heroku documentation for further information.

Contribute

Please refer to CONTRIBUTING.md for information on how to contribute to this project.

image-optimizers-buildpack's People

Contributors

maspeng avatar

Watchers

 avatar

image-optimizers-buildpack's Issues

Add Heroku-20 stack support

  • heroku-16 stack is now EOL
  • heroku-18 stack is scheduled for EOL

We should add heroku-20 stack support to this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.