Jatter is a project mainly written in PHP and SHELL, based on the GPL-2.0 license.
Jabber/XMPP Bot - OLD CODE, here for reference
Jatter v1.2 - Interactive chat bot for Jabber
(c)2006 Andy Smith - [email protected]
Online help is available by doing '!help'. Still no documentation - have a look at the source :)
Jatter comes with the following, which are required:-
and the following which are optional:-
All are licensed under the LGPL or GPL and as such are included here.
i. Unpack the archive and move to a place of your choosing.
ii. Create a database and import contrib/jatter.sql into it.
iii. Edit config/conf.inc.php and change the Jabber/DB settings to suit.
If the account you're using doesn't exist, Jatter will attempt
to create one. If this is the case, it's worthwhile running
Jatter with:-
php ./jatter.php
on the first run to make sure a connection is made.
vi. Once running, please consider running !admin success. This will subscribe to a JID ([email protected]) so we can get an idea of Jatter's usage. Doing this will also allow [email protected] to see when your bot is online. If this is a problem for you, you should be able to remove authorisation from it by doing:-
!admin unauth [email protected]
Start the bot with './jatter start'.
To debug, change $jatter_debug to TRUE in config/conf.inc.php and start with
php ./jatter.php
Stop the bot with './jatter stop', or by sending '!admin halt'
Restart the bot with './jatter restart', or by sending '!admin restart'
None that are known, but there's undoubtably some hiding away somewhere.
The MySQL schema (bot.sql) is taken from a MySQL 5.x installation and may or may not work for you. It also has a table or two that isn't in use.
Admin commands aren't displayed when you do '!help' - read core/admin.inc.php if you want to know what they are.
If you subscribe to too many RSS feeds, or if any of the feeds are particularly slow, it slows everything down (see 6. Todo, below).
In short, if it doesn't work for you, see the website. And if you're not busy, feel free to help out with development!
The RSS feed checker can slow Jatter down. It might be a good idea to run something in parallel with the main Jatter process to do this.
Improve the 'jatter' start script.
Move the roster state array into the DB.
grep -r TODO * ;)
See http://jatter.sourceforge.net/