Skip to content
@marqiushq

marqius

A maintained wkhtmltopdf alternative: marqius-wkhtmltopdf is a drop-in HTML-to-PDF replacement from Simple AI LLC, tested in public.

marqius-wkhtmltopdf: the maintained wkhtmltopdf replacement

Rebuilt from scratch.

The command line is wkhtmltopdf's, refined over twelve years and relied on by a great many apps: the same command, the same options, the same HTML templates. Everything behind it is new: one file, no X server, no Qt, no libraries to install, built the modern way:

  • released in public, every build with its checksum beside it (latest release)
  • every build attestable in one command: gh attestation verify marqius-wkhtmltopdf-linux-x86_64 -R marqiushq/marqius-wkhtmltopdf
  • every release tested in public, on real documents, misses included

The command line proved itself for a decade. The rebuild keeps it running on today's systems (Ubuntu 26.04, Debian 13, Alpine, Heroku-24) and tomorrow's.

wkhtmltopdf turns HTML into PDF, and a great many apps rely on it for invoices, receipts, reports and labels. Its project was archived in January 2023, and Debian 13 and Ubuntu 26.04 no longer include it.

marqius-wkhtmltopdf is a drop-in replacement. It takes the same command, the same options and the same HTML templates, so your code does not change. It is one program, kept up to date, with nothing else to install, and much faster than wkhtmltopdf.

curl -fsSL https://marqius.com/marqius-wkhtmltopdf.sh | bash
brew install marqiushq/tap/marqius-wkhtmltopdf
docker run --rm -v "$PWD:/data" marqius/wkhtmltopdf invoice.html invoice.pdf

Start here

  • marqius-wkhtmltopdf: what it is, how to install it and how to switch your library in one step.
  • Examples: working examples for 14 libraries, from python-pdfkit and Snappy to wicked_pdf and Rotativa.

Tested in public, misses included

  • Parity suite: the same documents through wkhtmltopdf and marqius-wkhtmltopdf on every release, every PDF compared. Run it on your own templates.
  • Library tests: the test suites of 15 wkhtmltopdf libraries, run with both programs, with signed results.
  • Signed builds: check that any download is the file GitHub built, in one command.

Install it your way

  • apt, dnf and apk: signed repositories for Debian, Ubuntu, Rocky, Red Hat, Fedora, Amazon Linux and Alpine.
  • Homebrew: Apple silicon Macs and Linux.
  • GitHub Actions: one step on any runner, and a parity check that compares your PDFs on every pull request.
  • Docker: images for amd64 and arm64, from a 10 MB download.

marqius-wkhtmltopdf is commercial software from Simple AI LLC, free for 30 days. The examples, the test suites and the GitHub Actions are open source. Questions: hello@marqius.com.

Pinned Loading

  1. marqius-wkhtmltopdf-examples marqius-wkhtmltopdf-examples Public

    Switch from wkhtmltopdf in one line: runnable examples for 14 libraries (python-pdfkit, django-wkhtmltopdf, Snappy, laravel-snappy, wicked_pdf, PDFKit, Rotativa, go-wkhtmltopdf and more), each maki…

    Shell

  2. wkhtmltopdf-parity wkhtmltopdf-parity Public

    Will your PDFs change if you replace wkhtmltopdf? The same HTML through wkhtmltopdf 0.12.6 and marqius-wkhtmltopdf on every release, every PDF compared, misses included. Run it on your own template…

    HTML

Repositories

Showing 10 of 22 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…