Hacker News new | ask | show | jobs
by ertand 2943 days ago
I don't know much about the complexities of this task so excuse my question if it's too obvious.

How is it different/better than using puppeteer? If it's better, maybe SxS comparisons of generated pdfs could be a good selling point.

1 comments

Thanks for leaving a comment, really appreciate it. The idea of creating a comparison between PDFs rendered with different solutions is genius. Definitely gonna add this.

Puppeteer would indeed come close in rendering quality. Improvements of using my solution over puppeteer are:

1) I tweaked Chrome headless to have the fonts available to ensure that typography renders as it should. Even emojis work!

2) you don't need to worry about installing and maintaining puppeteer and Chrome headless into your own infra

3) I didn't really make this very clear on my landing page so far, but I'll provide support to clients that have issues getting a certain document to render exactly like they want.

4) Not really a benefit yet since I wanted to launch with the MVP but soon I'll offer several options in the API that puppeteer itself doesn't offer such as multi-document PDFs, automated clickable terms of content for longer documents, etc.