Skip to content

tomazy/schmaltz

Repository files navigation

schmaltz

Scripts for downloading torrents in Germany (and other countries where you can get fined for it)

The script spins up a box in the cloud (Digital Ocean) and downloads the torrent there. Once the torrent is done it will be downloaded to your local box via secure ssh connection (rsync). After that the remote machine is deleted.

Requirements

  1. Digital Ocean account
  2. add your own ssh key to Digital Ocean
  3. configured Digital Ocean client (doctl)
  4. get a torrent

Usage

# list my ssh keys
$ doctl compute ssh-key list
ID      Name                    FingerPrint
XXYYZZ  my-key                  5a:28:6f:.....

# export my ssh-key id
$ export SSH_KEY_ID=XXYYZZ

# use the correct key
$ ssh-add ~/.ssh/my-key

# download a torrent
$ ./get-torrent.sh "magnet:?xt=urn......." && say 'Download completed!'

TODO

  • autogenerate the ssh key

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages