Flood is a modern web UI for rTorrent with a Node.js backend and React frontend.
To get started, install Node.js and npm via NodeSource's PPA as a non-root user.
curl -sL https://deb.nodesource.com/setup_6.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt-get install nodejs
sudo apt-get install build-essential
Next step is to install Flood
sudo git clone https://github.com/jfurrow/flood.git
sudo cp config.template.js config.js
One small change to make:
sudo nano /srv/flood/config.js
In the config.js file, under scgi port change 5000 to the network.scgi.open_port listed in your
/home/user/.rtorrent.rc file, for me this was 39089 but it might be different for you.
sudo chown -R user:user /srv/flood/
npm install --production
Change "user:user" to your chosen username from when you installed QuickBox
Now to start Flood in screen
screen -S flood
Minimize the screen using Ctrl + A + D to keep Flood running in the background.
All done! Access Flood via http://example.com:3000
If you want to add a Flood menu entry into the QuickBox dashboard, open the custom.menu.php file located in the
Under the first section titled // INSERT YOUR CUSTOM EXTERNAL or INTERNAL LINKS HERE! // add
$floodURL = "http://" . $_SERVER['HTTP_HOST'] . ":3000/";
Next, find the section titled // INSERT YOUR CUSTOM EXTERNAL or INTERNAL MENU ITEMS HERE! // and add
<li><a class="grayscale" href="<?php echo "$floodURL"; ?>" target="_blank"><img src="img/brands/flood.png" class="brand-ico"> <span>Flood</span></a></li>
Lastly, go to the
/srv/rutorrent/home/img/brands directory and add the below
flood.png image to the folder.