August 14, 2019

178 words 1 min read



A Docker-powered stateless API for converting HTML, Markdown and Office documents to PDF

repo name thecodingmachine/gotenberg
repo link
language Go
size (curr.) 18431 kB
stars (curr.) 1805
created 2018-03-23
license MIT License

At TheCodingMachine, we build a lot of web applications (intranets, extranets and so on) which require to generate PDF from various sources. Each time, we ended up using some well known libraries and kind of lost time by reimplementing a solution from a project to another project. Meh.


  • HTML and Markdown conversions using Google Chrome headless
  • Office conversions (.txt, .rtf, .docx, .doc, .odt, .pptx, .ppt, .odp and so on) using unoconv
  • Assets :package:: send your header, footer, images, fonts, stylesheets and so on for converting your HTML and Markdown to beautiful PDFs!
  • Easily interact with the API using our Go and PHP libraries

Quick start

Open a terminal and run the following command:

$ docker run --rm -p 3000:3000 thecodingmachine/gotenberg:6

The API is now available on your host at http://localhost:3000.

Head to the documentation to learn how to interact with it!


Docker image layers Travis CI GoDoc Codecov Go Report Card

comments powered by Disqus