xib is an XMPP <-> IRC bridge bot written in python. It is licensed under GPLv3.
You can get the source code on the xib git repository.
Current version: 0.2
xib is not stable nor feature-complete yet, if you want/need a failsafe bot, don't use this one !
Note: xib includes its own version of the old irclib.py because this library doesn't correctly handle the different character encodings.
If you are not installing xib from a package manager I suggest you put the files in /usr/local/share/xib
To start xib bots just execute start_bots_from_xml_config.py, this script takes the path to a configuration file as optional first parameter, if no such parameter is given it will search the current directory for a file named config.xml.
start_bots_from_xml_config.pyCopy example_config.xml and modify it to fit your needs.
mode is a per-bridge attribute, it can take three values:
normal:limited:minimal:say_level is a per-bridge attribute, it can take 6 values, each value contains the ones below itself:
all, default value, say everythinginfo, contains participants' joining and leaving events in limited and minimal modesnoticewarning, contains nickname conflicts and everything that is not fatal to the bridgeerrornothing, don't say a wordxib does not directly handle logging for now so you have to do it the old school way, for example:
mkdir /var/log/xib
touch /var/log/xib/1.log
cd /usr/local/share/xib && ./start_bots_from_xml_config.py 1>/var/log/xib/log 2>&1 &
umodestart_bots_from_xml_config.py