The project is in a healthy, maintained state
wkhtmltopdf binary for Debian 12 and 13.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 0
 Project Readme

wkhtmltopdf binary for Debian 12 and 13.

This is the same (and based on) wkhtmltopdf_binary but removes binaries for other systems, resulting in a much smaller gem and container size. This repo's history has been rewritten with git filter-repo to remove ~1.8G of needless binary data.

Note that wkhtmltopdf is deprecated, and using this is not recommended for new projects.

Usage

In Gemfile:

gem 'wkhtmltopdf_debian'

It also ships with libjpeg.so.62 from Debian 13 since the main reason it won't run on newer systems is:

error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory

On unsupported architectures you will get something like:

wkhtmltopdf_debian: unsupported platform FreeBSD/x86_64

You can set the WKHTMLTOPDF_BIN for those cases, e.g.

export WKHTMLTOPDF_BIN=/bin/wkhtmltopdf

Debian unfortunately removed the wkhtmltopdf package, hence the need for this gem.