Ask HN: How to generate PDFs from the back end?

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • z3c.rml

    An alternative implementation of RML

    We are using z3c.rml (https://github.com/zopefoundation/z3c.rml) based on ReportLab. Layout is written in HTML-like XML and render performance is pretty good.

  • pdfgen

    Simple application for generating PDFs (by navikt)

    I recently fond output that a Norwegian government agency open sourced a micro service for generating PDF

    I haven't used it, but it looks promising. You create templates based on html (Handlebars templates), which should make it easy to get started.

    https://github.com/navikt/pdfgen

    It may be worth a look

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • react-pdf

    📄 Create PDF files using React

  • painless-pdf

    Painless PDF generation for node and the browser

    Generating PDFs is a pain with most libraries, especially if the content is dynamic and should span multiple pages.

    If you can use NodeJS on your backend, you might want to take a look at my PDF Library: https://github.com/DevLeoko/painless-pdf

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts