2. Short History
Originally written by Matthew Turland
(Elazar) as a replacement for the Ai
bot in the #phpc IRC channel, written
in PHP so users could contribute.
Completely re-written version 2.0
released in January 2010.
52 forks, 104 watchers on GitHub.
3. Plugins or: she doesn't
look like much
All of Phergie's functionality is
provided by plugins.
The bot itself just receives messages
and passes them on to plugins for
handling.
Examples include: Google, Twitter,
Remind, Karma, Beer, Redmine, Url
4.
5. Writing Plugins
Really easy
Extend the Command plugin for
doing commands, or the abstract
class for more general functionality.
Helper plugins for doing Http
requests, etc.
6. The XMPP Driver
Phergie 2.0 refactored the IRC
connection handling as a driver.
Namesco had already installed an
XMPP server.
Phergie's functionality looked useful.
So I wrote an XMPP driver.
7. Proved to be amazingly easy to
implement.
New classes for the connection, the
host mask and events.
Now running reliably on our internal
chat server, working towards a public
release.
xmpp branch on my fork:
http://github.com/alexmace/phergie
8. Redmine Plugin
Posts details of tickets mentioned in chat.
Plan to extend to time tracking, issue
assignment, sprint information.
Working towards integration into core
release of Phergie.
Very easy to write similar plugin for your
preferred issue tracking software.