|
Note
|
I’m not really interested in working on this anymore, as it fulfills my need. However, I can understand someone else might want to try the same, so I put the code online to avoid double work. |
knbctl is a web interface for knb, an IRC bot to keep your nick on networks where there are no services.
If you host a knb for somebody with a dynamic ip and you don’t want to give shell access, then just install knbctl and the user will be able to self-administrate himself/herself.
First you need to edit the knbctl.config file. username and password is used for the web interface, try to login with any password to get the hash. The nick is the nick of the bot when it does not keep your nick. The knbdir directive specifies the directory where the <nick>.xml and the knb executable can be found.
When the user edits the details on the web and presses the submit button the <nick>.uf and <nick>.conf files are regenerated from the <nick>.xml file and the bot is restarted.
Once again:
You need to edit knbctl.config!
You need to have knbctl.config in the same dir as knbctl.py is and you need to have the <nick>.xml file where the knb execurable can be found.
Enjoy!
Back to my projects page.
Apache Server at vmiklos.hu Port 80Name Last modified Size Description
Parent Directory -
Changelog 27-Sep-2009 13:41 854
Makefile 01-Mar-2008 04:01 663
README 27-Sep-2009 13:41 1.4K
htaccess.sample 01-Mar-2008 03:41 68
knbctl-0.1.0.tar.gz 01-Mar-2008 04:13 3.3K
knbctl.config 01-Mar-2008 03:59 115
knbctl.py 15-Mar-2008 13:08 5.4K
sample.xml 01-Mar-2008 03:59 218