Skip to content

Instantly share code, notes, and snippets.

@sprin
Forked from markhibberd/irssi-xmpp.markdown
Created July 24, 2014 18:23
Show Gist options
  • Save sprin/92b634f9c86e34ffe32b to your computer and use it in GitHub Desktop.
Save sprin/92b634f9c86e34ffe32b to your computer and use it in GitHub Desktop.

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";
  };
};  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment