SamagraX-Stencil / stencil

NestJS on steroids 💪
https://stencil.samagra.io
MIT License
30 stars 33 forks source link

PDF Generation Service #140

Open techsavvyash opened 5 months ago

techsavvyash commented 5 months ago

Description

PDF Creation microservice.

Research around how can we go about generating PDFs. examples:

  1. Sending in HTML templates using HBS, EJS etc. templating engines.
  2. .... figure out what can be other ways

2 Parts:

  1. Generating PDFs/Implementation of the generation techniques-- customizable (support multiple templating engines,

We should also have support for bulk PDF generation. Ideally this should be a JSON based config where where in we send the information using a spec (basically the content + template) and then get bulk links of uploaded PDFs back.

The response should also support streaming raw PDFs instead of uploaded links

Future scope

techsavvyash commented 5 months ago

References:

drohan2536 commented 5 months ago

Research Doc: https://docs.google.com/document/d/1nz_66YwG3RJwO_X3Xb-jEwr1rAyNgNUF1mPixLJFU2c/edit

techsavvyash commented 4 months ago

Current update:

Next Steps:

Features

techsavvyash commented 4 months ago

Next Steps

shivankurchavan commented 4 months ago

https://github.com/gotenberg/gotenberg

tool for converting html to pdfs has no support for html templates

shivankurchavan commented 4 months ago

https://docs.google.com/document/d/1OHMoig_5YdWqysAK0tur3IUsEUHzUbDY0KRF75BZOuM/edit

document for tracking service development