from Hacker News

Ask HN: Looking for recommendations for document generation APIs

by giza182 on 10/3/21, 6:21 AM with 4 comments

Can anyone recommend a good api for generating pdf documents? I'm thinking of something that you can provide with a template (maybe html) and a model and it spits out a pdf document. I know it's not too difficult to write one's own, I'm just curious.
  • by distartin on 10/5/21, 12:34 AM

    Hi, there are some open sources likejsreports, carbone or reportbro but if you are looking generation to image you might try https://duply.co
  • by shayac2 on 10/3/21, 7:04 AM

    Check out carbone.io It’s not super powerful but does the trick for basic stuff. They have both self hosted and a cloud/paid version. pspdfkit.com might also have something for rendering PDFs as a service.
  • by fiftyacorn on 10/3/21, 7:25 AM

    Just to say when evaluating pdf generation you probably need to consider accessibility at some stage and a lot of options are weak on this