Comment

Comment by zach_g

In terms of free tools, ones like jsPDF that run client-side typically give inconsistent results. It's a better idea to use something server-side like Puppeteer, which gives more control over how it renders.

The issue is running it in prod, since using Puppeteer requires browsers to interact with. You typically end up running Puppeteer in your front end, and a bunch of Chrome browsers chewing through a separate server.

Browserless is there to provide the browsers for those free libraries to work with. Sure, you can manage them yourself, but it's a PITA.

parent zach_g 2 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton