https://github.com/gr2m/wkhtmltopdf-node-heroku
Example node app for heroku, that converts any publicly available URL to a PDF
https://github.com/gr2m/wkhtmltopdf-node-heroku
Last synced: about 1 year ago
JSON representation
Example node app for heroku, that converts any publicly available URL to a PDF
- Host: GitHub
- URL: https://github.com/gr2m/wkhtmltopdf-node-heroku
- Owner: gr2m
- Created: 2012-03-25T10:23:14.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2021-03-05T06:49:46.000Z (over 5 years ago)
- Last Synced: 2025-04-11T13:57:35.202Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://wkhtmltopdf-node.herokuapp.com/
- Size: 20.9 MB
- Stars: 11
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
wkhtmltopdf + node + heroku
===========================
This is a quick and dirty example node app for heroku,
that converts any publicly available URL to PDF.
If PDF has not yet been generated, it will generated the
PDF, otherwise return it.
Note: Each time the heroku server gets restarted, all
generated PDFs are lost.
Examples
--------
1. Convert http://www.google.ch/search?q=html+to+pdf
http://wkhtmltopdf-node.herokuapp.com/www.google.ch/search?q=html+to+pdf
2. The same via https
https://wkhtmltopdf-node.herokuapp.com/www.google.ch/search?q=html+to+pdf
3. Dynamically generated pages using JavaScript
http://wkhtmltopdf-node.herokuapp.com/acid3.acidtests.org
Setup
-----
Get a free Heroku Account: http://devcenter.heroku.com/articles/quickstart
```
$ heroku create -s cedar
$ git push heroku master
```
Follow the instructions in the command line