High Speed Cloud Torrent Client
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. The client is Fast and easy to setup with great setting to Leech only and No Seeding. This guide will walk you through the setup for Ubuntu 16 but should work with any Debian flavor of Linux.
Features
*Single binary
*Cross platform
*Embedded torrent search
*Real-time updates
*Mobile-friendly
*Fast content server
Let start of with the prerequisite for the server.
apt-get update && apt-get upgrade -y && apt-get install git gcc nano
Now we need to install the Go language to run this application.
wget https://storage.googleapis.com/golang/go1.8.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.8.linux-amd64.tar.gz
rm go1.8.linux-amd64.tar.gz
Now we need to set the path for the Go command
export PATH=$PATH:/usr/local/go/bin
Now with the prerequisite out of the way lets install the Cloud Torrent Client
go get -v github.com/jpillora/cloud-torrent
Start The Client
/go/bin/cloud-torrent --port 3031 --config-path /root/cloud-torrent.json --title "CloudT" --log --auth "user:password"
Now Visit The client to Use
http://serverip:3031
(Optional – Auto Start & Service Setup)
First We need to move the Binary to the usr/bin folder
mv /root/go/bin/cloud-torrent /usr/local/bin/cloud-torrent
Now We need to create the Service file
nano /usr/lib/systemd/system/cloud-torrent.service
[Unit] Description=cloud-torrent [Service] WorkingDirectory=/root/ ExecStart=/usr/local/bin/cloud-torrent --port 3031 --config-path /root/cloud-torrent.json --title "Cloud Torrent" --log --auth "user:password" Restart=always RestartSec=3 [Install] WantedBy=multi-user.target
Enable the service
systemctl enable cloud-torrent
Start the service
systemctl start cloud-torrent
Confirm the service is running
systemctl status cloud-torrent