/cloud-torrent

☁️ Cloud Torrent: a self-hosted remote torrent client

Primary LanguageGoOtherNOASSERTION

screenshot

Cloud torrent is a a self-hosted remote torrent client, written in Go (golang). You start torrents remotely, which are downloaded as sets of files on the local disk of the server, which are then retrievable or streamable via HTTP.

Features

Install

Binaries

See the latest release or download it now with curl i.jpillora.com/cloud-torrent | bash

Source

Go is required to install from source

$ go get -v github.com/jpillora/cloud-torrent

Docker

$ docker run -d -p 3000:3000 -v /path/to/my/downloads:/downloads jpillora/cloud-torrent

VPS

Digital Ocean

  1. Sign up with free $10 credit
  2. "Create Droplet"
  3. "One-Click Apps"
  4. "Docker X.X.X on X.X"
  5. Choose server size ("$5/month" is enough)
  6. Choose server location
  7. OPTIONAL Add your SSH key
  8. "Create"
  9. You will be emailed the server details (IP Address: ..., Username: root, Password: ...)
  10. SSH into the server using these details (Windows: Putty, Mac: Terminal)
  11. Follow the prompts to set a new password
  12. Run cloud-torrent with:
```
docker run --name ct -d -p 63000:63000 \
  -v /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt \
  -v /root/downloads:/downloads \
  jpillora/cloud-torrent --port 63000
```
  1. Visit http://<IP Address from email>:63000/
  2. OPTIONAL In addition to --port you can specify the options below

Vultr

AWS

Heroku

Heroku is no longer supported

Usage

$ cloud-torrent --help

  Usage: cloud-torrent [options]

  Options:
  --title, -t        Title of this instance (default Cloud Torrent, env TITLE)
  --port, -p         Listening port (default 3000, env PORT)
  --host, -h         Listening interface (default all)
  --auth, -a         Optional basic auth in form 'user:password' (env AUTH)
  --config-path, -c  Configuration file path (default cloud-torrent.json)
  --key-path, -k     TLS Key file path
  --cert-path, -r    TLS Certicate file path
  --log, -l          Enable request logging
  --open, -o         Open now with your default browser
  --help
  --version, -v

  Version:
    0.8.11

  Read more:
    https://github.com/jpillora/cloud-torrent

Notes

This project is the version 2 rewrite of the original Node version.

overview

Credits to @anacrolix for https://github.com/anacrolix/torrent

License

Copyright (c) 2016 Jaime Pillora

Creative Commons Legal Code - Attribution-NonCommercial 3.0 Unported