README.md in rmega-0.2.0 vs README.md in rmega-0.2.1

- old
+ new

@@ -1,29 +1,38 @@ # Rmega -A ruby library for MEGA ([https://mega.co.nz/](https://mega.co.nz/)) -Requirements: Ruby 1.9.3+ and OpenSSL 0.9.8r+ +Pure ruby library for <img src="https://mega.co.nz/favicon.ico" alt=""/> **MEGA** [https://mega.nz/](https://mega.nz/). +Works on Linux and OSX with Ruby 1.9.3+. +## Installation -This is the result of a reverse engineering of the MEGA javascript code. +``` + gem install rmega +``` +## Command line usage -## Installation +Since version 0.2.0 you can use the commands `rmega-dl` and `rmega-up` to easily download and upload files to MEGA. - **Rmega** is distributed via [rubygems.org](https://rubygems.org/). - If you have ruby installed system wide, just type `gem install rmega`. + * Downloads are resumable + * HTTP proxy support + * See the CHANGELOG file for more info -## Usage +<img src="https://i.imgur.com/VVl55wj.gif"/> -```ruby -require 'rmega' -``` +*Pro tips:* +* Streaming: you can use a video player (e.g. VLC) to play videos while downloading them. +* Super privacy: you can use it combined with [torsocks](https://github.com/dgoulet/torsocks/) to download and upload files through the Tor network (very slow). + +## DSL usage + ### Login ```ruby -storage = Rmega.login('your@email.com', 'your_p4ssw0rd') +require "rmega" +storage = Rmega.login("your@email.com", "your_password") ``` ### Browsing ```ruby @@ -137,11 +146,5 @@ 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Added some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request - - -## Copyright - -Copyright (c) 2013 Daniele Molteni -MIT License