HUB
Sign inSign up
sghtmltopdf logo

mikemix/sghtmltopdf

By mikemix

•Updated 13 days ago

Unofficial build of https://github.com/waka/sghtmltopdf. All credit and copyright goes to the author

Image
Developer tools
0

119

mikemix/sghtmltopdf repository overview

⁠Disclaimer

This is an unofficial build.

https://github.com/waka/sghtmltopdf/issues/170#issuecomment-7169589569⁠

⁠What it is

sghtmltopdf is a single Linux amd64 executable that turns HTML into PDF. It is built from the waka/sghtmltopdf⁠ and does not use Chromium, WebKit, or Gecko. It is dynamically linked and needs glibc 2.31 or newer (Debian 11, RHEL 9, and newer) plus the usual libc, libm, and libgcc_s libraries.

It does not bundle fonts, fontconfig, or CA certificates. A PDF render still needs a font already installed on the machine, or a font file passed with --font.

⁠Usage in Dockerfile

COPY --from=mikemix/sghtmltopdf:0.8.0 --link /usr/local/bin/sghtmltopdf /usr/local/bin/sghtmltopdf

You can also copy the binary from the container and put it somewhere inside your webserver.

⁠Try it

sghtmltopdf --version

⁠Disclaimer

This software is provided "AS IS", without any warranties or guarantees of any kind, express or implied.

Use of this software is entirely at your own risk. The author makes no representations or warranties regarding its functionality, reliability, security, accuracy, or suitability for any particular purpose.

The author shall not be held liable for any direct or indirect damages, data loss, system failures, security issues, or any other consequences resulting from the use, misuse, or inability to use this software.

By downloading, installing, or using this software, you acknowledge and accept these terms.

Tag summary
Recent tags
Content type
Image
Digest
sha256:66b4b575b…
Size
31.8 MB
Last updated
13 days ago
docker pull mikemix/sghtmltopdf:0.8.0