We ended up using a service like yakpdf, for HTML to PDF generation.
It handled most of the rendering issues out of the box compared to headless browser setups.
20 karma · joined March 17, 2024
It handled most of the rendering issues out of the box compared to headless browser setups.
- HTML → PDF without any browser engine - PDF compression & optimization - Simple API for manual PDF generation - Text extraction - No native dependencies and cheaper than Aspose
It’s not a full drop-in replacement for every Aspose feature, but it covers the core workflow you mentioned and is much lighter to integrate.
https://rapidapi.com/yakpdf-yakpdf/api/yakpdf (open via firefox)
Shameless plug: I run yakpdf.com, a hosted Puppeteer-based service if you want to avoid self-hosting. https://rapidapi.com/yakpdf-yakpdf/api/yakpdf