ruTorrent

ruTorrent is a front-end for the popular Bittorrent client rTorrent. Full documentation for ruTorrent is located in the ruTorrent GitHub wiki.

Customizing the code & adding new plugins

Follow these steps if you wish to be able to modify the source code of ruTorrent, or add new plugins:

  1. cp -R /usr/share/rutorrent/webui ~/.config/rutorrent/webui
  2. nano -w ~/.config/rtorrent/rtorrent.rc and replace this line:

execute = {sh,-c,/usr/bin/php /usr/share/rutorrent/webui/php/initplugins.php &}
with
execute = {sh,-c,/usr/bin/php ~/.config/rutorrent/webui/php/initplugins.php &}

You can now add your own plug-ins by placing their data in ~/.config/rutorrent/webui/plugins and refreshing ruTorrent. You will also have access to all other ruTorrent data and can do with it as you like.

If you would rather use the default installation again, delete or rename your custom webui directory:

  1. rm -r ~/.config/rutorrent/webui
  2. nano -w ~/.config/rtorrent/rtorrent.rc and replace this line:

execute = {sh,-c,/usr/bin/php ~/.config/rutorrent/webui/php/initplugins.php &}
with
execute = {sh,-c,/usr/bin/php /usr/share/rutorrent/webui/php/initplugins.php &}