Generate a pdf of a whole domain's pages, detected by crawling the URI given
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Gemfile
Gemfile.lock
license.txt
readme.md
site2pdf.rb

readme.md

site2pdf

Generate a pdf of a whole domain's pages, detected by crawling the URI given.

Example

ruby site2pdf.rb http://12factor.net

Depenedencies

  • wkhtmltopdf (brew install wkhtmltopdf)
  • mechanize (gem install mechanize)

License

MIT, a copy is bundled as license.txt