Coder Social home page Coder Social logo

heroku-buildpack-wkhtmltopdf's Introduction

heroku-buildpack-wkhtmltopdf

This buildpack downloads and extracts the most recent wkhtmltopdf binaries and works on both cedar-14 and heroku-16 stacks.

Add the Buildpack

Just add the buildpack to your heroku app by executing:

heroku buildpacks:add https://github.com/Lenwee/heroku-buildpack-wkhtmltopdf.git

You can also force this buildpack to be the first Heroku process by using the --index option:

heroku buildpacks:add --index=1 https://github.com/Lenwee/heroku-buildpack-wkhtmltopdf.git

Usage

The binaries wkhtmltopdf and wkhtmltoimage will be available on /app/bin, you can just execute /app/bin/wkhtmltopdf ... from your app.

Why another wkhtmltopdf buildpack

  • None of the available buildpacks (made by the community - there's no official wkhtmltopdf buildpack by Heroku) uses the newest wkhtmltopdf version (and there's a security warning on their website for oldest versions, so it's better to stick with the newest one);
  • Almost all of the available buildpacks downloads wkhtmltopdf from gna.org, but the service is not active anymore and will probably stop serving these files;
  • Some of the buildpacks available set new environment vars instead of just leaving the binary in some location. It increases the boot time since new shell script files needed to be loaded (inside .profile.d/);

This buildpack addresses the following issues:

  • Uses wkhtmltopdf version 0.12.5
  • Downloads wkhtmltopdf binaries from wkhtmltopdf.org
  • Do not add new environment variables or shell scripts

heroku-buildpack-wkhtmltopdf's People

Contributors

turicas avatar

Watchers

James Cloos avatar

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.