Skip to content
No Internet? No problem! Use AirplaneMode to gather documentation for offline viewing.
Ruby Shell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib
.gitignore
.rvmrc
Gemfile
LICENSE
README.md
Rakefile
airplane_mode.gemspec
configure

README.md

AirplaneMode

No Internet? No problem! Use AirplaneMode to gather documentation for offline viewing.

Don't waste people's bandwidth by mirroring with +wget+. AirplaneMode is a collection of server-friendly ways of obtaining offline documentation.

AirplaneMode is currently early in development. If you're interested, please become a watcher!

Installing

Install as a RubyGem via:

gem install airplane_mode

Features

Ideas

Code (from http://stackoverflow.com/questions/4506019/rails-3-guides-rubyonrails-org-in-pdf):

# sudo gem install rails
# sudo apt-get install ruby1.8-dev # required for RedCloth
# sudo gem install RedCloth
git clone git://github.com/rails/rails.git
cd rails
git checkout origin/3-0-stable -b 3-0-stable
cd railties/guides
ruby rails_guides.rb
cd output
open index.html
  • Maybe clone watched repos code (and wikis!) from GitHub
  • Top 100 gems (gems, docs, etc -- so it's harder to be stuck without a dependency)
  • Search (of the static HTML -- not sure of approach right now)

Contributing

Any and all contributions are welcome. Fork, submit a pull request, and I'll get back to you once I've had time to review the changes. Thank you for taking time to improve AirplaneMode!

Opening a Console

irb -I lib -r airplane_mode

Misc Notes

Related

License

GPLv2. See LICENSE for a copy.

Something went wrong with that request. Please try again.