Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is there a Vert for html to PDF?



Another good option is to actually just use puppeteer (headless chrome)


If you need to perform one-off conversions interactively (like you'd do with Vert), I would suggest you to just print the page to PDF with any Chromium-based browser.

If you need to automate the conversion on a small scale, either Puppeteer or Playwright are excellent choices and are easy to self-host on any home server or VPS with enough resources to run a browser.

If you need to scale the automation or rely on it for business purposes, I'd suggest you to have a look at hosted services, there are plenty of them.

Shameless plug: I run https://yakpdf.com/, a hosted Puppeteer-based service. If you want to give it a spin, there’s a free plan on RapidAPI (https://rapidapi.com/yakpdf-yakpdf/api/yakpdf). It’s used in production by many and is one of the most trusted solutions on RapidAPI.

Happy to help if you have any questions!


I can recommend https://pdfbolt.com. It is unfortunately not self-hosted but built with privacy in mind. I'm the founder.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: