Thanks to visit codestin.com
Credit goes to github.com

Skip to content

allape/web2pdf

Repository files navigation

web2pdf

A CLI running in docker to export web pages into a PDF file.

Dockerized

⚠️: The font in PDF will be Roboto.

docker build --build-arg https_proxy=http://host.docker.internal:1080 -t allape/web2pdf:latest .

Run

npx puppeteer browsers install
npm run start -- --head --url [page1] --url [page2]

Merge PDF

See docker.poppler-utils.Dockerfile.

About

Export web pages into a single PDF file

Topics

Resources

License

Stars

Watchers

Forks