unsubbed.co

Gotenberg

Released under MIT, Gotenberg provides developer-friendly API to interact on self-hosted infrastructure.

Overview

A developer-friendly API for converting many document formats into PDF files, and more! A Docker-based API for PDF conversion Gotenberg A Docker-based API for converting documents to PDF

Documentation · Live Demo · Community The project has 12K+ GitHub stars and is licensed under MIT.

Key Features

Source: GitHub README

  • HTML, URL, Markdown to PDF via Headless Chromium
  • Office documents to PDF via LibreOffice (100+ formats)
  • Merge, split, rotate, flatten PDFs
  • Watermark, stamp, encrypt PDFs
  • PDF/A and PDF/UA compliance
  • Screenshots of URLs and HTML
  • Read/write metadata and bookmarks

Getting Started

Source: GitHub README

docker run --rm -p 3000:3000 gotenberg/gotenberg:8
curl \
  --request POST http://localhost:3000/forms/chromium/convert/url \
  --form url=https://sparksuite.github.io/simple-html-invoice-template/ \
  -o invoice.pdf

Normalized Features

Source: tool-features-normalized.json

docker.