- This script lets you set up and use a temporary DigitalOcean droplet to download torrent files.
- Once downloaded, they can be streamed down to your local machine.
- This uses
transmission-clifor the torrent client, andnginxto serve files.
- This assumes that you have a DigitalOcean account and tugboat set up, as well as
seedbox-setup.shpresent in the current directory.
# Create a droplet on DigitalOcean
$ tugboat create seedbox
$ tugboat wait seedbox
$ tugboat info seedbox- Copy the IP address of the droplet, and use it for the following commands:
$ scp seedbox-setup.sh [email protected]:/tmp/- You can SSH in using
ssh [email protected]
$ sh /tmp/seedbox-setup.sh- When the first config file (for transmission) opens in Vim, change the values for these keys:
| Key | Value |
|---|---|
| download-dir | "/usr/share/nginx/www" |
| rpc-authentication-required | "false" |
| rpc-whitelist-enabled | "false" |
- Type
<esc>:wqto quit Vim. - The next config file that opens is the nginx config. Inside the
httpblock, addautoindex on; - Type
<esc>:wqto quit Vim.
- To add/manage torrents, go to
http://my.ip.address.here:9091/ - To view/download files, go to
http://my.ip.address.here/
- After the download is done, run
tugboat destroy seedboxlocally.