How to install Cloud Torrent on Debian 9

20th Mar 2018 Karibu

When you want to download some torrents on a different machine and get a direct link to download it back through HTTP, you don't have much choices. But Cloud Torrent is one of them.

I recently refreshed my article on Flood, a modern Web-Ui for Rtorrent, that enable you to get directly via HTTP, the torrent you just downloaded on the machine. As it is based on rtorrent, it also has plenty of others features. But if you are looking for a simple web torrent downloader. (Add a torrent, get it back), Cloud Torrent is probably the best for this.

Written in Go (golang), Cloud Torrent is a self hosted remote torrent client. You simply can add torrents (URL or magnet) that will be downloaded on the local disk of the server, which is then retrievable or streamable via HTTP.

Here are the main features:

  • Single binary (Meaning a very simple installation)
  • Cross platform
  • Embedded torrent search
  • Real-time updates
  • Mobile-friendly

The dev is working on few others features, especially on the RSS one, that will enable us to download automatically new release of your favorite shows.


You don't need much, beside a Apache server and curl.

1) Install Curl

Simply run (In root or with sudo):

apt install curl

2) Download the latest version of Cloud Torrent and install it

curl! | bash

3) Create a systemd service to launch it at boot time

First we will create a folder dedicated for the configuration and for the downloads folder.

mkdir /home/user/cloud-torrent

Replace user by your own user (This step is actually optional, if you already have a dedicated folder for your torrent).

Now create the systemD service file:

nano /etc/systemd/system/cloud-torrent.service

And add:


ExecStart=/usr/local/bin/cloud-torrent --port 8080 --config-path /home/user/cloud-torrent/cloud-torrent.json --title "Cloud Torrent" --log --auth "user:password"


You will need to replace the user:password variable by the one you want as it will be used to access to your Cloud Torrent instance.

Now enable it and start it

systemctl enable cloud-torrent
systemctl start cloud-torrent

You should now have access to your Cloud Torrent instance through your IP:8080.

4) Create a dedicated virtualhost

It's not convenient to use the port number to access Cloud Torrent. You might want to access it through a dedicated subdomain may be. Here is how to do it.

First you will need the mods proxy-html and proxy-http enabled. In root, or with sudo, simpy run:

apt install libapache2-mod-proxy-html
a2enmod proxy_http

Now create a dedicated virtualhost

nano /etc/apache2/sites-available/cloud-torrent.conf

and add:

<VirtualHost *:80>

        ServerAdmin webmaster@localhost
        ServerName dl.domain.tld

        ProxyRequests Off
        Require all granted
        ProxyPass / http://localhost:8080/
        ProxyPassReverse / http://localhost:8080/

    ErrorLog ${APACHE_LOG_DIR}/cloud-torrent_error.log
    CustomLog ${APACHE_LOG_DIR}/cloud-torrent_access.log combined


Enable the configuration and restart Apache Still in root, run:

a2ensite cloud-torrent
systemctl reload apache2

And that's it, you should now have access to your Clood Torrent instance by connecting directly to your subdomain!


Loves to discover web-based apps to install on his own server@home and write articles about it


Add a comment


bitcoin double script
Written on Sat, 14 Mar 2020 04:26:40 by Forexdymn j d 6 3
Written on Thu, 16 Jan 2020 05:46:09 by DouglasAgort
canadian pharmacy generic viagra real cialis without a doctor prescription
Written on Sat, 28 Dec 2019 00:06:26 by CharlesswalK
viagra coupons 75% off viagra boner sildenafil 20 mg vs viagra how long does viagra last viagra cost cialis vs viagra
Written on Fri, 27 Dec 2019 20:55:59 by MichaelHak
side effects of viagra viagra samples from pfizer how much does viagra cost what helps viagra work better otc viagra sildenafil citrate generic viagra 100mg|f2682c2ed6193e284aef8107b2e62a4e&link=
Written on Fri, 27 Dec 2019 12:01:21 by MichaelHak
cheapest viagra viagra cost canadian pharmacy viagra cheapest viagra free viagra generic viagra prices
Written on Thu, 26 Dec 2019 14:17:15 by MichaelHak
sildenafil 20 mg vs viagra viagra erection buy viagra online viagra samples free viagra viagra prices">buy
Written on Wed, 25 Dec 2019 09:42:28 by MichaelHak
viagra in action legitimate cialis by mail
Written on Wed, 25 Dec 2019 09:41:48 by CharlesswalK
cost of viagra sildenafil citrate generic viagra 100mg viagra single packs viagra without a doctor prescription walmart п»їviagra 100mg viagra without a doctor prescription
Written on Tue, 24 Dec 2019 14:42:38 by MichaelHak
5mg cialis viagra 100mg
Written on Tue, 24 Dec 2019 14:31:17 by CharlesswalK
generic viagra without subscription canada viagra sildenafil citrate generic viagra 100mg
Written on Mon, 23 Dec 2019 03:00:00 by GlennMer
viagra cost per pill cost of viagra 100mg generic viagra 100mg
Written on Sat, 21 Dec 2019 15:54:48 by GlennMer
viagra substitute over counter viagra for women viagra without a doctor prescription walmart
Written on Thu, 19 Dec 2019 13:19:17 by GlennMer
when will generic viagra be available
Written on Wed, 18 Dec 2019 15:27:08 by GlennMer
viagra cost
Written on Wed, 18 Dec 2019 09:47:15 by GlennMer
reliable canadian pharmacy reviews canadian pharmacy viagra online pharmacy viagra
Written on Mon, 16 Dec 2019 14:09:51 by Georgeham
the pharmacy rx pharmacy canadian pharmacy 365
Written on Sun, 15 Dec 2019 21:35:00 by Georgeham
mexican pharmacy certified canadian pharmacy canadian pharmacies online
Written on Sun, 15 Dec 2019 16:15:57 by Georgeham
levitra adverse effects buy levitra online cheap
Written on Thu, 07 Nov 2019 16:47:18 by tliwnw
Csináltam valami hibásat, ... Fera
Written on Mon, 22 Oct 2018 21:37:17 by Szabó Ferenc
Corrected. Thanks for raising this!
Written on Sun, 01 Apr 2018 16:14:01 by Karibu
Thanks for you blog, mate, I'm an avid reader by way of subscription. Please have a look at your RSS feed URL, it seems to be broken. The correct one now is I suppose.
Written on Sun, 01 Apr 2018 08:14:52 by DaveBowman