Ratiocolor is a small plugin for ruTorrent. It colours the Ratio column of your torrents, so you see at a glance which torrents still need seeding. It needs rTorrent - ruTorrent on your service. The steps were tested on our demo service.
1. Install Ratiocolor
In the Client Area, open your service and the Apps tab. Click Install at Ratiocolor. It has no page and no login of its own; its details only show REINSTALL and UNINSTALL.
Open ruTorrent and refresh the page with Ctrl+F5 (on a Mac Cmd+Shift+R), so that your browser loads the plugin. How to use ruTorrent: ruTorrent: Add and Manage Torrents in Your Browser.
2. The Colours
The Ratio cell (1) of each torrent gets a colour by its ratio. The colour changes smoothly between these levels:
- ratio 0: red;
- ratio 1: orange;
- ratio 3: green;
- ratio 30 and more: blue.
In the picture, the torrent has just finished and has not uploaded anything yet, so its ratio 0.000 is red.
3. Change the Levels and Colours
The settings are at the top of the file init.js of the plugin. Connect with SSH (How to Connect to Your App Hosting Service via SSH) and open it:
nano ~/www/*/$(whoami)/rutorrent/plugins/ratiocolor/init.js
levels = [0, 1, 3, 30];: the ratios of the colour levels; the first one must be 0.colors = [...]: one colour for each level, as red, green, blue from 0 to 255.changeWhat = "cell-background";: change it to"font"to colour the text instead of the cell.
Save the file and refresh ruTorrent with Ctrl+F5. Keep a copy of the original file before you change it.
Buttons in the Client Area
- REINSTALL installs Ratiocolor again, UNINSTALL removes it from ruTorrent. The Client Area asks you to confirm both.

