Skip to content

guoyu07/html2pdf-10

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 2.7 - 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

Languages

  • Python 57.4%
  • HTML 39.3%
  • Shell 3.3%