Generate PDF files from HTML documents.
Simply POST
an HTML document to a web service and receive an application/pdf
document in response.
- The Serverless framework creates a web service using AWS API Gateway and AWS Lambda.
- The web service uses Puppeteer and Chromium to render an HTML document as a PDF file.
Complete documentation for installation and operation can be found here.
ARM Architecture (2023/08/31, v3.0.0)
It would be nice to use ARM architecture for AWS Lambda functions (and use Apple silicon locally). However, the
@sparticuz/chromium
project has not yet added support. See the comments here.
This software is provided under the MIT license.