CJWPres

A simple web status bot, which exports the status data via a UDP socket. The source code is licensed under the terms of the GNU GPLv2. You'll need the gloox library.

Download the up2date sources from Git:

git clone git://git.dolezel.info/cjwpres.git

Configuration

Edit the contents of the config.h file - create an account for the bot on the Jabber server and write the password into config.h. Then you can compile the program using make. When running, the program answers to UDP requests, by default on the port 9999 and the IP address 127.0.0.1. The server response format is simple, see the client implementation in php/cjwpres.php.