YSS
What are the options to create PDF Files?
We upgraded our servers from Debian12 to Debian13 and woops, wkhtmltopdf is not there anymore, the project closed down, is not being updated anymore and wkhtmltopdf uses an very old Qt4 library.
Now what? I really do not want to go installing headless chrome on these containers and take up so many resources to create PDF files?
What are you guys now using to create PDF files? I’m probably not the only one with this issue right?
Thanks for helping!
Most Liked
NickGnd
I can recommend ChromicPDF from html → pdf GitHub - bitcrowd/chromic_pdf: Convenient HTML to PDF/A rendering library for Elixir based on Chrome & Ghostscript
kevinschweikert
Haven’t used it myself but had it on my list to check it out sometime https://gotenberg.dev/
lukeses
Sometime ago at my company, we were also using wkhtmltopdf. We didn’t like that it was run on the same machine as our Elixir app. We also faced some challenges with PDF styling.
At first, we switched to client side rendering of PDF. At that period of time, we used: html2pdf.js | Client-side HTML-to-PDF rendering using pure JS. This also resulted with some issues, as sometimes, depending on the customer browser, PDF differed depending on used browser.
In the end, our go-to solution was an external solution: https://pdfmonkey.io/. I’m not in any way associated with them, just really liking their support, when we were starting a co-operation with them. The pricing is pretty decent, if you don’t generate thousands of PDF.
We’re using PDF Monkey together with: https://pagedjs.org/, which allowed us to use some features, like Table of Content, headers, footers, etc.







