mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-10-07 21:13:18 +01:00
8a0de7d5d782cd9f7e5673b1a470cbec3d157cb3
go fix runs the modernize suite since Go 1.26, and two of its analyzers rewrite this codebase into code that does not compile, so make fmt broke the build and then make lint. CONTRIBUTING tells every contributor to run both before opening a PR. embedlit folded telemetryCfg.LogLevel into a literal that already set that key, and errorsastype rewrote errors.As to errors.AsType[HttpError] even though HttpError does not embed error. Disable both, with a TODO covering when each can come back.
Gotenberg
A Docker-based API for converting documents to PDF
Documentation · Live Demo · Community
Gotenberg is a Docker-based API for converting documents to PDF. Trusted in production by thousands of companies. Also adopted by notable open-source projects.
Send your files via multipart/form-data, get a PDF back. No need to manage Chromium, LibreOffice, or fonts yourself.
Quick Start
docker run --rm -p 3000:3000 gotenberg/gotenberg:8
Convert a URL to PDF:
curl \
--request POST http://localhost:3000/forms/chromium/convert/url \
--form url=https://sparksuite.github.io/simple-html-invoice-template/ \
-o invoice.pdf
Features
- 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
See the full documentation.
Contributing
Questions and feedback: GitHub Discussions. Bug reports: GitHub Issues.
Sponsors
If Gotenberg powers your workflow or your business, consider becoming a sponsor.
Historic & GitHub Sponsors
Powered By
Description
Languages
Go
67.1%
Gherkin
31.3%
Dockerfile
1.2%
Makefile
0.4%
