Phergie, An IRC (and XMPP) Bot

2,744 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,744
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Phergie, An IRC (and XMPP) Bot

  1. 1. PhergieA PHP IRC (and XMPP) Bot
  2. 2. 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.
  3. 3. 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
  4. 4. Writing PluginsReally easyExtend the Command plugin fordoing commands, or the abstractclass for more general functionality.Helper plugins for doing Httprequests, etc.
  5. 5. 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.
  6. 6. 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
  7. 7. 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.
  8. 8. LinksPhergie - phergie.orgGitHub - http://github.com/phergieIRC - #phergie on FreenodeElazar - twitter.com/elazar

×