https://github.com/allape/web2pdf
Export web pages into a single PDF file
https://github.com/allape/web2pdf
poppler-utils pptr web2pdf
Last synced: 3 months ago
JSON representation
Export web pages into a single PDF file
- Host: GitHub
- URL: https://github.com/allape/web2pdf
- Owner: allape
- License: mit
- Created: 2024-03-09T06:48:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-02T13:08:14.000Z (6 months ago)
- Last Synced: 2024-12-29T05:09:58.685Z (5 months ago)
- Topics: poppler-utils, pptr, web2pdf
- Language: TypeScript
- Homepage:
- Size: 37.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# web2pdf
A CLI running in docker to export web pages into a PDF file.
### Dockerized
⚠️: The font in PDF will be Roboto.
```shell
docker build --build-arg https_proxy=http://host.docker.internal:1080 -t allape/web2pdf:latest .
```### Run
```shell
npx puppeteer browsers install
npm run start -- --head --url [page1] --url [page2]
```### Merge PDF
See [docker.poppler-utils.Dockerfile](docker.poppler-utils.Dockerfile).