ð Gotenberg
![]()
Gotenberg provides a developer-friendly API for converting numerous document formats â HTML, Markdown, Word, Excel and more â into PDF files using powerful tools like Chromium and LibreOffice.
ð·ïļ Category: Productivity
ðģ Image: gotenberg/gotenberg
ð Links
| Â | Â |
|---|---|
| ðĶ Project | github.com/gotenberg/gotenberg |
| ð Support | GitHub Issues |
| ð Donate | github.com/sponsors/gulien |
ð Ports
| Port | Protocol | Description |
|---|---|---|
3000 | TCP | Gotenberg HTTP API |
ðū Volumes
No volumes required for this container.
âïļ Environment Variables
No environment variables required for this container.
ðĄ API Usage
Once running, you can convert documents via the REST API:
# Convert an HTML file to PDF
curl --request POST \
--url http://your-server-ip:3000/forms/chromium/convert/html \
--header 'Content-Type: multipart/form-data' \
--form files=@index.html \
-o result.pdf
# Convert a Word document to PDF
curl --request POST \
--url http://your-server-ip:3000/forms/libreoffice/convert \
--header 'Content-Type: multipart/form-data' \
--form files=@document.docx \
-o result.pdf
ð Quick Start
- Open the MOS Hub and search for Gotenberg
- Click Install
- The API is immediately available at
http://your-server-ip:3000 - Send conversion requests via HTTP POST
ðĄ Tip: Gotenberg works great together with Paperless-NGX for automatic document conversion, or with Nextcloud for on-the-fly PDF generation.
ð Security Note: JavaScript is disabled by default (
--chromium-disable-javascript=true) and only local files are allowed (--chromium-allow-list=file:///tmp/.*). This is the recommended secure configuration.