Hacker News new | ask | show | jobs
by schappim 2947 days ago
I literally just built this for rendering invoices etc yesterday.

I ended up using wktohtml on AWS Lambda. Wktohtml isn’t nearly as nice as Princexml or headless Chrome, but for the most part it gets the job done.

What did you end up using for your stack?

1 comments

That's a coincidence :) I used wkhtmltopdf in the past as well but it struggled when dealing with more complex layouts.

My stack is a tweaked Chrome headless on Linux in a docker container, exposed by a Node API.