Save PDFs by providing a URL to save & read them later!
201
This app contains three routes:
"/" - returns a single webpage that creates links for each of the documents created.
"/create" - takes two arguments "pdf" and "title," they should be supplied like this
http://localhost:8000/create/?pdf=https://google.com&title=Google Home Page The URL has to encoded, however modern browsers will do this automatically when you press enter.
http://localhost:8000/read?title=Static Files.pdf - Same storage on the encoding...
If everything went correctly you should see a PDF print out of the webpage previously provided to the create route.
leo-ossais - Makes it dead simple to get WKHTMLTOPDF working.
docker run -d --name=pdf-manager -p 8000:8000 -v /some/dir:/app/public brettdocker/pdf-manager
Note that the "app/public" directory is where the PDF's are stored, map it to persistent storage if they matter to you.
Content type
Image
Digest
Size
156.6 MB
Last updated
almost 6 years ago
docker pull brettdocker/pdf-manager