pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/formio/pdf-libs

8281c.css" /> GitHub - formio/pdf-libs: The PDF Libraries · GitHub
Skip to content

formio/pdf-libs

Repository files navigation

Description

pdf-libs is REST-server that wraps extract-formfields and PDFtoHTMLEX utils

Running without docker

  • uncomment variables in .env file
  • change PORT variable if need
  • run node main

Running with docker

  • pull the image: docker pull formio/pdf-libs

  • run a container with name and port you need:

    • docker run -d --name pdf-libs -p 8080:8080 -e PORT=8080 formio/pdf-libs

M1 Mac

  • docker run -d --name pdf-libs -p 8080:8080 -e PORT=8080 --platform linux/amd64 formio/pdf-libs

Environment variables

Variable Description Default value
PDFLIBS_PORT Port, which service will use 8080
HTML_GENERATION_TIMEOUT Primary timeout in milliseconds for html generation 7000
HTML_GENERATION_BACKOFF Backoff timeout in milliseconds for html generation. Its sum with primary timeout will be used for second try after postscript optimisation in case when first try failed 23000

Building

  • docker build -t pdf-libs -f deployment/docker/Dockerfile .

M1 Mac

  • docker build -t pdf-libs -f deployment/docker/Dockerfile --platform linux/amd64 .

Docs

  • Code documentation is at docs/index.html

Licensing

This source code is licenced under the GPL, version 3

License text is available in LICENSE file

About

The PDF Libraries

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy