How do I write a program that generates custom pdfs?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/learnprogramming

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • jsPDF

    Client-side JavaScript PDF generation for everyone.

    Did a quick look at shiny. You can use JavaScript so jsPDF would be a great choice.

  • apps-script-samples

    Apps Script samples for Google Workspace products.

    If we're talking about making something really easily for a small data set with minimal programming knowledge and time required, Google Apps Script would probably be a good bet. Similarly, if your organization has Microsoft Office 365 instead of Google Workspace, you might try out their Office Scripts and Power Automate.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • pdf-combine

    combines pdf files into a single file, extracts pages from a pdf

  • lantern

  • pandoc

    Universal markup converter

    I'd go with this way as well. HTML or LaTex is a lot easier to work with than trying to create a PDF file directly. And there are existing tools around that can convert these formats into PDF, for example in Python: https://pypi.org/project/pdfkit/ or https://pandoc.org/

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