Skip to content

AWS Lambda functions to generate pdf files and images

License

Notifications You must be signed in to change notification settings

epsylabs/cloud-print-utils

 
 

Repository files navigation

Cloud Print Utils

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

Currently solutions based on these tools available:

To build a layer you need make and docker installed on your system. The layers support only amazon linux 2 runtimes, eg. python3.8, nodejs12.x.

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.8.zip to build a layer, for details see related readme.

wkhtmltopdf

wkhtmltopdf is a comand line tool that renders HTML into PDF and various image formats using the Qt WebKit rendering engine.

Run make build/wkhtmltox-layer.zip to build a layer, for details see related readme.

About

AWS Lambda functions to generate pdf files and images

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 23.1%
  • TypeScript 21.9%
  • Makefile 20.3%
  • Python 20.1%
  • Dockerfile 12.6%
  • JavaScript 2.0%