Skip to content

Instantly share code, notes, and snippets.

@OrangeTux
Last active June 19, 2021 13:18
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save OrangeTux/5729182 to your computer and use it in GitHub Desktop.
Save OrangeTux/5729182 to your computer and use it in GitHub Desktop.
Config for Irssi to connect to various XMPP chat servers. Replace the passwords, usernames an ids by your own. Remember, the irssi-xmpp (http://cybione.org/~irssi-xmpp/) plugin is requried.
# irssi-xmpp plugin required
# http://cybione.org/~irssi-xmpp/
servers = (
{
address = "chat.facebook.com";
chatnet = "facebook";
password = "<password>";
autoconnect = "true";
},
{
address = "talk.google.com";
chatnet = "gtalk";
password = "<password>";
#autoconnect = "true";
},
{
address = "chat.hipchat.com";
chatnet = "hipchat";
password = "<password>";
autoconnect = "true";
}
);
chatnets = {
gtalk = { type = "XMPP"; nick = "<email address>"; };
# https://www.facebook.com/settings?ref=mb
facebook = { type = "XMPP"; nick = "<facebook user name>"; };
# https://regrates.hipchat.com/account/xmpp
hipchat = {
type = "XMPP";
nick = "<Jabber id>";
};
};
channels = (
# Join Mutli-User Chat (MUC) automatically.
#
# In order to join a group conversation you have to use your HipChat nick name.
# You can do this automatically by setting 'set alternate_nick You HipChat Name' in a file
# 'startup' in the irssi folder.
{ name = "<Jabber id of group>@conf.hipchat.com"; chatnet = "hipchat"; autojoin = "Yes"; }
{ name = "<Jabber id of group>@conf.hipchat.com"; chatnet = "hipchat"; autojoin = "Yes"; }
);
@cprn
Copy link

cprn commented Feb 18, 2017

Does this still work? I thought Facebook and Hangouts are not supported for about a year now and this config file has 5 months?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment