PDF creation for Firebase and Firestore

Leverage the power of popular tools like HTML, CSS, Handlebars,
and Markdown to simplify your PDF generation process.

{ firstname: "John", balance: "$3,000"}Hello {{ firstname }}! Your balance is {{ balance }}!Hello John! Your balance is $3,000!

Craft Sophisticated PDFs

The template bundle is a ZIP file that contains the index.html file.
You can optionally incorporate additional resources, which will be accessible and loaded by index.html during rendering.
In short, with PDFPlum, you have the capability to create any content a browser can display.

Learn more about template creation →

Seamlessly Integrate with Your Firebase Infrastructure

After installing the extension on your Firebase project and uploading your template bundle to a Storage bucket, generating new PDFs becomes effortless. Simply call an endpoint or create a new document in a Firestore collection, choosing the method that best suits your needs.

Learn more about triggering the extension by calling an endpoint →Learn more about triggering the extension by creating Firestore documents →

Examples

This is a sample invoice generated by PDFPlum. You can put your own logo and company name in it and use it as is. Feel free to change/adjust different parts of it based on your needs.

This is a good example to see how different data structures are sent to PDFPlum via Firestore documents or GET parameters.

See the contents of this bundle →Find more invoice templates here →

PDF File Viewer

Download the PDF file here
Loading PDF…

This is a good starting point to learn how to set things up and use the features of PDFPlum.

Some of the use cases covered in this demo:

  • Loading media, fonts, scripts, and stylesheets, as well as third party libraries.
  • Loading resources directly from the bundle.
  • Loading resources from external online sources.
  • Using Handlebars' variables, conditions and loops.
See the contents of this bundle →

PDF File Viewer

Download the PDF file here
Loading PDF…

Many people already know markdown and enjoy its standard format. This example demonestrates how to use markdown as the templating language.

If you prefer to write your template in markdown, you can use this template as a boilerplate and change its components based on your needs.

It is using markdown-it library to transform markdown to HTML. PDFPlum then uses the generated HTML to create the PDF file.

See the contents of this bundle →Learn more about markdown-it

PDF File Viewer

Download the PDF file here
Loading PDF…

Resources

Contact Us

You can create an issue in the repository. Alternatively, you may contact me directly at hi@pdfplum.com.