Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tsrivishnu/do-torrent-downloader
Program to download torrents on a DigitalOcean droplet and securely copy them to your local disk.
https://github.com/tsrivishnu/do-torrent-downloader
digital-ocean-droplet download-torrents golang torrent-downloader
Last synced: 30 days ago
JSON representation
Program to download torrents on a DigitalOcean droplet and securely copy them to your local disk.
- Host: GitHub
- URL: https://github.com/tsrivishnu/do-torrent-downloader
- Owner: tsrivishnu
- Created: 2015-08-10T08:23:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-10-21T07:00:14.000Z (about 2 years ago)
- Last Synced: 2024-10-03T02:40:59.697Z (about 2 months ago)
- Topics: digital-ocean-droplet, download-torrents, golang, torrent-downloader
- Language: Go
- Homepage:
- Size: 36.1 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# DigitalOcean torrent downloader
Program to download torrents using `qbittorrent` on a droplet on Digitalocean and Rsync the files via SSH to the local disk.
> Note: I built this program to download legal torrents to a machine that is behind a firewall preventing torrent traffic. This program can howwever download any torrent but the user needs to be careful and know whether they are legally allowed to download the torrents they are downloading.
### Prerequisites
* DigitalOcean's Personal Access Token for API access. You can manage them [here](https://cloud.digitalocean.com/settings/applications)
* Custom image on DigitalOcean with [`qbittorrent-nox`](https://github.com/qbittorrent/qBittorrent) installed.
* SSH access to the droplet usign a key file that is not password protected. (Will support password protected files soon in later versions.)
* `rsync` program installed on the host machine.### Installation
* Download the latest release (1.1.0)
```
bash -c "`curl -sL https://raw.githubusercontent.com/tsrivishnu/DO-torrent-downloader/v1.1.0/download.sh`"
```
* Make the `do-torrent-downloader.yml` from the example file and update the configuration to match yours.
```bash
curl -L -o do-torrent-downloader.yml "https://raw.githubusercontent.com/tsrivishnu/DO-torrent-downloader/v1.1.0/do-torrent-downloader.example.yml" && \
cp do-torrent-downloader.yml $HOME/do-torrent-downloader.yml
```
> The script looks for the configuration file in the current working directory or the user's home directory. You can place the file in any of the locations.### Build from source code.
* Clone this repository.
* Get the dependencies
```console
$ cd do_torrent_downloader
$ go get ./...
```
* Build
```console
# From within the root of the project.
$ go build main.go do_torrent_downloader
```### Usage
#### To download using magnet links
```bash
$ ./do-torrent-downloader -m "