Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 866 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 866 Bytes

HTML to PDF as a service

This service provides a simple HTTP API to convert HTML to a PDF document. It takes a HTML document (not URL) as an input and outputs a PDF document in the response.

Technologies used for this application:

  • Python 3.6 - Simple web application and wrapper for wkhtmltopdf
  • Gunicorn - Web server
  • wkhtmltopdf - HTML to PDF converter engine
  • Google Noto - Fonts for non-ascii characters (like, Tamil, Hindi etc.)

This application is:

  • Synchronous - Response includes PDF document, which is generated in a blocking manner (without any queuing)
  • Stateless - No data stored anywhere
  • Scalable - No single point of failure and no centralised components (since its stateless) making it highly scalable.