Phergie, An IRC (and XMPP) Bot
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Phergie, An IRC (and XMPP) Bot

on

  • 2,931 views

 

Statistics

Views

Total Views
2,931
Views on SlideShare
2,931
Embed Views
0

Actions

Likes
0
Downloads
6
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Phergie, An IRC (and XMPP) Bot Presentation Transcript

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