Deploy Gotenberg server with CI/CD on Elestio
You can open Gotenberg API here:
URL: https://[CI_CD_DOMAIN]
email: root
password: [ADMIN_PASSWORD]
The Chromium module interacts with the Chromium browser to convert HTML documents to PDF.
Basic example:
curl \
--request POST 'https://[CI_CD_DOMAIN]/forms/chromium/convert/url' \
--header 'Gotenberg-Output-Filename: result' \
--form 'url="https://www.wikipedia.org/"' \
-u root:[ADMIN_PASSWORD] \
-O -J
You can modily a lot of properties, for more examples: Chromium's doc
The LibreOffice module interacts with LibreOffice to convert documents to PDF.
Basic example:
curl \
--request POST 'https://[CI_CD_DOMAIN]/forms/libreoffice/convert' \
--form 'files=@"/path/to/file.docx"' \
-u root:[ADMIN_PASSWORD] \
-o my.pdf
You can modily a lot of properties, for more examples: LibreOffice's doc
The PDF Engines module gathers all engines that can manipulate PDF files.
Basic example:
curl \
--request POST 'https://[CI_CD_DOMAIN]/forms/pdfengines/merge' \
--form 'files=@"/path/to/pdf1.pdf"' \
--form 'files=@"/path/to/pdf2.pdf"' \
--form 'files=@"/path/to/pdf3.pdf"' \
--form 'files=@"/path/to/pdf4.pdf"' \
-u root:[ADMIN_PASSWORD] \
-o my.pdf
You can modily a lot of properties, for more examples: PDF Engines's doc