Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 435 Bytes

File metadata and controls

22 lines (14 loc) · 435 Bytes

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.