Skip to content

ericwidhiantara/html-to-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLONE THIS REPO

git clone https://github.com/thxrhmn/html-to-pdf.git

COPY / FILL .ENV VARIABLE

cp .env.example .env
nano .env
# change with your ip
GOTENBERG_API=http://YOUR-IP:4000 # http://127.0.0.1:4000

RUN

docker compose up -d

USAGE:

curl -X POST -d 'html=<html><head><title>Test</title></head><body><h1>Hello, World!</h1></body></html>' http://0.0.0.0:5000/generate-html-pdf -o index.pdf

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published