Skip to content

HTML to PDF as a service (Powered by wkhtmltopdf)

License

Notifications You must be signed in to change notification settings

Instamojo/html2pdf

Repository files navigation

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.

About

HTML to PDF as a service (Powered by wkhtmltopdf)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published