Skip to content

elestio-examples/gotenberg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gotenberg CI/CD pipeline

Deploy on Elest.io

Deploy Gotenberg server with CI/CD on Elestio



Once deployed ...

You can open Gotenberg API here:

URL: https://[CI_CD_DOMAIN]
email: root
password: [ADMIN_PASSWORD]

Usage

Chromium

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

LibreOffice

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

PDF Engines

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

About

Deploy Gotenberg with CI/CD on Elestio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages