xib

Warning : I neither use nor maintain this project anymore.

Introduction

xib is an XMPPIRC bridge bot written in python. It is licensed under GPLv3.

You can get the source code from the xib git repository : git://changaco.net/xib.git

Current version : 0.3

xib is neither stable nor feature-complete, if you want/need a failsafe bot, don't use this one !

xib dependencies

Note : xib includes its own version of the old irclib.py because this library doesn't correctly handle the different character encodings.

How to install and run xib bots

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.

How to write a configuration file understandable by start_bots_from_xml_config.py

Copy example_config.xml and modify it to fit your needs.

The different modes of the xib bots

mode is a per-bridge attribute, it can take three values :

Configure what the bot says on rooms

say_level is a per-bridge attribute, it can take 6 values :

How to log xib bots output

xib 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 &

Changelog

Comments

Add a comment