Webarchive

This is a CUI tool for sending URIs to public web archiving tools such as web.archive.org and archive.today.

Requests are throttled.

Installation

Use this line to install it:

$ gem install webarchive

Usage

Launch it with

$ webarchive

and enter URIs from the standard input.

If you have a list of URIs in a file, use pipe.

$ cat list.txt | webarchive

It has optional command-line parameters:

$ webarchive -h

Usage: webarchive [options]
    -w, --wait=SECS                  wait for SECS before sending a request
    -d, --debug                      add debug output, implies verbose
        --verbose
        --version

Development

After checking out the repo, run bundle install to install dependencies. Then, run rake spec to run the tests.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome at https://gitlab.com/yusuke.matsubara/webarchive.

License

The gem is available as open source under the terms of the MIT License.