https://github.com/thomasrogerlux/fromwebtopdf
Generate pdf from web page using wkhtmltopdf and docker
https://github.com/thomasrogerlux/fromwebtopdf
bash docker pdf
Last synced: 2 months ago
JSON representation
Generate pdf from web page using wkhtmltopdf and docker
- Host: GitHub
- URL: https://github.com/thomasrogerlux/fromwebtopdf
- Owner: thomasrogerlux
- Created: 2017-11-13T10:31:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-21T09:05:13.000Z (over 8 years ago)
- Last Synced: 2024-04-23T18:56:20.514Z (about 2 years ago)
- Topics: bash, docker, pdf
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# From web to pdf
## USAGE
```
./fromwebtopdf.sh --input [list] [options]
```
## LIST
The list is a file containing entries with the source url and the target pdf name.
Example:
```
https://fr.wikipedia.org/wiki/Paris paris.pdf
https://fr.wikipedia.org/wiki/France france.pdf
```
## OPTIONS
### Clean
`-c` or `--clean` : delete log and fail files.
### Rebuild
`-r` or `--rebuild` : do not use cache for the container build.
### Input
`-i` or `--input` : specify the list to take input from.
### Log
`-l` or `--log` : log the activity of the container build and the pdf generation.
### Help
`-h` or `--help` : display this help.
## Example
```
./fromwebtopdf.sh --input ./list.txt --clean --rebuild --log
```