phhusson / quassel-irssi

An irssi plugin to connect to quassel core
62 stars 16 forks source link

quassel-irssi

An irssi plugin to connect to quassel core

You can discuss about it on #quassel-irssi on Freenode.

Huge thanks to QuasselDroid. QuasselDroid protocol code is way easier to read than Quassel's.

How to build

First install irssi-dev (on debian-based distributions) or irssi-devel (on rpm distributions), everything needed to compile C code, based on glib2 and git. You might also need SSL libs (libssl-dev on debian) Then:

git clone --recursive https://github.com/phhusson/quassel-irssi.git
cd quassel-irssi/core
make user_install

How to use

Edit ~/.irssi/config and add a quassel chatnet with Quassel type, and your quassel server accordingly:

chatnets = {
  quassel_phh = {
    type = "Quassel";
  };
};

servers = (
  { address = "quassel.phh.me"; port = "4242"; chatnet = "quassel_phh"; password="password"; use_ssl="yes"; }
);

You may disable ssl if you really need to.

You also need to have your login equal to your nick:

settings = {
  core = { nick = "phh"; };
}

(I'm guessing it's not needed, you can specifiy it on /connect command)

Then, launch irssi, and do:

/load quassel
/connect quassel_phh

(where quassel_phh is the chatnet name)

To automtically connect to it, you can add:

load quassel
connect quassel_phh

in your ~/.irssi/startup

If someone knows how to do all this 100% from irssi text frontend, i'd appreciate it :-)

Associated scripts

Available settings

In appropriate chatnet section (in this example, quassel_phh section), you can add some settings:

Phh's config

I'm using the following scripts:

If you're using screen, you may want to add nicklist.pl.

Dependencies

You'll need basic build systems, openssl, irssi, and glib libraries and includes to build this.

For instance on a debian/ubuntu:

apt-get install build-essential libglib2.0-dev irssi-dev libssl-dev

Additional notes

If you don't want to have your password in your config file, you can drop the password="" option and call: /server quassel-core.example.net 0 [yourpassword]