ruTorrent - Plugins
ruTorrent's features can be extended in many different ways through the use of plugins. Though some more common ones will be installed when installing ruTorrent itself there are lots more that can be added.
Naturally, this guide assumes you know how to install ruTorrent (and have done so). Plugins are also added either via SSH or FTP and you may need to connect to your slot via SSH to configure some plugins. You will be instructed to connect via SSH where this is the case.
This page provides information on the most common custom plugins, how to install them and troubleshooting the most common problems that can arise. Please note though the plugins should work (if you follow the guide properly), Feral cannot provide much support for their use or help should anything go wrong. Please make sure you've read these FAQ pages fully as help on the problem may be covered already.
Table of contents
General method
Plugins can be added to ruTorrent simply by adding its directory to ruTorrent's plugins directory. This is possible in a number of ways, but the easiest is SSH. Since plugins are self-contained in their own directories, you can also just upload this to ruTorrent's plugin directory.
The method described below will pull the plugin from the ruTorrent plugin repository. If the plugin you want is listed under the 'Specific instructions' section please read those instructions first.
Plugins are built to target specific versions of ruTorrent. You should take care to make sure the version your plugin works with matches the version found in the browser title bar of the install on your slot. The instructions on this page are designed to work with the current version installed by Feral's software page.
Run the following commands to install from the ruTorrent repository, replacing plugin_name with the actual name of the plugin you wish to install:
version=v4.3.2 cd ~/www/$(whoami).$(hostname -f)/public_html/rutorrent/plugins/ git clone https://github.com/Novik/ruTorrent.git --depth 1 --branch "$version" mv ruTorrent/plugins/plugin_name ./ rm -rf ruTorrent
Unpack example
The following command is an example of this general method used with the unpack plugin:
version=v4.3.2 cd ~/www/$(whoami).$(hostname -f)/public_html/rutorrent/plugins/ git clone https://github.com/Novik/ruTorrent.git --depth 1 --branch "$version" mv ruTorrent/plugins/unpack ./ rm -rf ruTorrent
Third-party Plugins
Autodl irssi
A separate article covers installing autodl irssi.
Autobrr
A separate article covers installing Autobrr.
Discordpush
Discordpush is a ruTorrent plugin that sends messages on certain events, such as when a torrent is added, deleted or completes. The notification is sent to the a chosen Discord channel.
Installation
First you need to install the rutorrent plugin. Execute these commands to obtain and install the plugin to rutorrent:
git clone https://github.com/radonthetyrant/rutorrent-discord.git ~/rutorrent-discord-tmp mv ~/rutorrent-discord-tmp/discordpush ~/www/$(whoami).$(hostname -f)/public_html/rutorrent/plugins/ rm -rf ~/rutorrent-discord-tmp
Obtaining Webhook URL
To allow rutorrent to send Messages through the plugin to Discord servers, you need to obtain a Webhook URL from the Discord API. Here is how it works:
- Click on the "Edit Channel" button of the Text Channel you want the messages to appear (you have to own the necessary rights to do so)
- Navigate to the "Webhooks" Tab
- Click the Button "Create Webhook"
- Give the bot a name of your choice and make sure the correct Channel is selected
- Copy the Webhook URL at the bottom of the popover, you'll need that to configure the ruTorrent plugin.
- Click the Save Button
You may prefer to create your own Discord Guild and enable Desktop notifications to know instantly when you downloaded something.
Configuring the discordpush ruTorrent plugin
Open up (or refresh) your ruTorrent web UI. A "Discord" entry in the settings should appear.
- Open the "Discord Notifications" settings menu in ruTorrent
- Check "Enabled" at the top of the popup
- Enter the Webhook url you copied previously.
- Check any or all of the Torrent Events you want to get notified including "Addition" "Deletion" or "Finish"