Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/filipechagas/pdfdownloader
Simple Sinatra app used to convert and download HTML pages as PDF
https://github.com/filipechagas/pdfdownloader
Last synced: 3 months ago
JSON representation
Simple Sinatra app used to convert and download HTML pages as PDF
- Host: GitHub
- URL: https://github.com/filipechagas/pdfdownloader
- Owner: filipechagas
- Created: 2014-08-05T16:38:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-05T16:45:35.000Z (over 10 years ago)
- Last Synced: 2024-05-31T19:58:31.983Z (6 months ago)
- Language: Ruby
- Size: 133 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
pdfdownloader
=============Simple Sinatra app used to convert and download HTML pages as PDF
Before deploy, set the env vars ```PDFUSERNAME``` and ```PDFPASSWD```. They will be used on Basic HTTP Authentication.
Once deployed, you can just send a post request to ```/``` sending the parameters ```file_name``` - which is the desired name of the PDF file to generate - and ```url``` - the public url that should be used to generate the file.