Client ruby gem(may be not a gem yet!) for accessing digitalocean droplets to download torrents on them and rsync them to you local hardrive.
Note: The script assumes that you have an image under your digitalocean account that has qbittorrent
installed on it. Also, it assumes that the ssh key of the machine is added under your digitalocean account(It creates the droplet with it).
-
Follow instructions here and get an access token. Assign it to the variable
access_token
in the script. -
Add the path of the ssh key pair on your host machine to the array
keys
in the script. Examplekeys = ['/Users/badAssCowBoy/.ssh/id_rsa']
Run it with
./helper.rb -i "your-snapshot-name" -s 512mb -r sgp1 -k "your_ssh_key_name_in_your_digital_ocean_account" -m 'your_torrents_magnetic_link'
Will add more details soon. Feel free to write to me if you have any questions.