Jump to content

Installing autodl-irssi

From Pulsed Media Wiki


autodl-irssi is an IRC-based torrent autodownloader that monitors tracker announce channels and grabs new torrents matching your filters. On a Pulsed Media seedbox (also searched as seedbpx or seedbocx), it connects to RTorrent through the ruTorrent plugin and lets you automate downloads from private trackers without manual .torrent file handling.

Use autodl-irssi at your own risk. No support is provided for autodl-irssi. If you do not know what autodl is or what it does, you do not need it. If you cannot follow the instructions below, you should not be using autodl.

Support policy

autodl-irssi is a third-party tool. Pulsed Media does not provide support for it:

  • We will not fix configuration issues caused by autodl
  • We will not build automation scripts for you
  • We will not open system configs for autodl
  • Repeated tickets about autodl issues may incur extra service charges

If autodl breaks your setup, support extends only to wiping the seedbox so you can start fresh.

Script install (recommended)

The fastest way to install autodl-irssi on your Pulsed Media seedbox. Log in via SSH and run:

wget https://pulsedmedia.com/remote/autodl.txt -O autodl.sh; bash autodl.sh

This handles the download, extraction, plugin setup, and configuration in one step, including a random port and password.

Manual installation

If you prefer to install step by step, follow the sections below.

Installing autodl-irssi

Log in to your seedbox via SSH (PuTTY on Windows, Terminal on Mac/Linux) and run each command one at a time:

mkdir -p ~/.irssi/scripts/autorun
cd ~/.irssi/scripts
wget --quiet -O autodl-irssi.zip https://github.com/autodl-community/autodl-irssi/releases/download/2.6.2/autodl-irssi-v2.6.2.zip
unzip -o autodl-irssi.zip
rm autodl-irssi.zip
cp autodl-irssi.pl autorun/
mkdir -p ~/.autodl
touch ~/.autodl/autodl.cfg

autodl-irssi is now installed to ~/.irssi/scripts/ and set to autorun with irssi. Version 2.6.2, released in March 2020, is the latest upstream release.

Installing the ruTorrent plugin

The ruTorrent plugin gives you a web interface for managing autodl-irssi filters and settings.

cd ~/www/rutorrent/plugins/
git clone https://github.com/autodl-community/autodl-rutorrent.git autodl-irssi
cp autodl-irssi/_conf.php autodl-irssi/conf.php

Configuration

autodl-irssi and the ruTorrent plugin communicate over a local TCP connection. You need to set a matching port and password in both config files.

ruTorrent plugin config

nano ~/www/rutorrent/plugins/autodl-irssi/conf.php

Choose your own port between 1024 and 65535. Generate a random secret with this command and use it in both config files:

openssl rand -hex 16

Do not reuse a value from an example. The autodl-irssi GUI server listens on 127.0.0.1, which other accounts on the same server can also reach, so this secret is what keeps them out of your autodl settings.

Replace PORT and SECRET with your values:

$autodlPort = PORT;
$autodlPassword = "SECRET";

Save with Ctrl+X, then Y to confirm.

autodl-irssi config

nano ~/.autodl/autodl.cfg

Use the same port and secret:

[options]
gui-server-port = PORT
gui-server-password = SECRET

Save with Ctrl+X, then Y.

Starting autodl-irssi

Start irssi in a detached screen session:

screen -dmS autodl irssi

autodl-irssi will load automatically. Log in to your seedbox's ruTorrent interface and look for the autodl-irssi tab in the top bar.

To reattach to the irssi session later: screen -r autodl

See also