Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
michidk
on May 6, 2023
|
parent
|
context
|
favorite
| on:
Ask HN: How to generate PDFs from the back end?
But this is a rather bloated and slow approach since it's based on a webbrowser, right? I think it also requires some desktop environment like x11?
gkhartman
on May 6, 2023
|
next
[–]
I inherited a codebase that uses this approach. You can use xvfb to get around the x11 frame buffer requirement. It works, but we are looking to migrate to another solution, since it appears that wkhtmltopdf is no longer maintained.
flemhans
on May 6, 2023
|
prev
[–]
Headless Chromium is the way. Bloated maybe, but does the job.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: