Skip to content

AWS Lambda functions to generate pdf files and images

License

Notifications You must be signed in to change notification settings

sooids/cloud-print-utils

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 26.6%
  • Python 24.7%
  • TypeScript 24.6%
  • Makefile 21.8%
  • JavaScript 2.3%