diff --git a/build/docs/content/01-install.md b/build/docs/content/01-install.md index 6054cf75..ec4cdca5 100644 --- a/build/docs/content/01-install.md +++ b/build/docs/content/01-install.md @@ -47,5 +47,9 @@ securityContext: runAsUser: 1001 ``` +## Cloud Run (Google Cloud) + +If you're looking for cost savings, you might be interested by [Cloud Run](https://cloud.google.com/run). + In the following examples, we will assume your Gotenberg API is available at [http://localhost:3000](http://localhost:3000). diff --git a/build/docs/content/02-clients.md b/build/docs/content/02-clients.md index 64de1e23..dedef210 100644 --- a/build/docs/content/02-clients.md +++ b/build/docs/content/02-clients.md @@ -23,3 +23,7 @@ Then the PHP client: ```bash $ composer require thecodingmachine/gotenberg-php-client ``` + +## Community clients + +* [JavaScript/TypeScript client](https://github.com/yumauri/gotenberg-js-client) by [yumauri](https://github.com/yumauri) diff --git a/build/docs/content/04-html.md b/build/docs/content/04-html.md index 3f147df8..f0134ed2 100644 --- a/build/docs/content/04-html.md +++ b/build/docs/content/04-html.md @@ -103,6 +103,7 @@ There are some limitations: * `footer.html` CSS properties override the ones from `header.html` * only fonts installed in the Docker image are loaded (see the [fonts section](#fonts)) * images only work using a `base64` encoded source (`" ARG TINI_VERSION -ADD https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini /tini +ADD --chown=gotenberg https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini-static /tini RUN chmod +x /tini ENTRYPOINT [ "/tini", "--" ] diff --git a/docs/index.html b/docs/index.html index 79c8d652..fe626bfb 100755 --- a/docs/index.html +++ b/docs/index.html @@ -184,6 +184,12 @@ runAsUser: 1001 +

Cloud Run (Google Cloud)

+ +

If you’re looking for cost savings, you might be interested by Cloud Run.

+

In the following examples, we will assume your Gotenberg API is available at http://localhost:3000.

@@ -216,6 +222,14 @@ Gotenberg API is available at http://localhost:3
$ composer require thecodingmachine/gotenberg-php-client
 
+

Community clients

+ + +
@@ -475,6 +489,7 @@ Respectively, a file named header.html and footer.html
  • footer.html CSS properties override the ones from header.html
  • only fonts installed in the Docker image are loaded (see the fonts section)
  • images only work using a base64 encoded source (<img src="data:image/png;base64, iVBORw0K... />)
  • +
  • background-color and color CSS properties require an additional -webkit-print-color-adjust: exact CSS property in order to work
  • Office and Merge endpoints will start respectively as many LibreOffice (unoconv) and PDTk -instances are there are requests. The limitation here is the available memory and CPU usage.

    +instances as there are requests. The limitation here is the available memory and CPU usage.

    On another hand, for the HTML, URL and Markdown endpoints, the API does only 6 conversions in parallel. Indeed, Google Chrome misbehaves if there are too many concurrent conversions.