kotify / cloud-print-utils

AWS Lambda functions to generate pdf files and images
MIT License
110 stars 33 forks source link

Cloud Print Utils

This is a collection of AWS Lambda layers and functions to render pdf documents and images from HTML.

Download layers from release section or build them yourself (requires make and docker). The layers support only Amazon Linux 2023 runtimes, eg. python3.12.

By default only dejavu fonts are installed, edit build script to install others.

WeasyPrint

WeasyPrint is python based pdf/png print service.

Run make build/weasyprint-layer-python3.12.zip to build a layer, for details and docker lambda example see related readme.