nk23x
4/4/2013 - 11:55 PM

irssi-xmpp

irssi-xmpp

Installation

FreeBSD

portmaster irc/irssi
portmaster irc/irssi-xmpp

OS X

brew install irssi
brew install loudmouth
git clone git@github.com:weiss/irssi-xmpp.git
cd irssi-xmpp
LDFLAGS='-flat_namespace -undefined warning -fPIC'; export LDFLAGS
make PREDIX=/usr/local/Cellar/irssi/0.8.15
make user-install

Configuration at runtime

/load xmpp
# gmail aaccont
/xmpconnect -host talk.google.com blah@gmail.com sekrit
# google apps domain
/xmpconnect -host talk.google.com blah@me.com sekrit
# general xmpp server (like openfire/ejabberd)
/xmpconnect -host jabber.me.com blah@jabber.me.com sekrit
# connect to a room (note, if you use openfire will generally be prefixed with conference)
/join room@conference.jabber.me.com
# see http://cybione.org/cgi-bin/cvsweb/~checkout~/irssi-xmpp/docs/GENERAL?cvsroot=irssi-xmpp&only_with_tag=REL051 for more commands

Configuration via ~/.irssi/config

Add to ~/.irssi/startup

/load xmpp

In ~/.irssi/config --

Add to or create servers sections:

servers = (
  {
    address = "talk.google.com";
    chatnet = "GTalk";
    password = "sekrit";
    autoconnect = "yes";
  },
  {
    address = "jabber.me.com";
    chatnet = "ME";
    password = "sekrit";
    autoconnect = "yes";
  }
)

Add to or create chatnets section:

chatnets = {
  GTalk = {
    type = "XMPP";
    nick = "name@gmail.com";
  };
  ME = {
    type = "XMPP";
    nick = "name@jabber.me.com";
  };
};