Flood

Flood is an alternative rTorrent web interface using Node.js.

A random port number between 10000 and 65535 is needed and will be used to access Flood once installation is complete. The port number 18320 has automatically been generated and will be used throughout this article, but can be changed if needed.

Installation

  1. Install Node.js on your slot by following the installation instructions from our Node.js wiki article.

  2. Clone the Flood git repository on to your slot

     git clone https://github.com/jfurrow/flood.git
    
  3. Change to the Flood directory

     cd ~/flood
    
  4. Copy config.template.js to config.js

     cp config.template.js config.js
    
  5. Edit config.js

     nano config.js
    

    Change floodServerPort: 3000, to floodServerPort: 18320,

    On the line secret: 'flood',, change flood to a long, unique string. This is used to sign encryption tokens and should not be the same as any password you already use.

    Change socket: false, to socket: true,

    Change socketPath: '/tmp/rtorrent.sock' to socketPath: '/home/user/.config/rtorrent/socket'

  6. Install Flood

     npm install --production
    
  7. Launch Flood in a screen session

     screen -dmS flood npm run start:production
    
  8. Access Flood at http://server.whatbox.ca:18320. Choose a unique username and password you will use to access Flood.