Phergie, An IRC (and XMPP) BotPresentation Transcript
PhergieA PHP IRC (and XMPP) Bot
Short HistoryOriginally written by Matthew Turland(Elazar) as a replacement for the Aibot in the #phpc IRC channel, writtenin PHP so users could contribute.Completely re-written version 2.0released in January 2010.52 forks, 104 watchers on GitHub.
Plugins or: she doesnt look like muchAll of Phergies functionality isprovided by plugins. The bot itself just receives messagesand passes them on to plugins forhandling.Examples include: Google, Twitter,Remind, Karma, Beer, Redmine, Url
Writing PluginsReally easyExtend the Command plugin fordoing commands, or the abstractclass for more general functionality.Helper plugins for doing Httprequests, etc.
The XMPP DriverPhergie 2.0 refactored the IRCconnection handling as a driver.Namesco had already installed anXMPP server.Phergies functionality looked useful.So I wrote an XMPP driver.
Proved to be amazingly easy toimplement.New classes for the connection, thehost mask and events.Now running reliably on our internalchat server, working towards a publicrelease.xmpp branch on my fork:http://github.com/alexmace/phergie
Redmine PluginPosts details of tickets mentioned in chat.Plan to extend to time tracking, issueassignment, sprint information.Working towards integration into corerelease of Phergie.Very easy to write similar plugin for yourpreferred issue tracking software.