Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Oddly enough I just implemented my own one of these in 34 sloc using flask and weasyprint. I chose to only have it accept html in a post rather than a url so that it could render non-publically accessible urls. You can also pass it a base_url (which it passes on to weasyprint) for resolving relative urls for static assets in the html, which are usually publicly accessible. Runs on heroku for simplicity.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: