SlideShare ist ein Scribd-Unternehmen logo
1 von 9
Downloaden Sie, um offline zu lesen
Phergie
A PHP IRC (and XMPP) Bot
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.
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
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.
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.
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
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.
Links

Phergie - phergie.org

GitHub - http://github.com/phergie

IRC - #phergie on Freenode

Elazar - twitter.com/elazar

Weitere ähnliche Inhalte

Andere mochten auch

Acceleration in Journalism: A Theoretical Approach to a Complex Phenomenon
Acceleration in Journalism: A Theoretical Approach to a Complex PhenomenonAcceleration in Journalism: A Theoretical Approach to a Complex Phenomenon
Acceleration in Journalism: A Theoretical Approach to a Complex Phenomenon
Uwe Krüger
 
TorinoStoria_n11_nov2016
TorinoStoria_n11_nov2016TorinoStoria_n11_nov2016
TorinoStoria_n11_nov2016
cpz
 

Andere mochten auch (20)

¿Lo sabias? LIX
¿Lo sabias? LIX¿Lo sabias? LIX
¿Lo sabias? LIX
 
Portfolio dana matei 2015
Portfolio dana matei 2015Portfolio dana matei 2015
Portfolio dana matei 2015
 
MongoDB Days UK: No Compromises SQL Connectivity for MongoDB
MongoDB Days UK: No Compromises SQL Connectivity for MongoDBMongoDB Days UK: No Compromises SQL Connectivity for MongoDB
MongoDB Days UK: No Compromises SQL Connectivity for MongoDB
 
Silenci sve
Silenci sveSilenci sve
Silenci sve
 
Fondos inversion primer semestre2013 rentabilidades_rafaelalguacilroldan_inverco
Fondos inversion primer semestre2013 rentabilidades_rafaelalguacilroldan_invercoFondos inversion primer semestre2013 rentabilidades_rafaelalguacilroldan_inverco
Fondos inversion primer semestre2013 rentabilidades_rafaelalguacilroldan_inverco
 
Acceleration in Journalism: A Theoretical Approach to a Complex Phenomenon
Acceleration in Journalism: A Theoretical Approach to a Complex PhenomenonAcceleration in Journalism: A Theoretical Approach to a Complex Phenomenon
Acceleration in Journalism: A Theoretical Approach to a Complex Phenomenon
 
Pedro Espino Vargas - Plan negocios empresa_turistica
Pedro Espino Vargas - Plan negocios empresa_turisticaPedro Espino Vargas - Plan negocios empresa_turistica
Pedro Espino Vargas - Plan negocios empresa_turistica
 
TorinoStoria_n11_nov2016
TorinoStoria_n11_nov2016TorinoStoria_n11_nov2016
TorinoStoria_n11_nov2016
 
e & mobile commerce global market overview 2015
e & mobile commerce global market overview 2015e & mobile commerce global market overview 2015
e & mobile commerce global market overview 2015
 
ESTUDIO DE ADSORCION PARA Cr (VI) UTILIZANDO CHACAY (ULEX EUROPAEUS) COMO C...
ESTUDIO DE ADSORCION PARA Cr (VI) UTILIZANDO CHACAY (ULEX EUROPAEUS)   COMO C...ESTUDIO DE ADSORCION PARA Cr (VI) UTILIZANDO CHACAY (ULEX EUROPAEUS)   COMO C...
ESTUDIO DE ADSORCION PARA Cr (VI) UTILIZANDO CHACAY (ULEX EUROPAEUS) COMO C...
 
Datos personales
Datos personalesDatos personales
Datos personales
 
Monter et réussir son projet musical
Monter et réussir son projet musicalMonter et réussir son projet musical
Monter et réussir son projet musical
 
BF170
BF170BF170
BF170
 
How to Get Leads to your Business Website
How to Get Leads to your Business WebsiteHow to Get Leads to your Business Website
How to Get Leads to your Business Website
 
Curso de ms dos
Curso de ms dosCurso de ms dos
Curso de ms dos
 
Informe 2011 Medios de Comunicación en Redes Sociales (GAD3) - JUL11
Informe 2011 Medios de Comunicación en Redes Sociales (GAD3) - JUL11Informe 2011 Medios de Comunicación en Redes Sociales (GAD3) - JUL11
Informe 2011 Medios de Comunicación en Redes Sociales (GAD3) - JUL11
 
Pesquisa - Empresas de engenharia, consultoria, manutenção e instalação [Revi...
Pesquisa - Empresas de engenharia, consultoria, manutenção e instalação [Revi...Pesquisa - Empresas de engenharia, consultoria, manutenção e instalação [Revi...
Pesquisa - Empresas de engenharia, consultoria, manutenção e instalação [Revi...
 
Las lenguas de España 6, el vasco
Las lenguas de España 6, el vascoLas lenguas de España 6, el vasco
Las lenguas de España 6, el vasco
 
Madurez en Gerencia de Proyectos
Madurez en Gerencia de ProyectosMadurez en Gerencia de Proyectos
Madurez en Gerencia de Proyectos
 
Rectus Femoris Injuries. Experience at Sevilla FC
Rectus Femoris Injuries. Experience at Sevilla FCRectus Femoris Injuries. Experience at Sevilla FC
Rectus Femoris Injuries. Experience at Sevilla FC
 

Ähnlich wie Phergie, An IRC (and XMPP) Bot

Fluentd and PHP
Fluentd and PHPFluentd and PHP
Fluentd and PHP
chobi e
 
Phase 1 Software Progress ReportCard Czar Android AppCMS.docx
Phase 1 Software Progress ReportCard Czar Android AppCMS.docxPhase 1 Software Progress ReportCard Czar Android AppCMS.docx
Phase 1 Software Progress ReportCard Czar Android AppCMS.docx
randymartin91030
 
Eclipse pdt indigo release review
Eclipse pdt   indigo release reviewEclipse pdt   indigo release review
Eclipse pdt indigo release review
Giang Nguyễn
 
Search Lucene
Search LuceneSearch Lucene
Search Lucene
Jeremy Coates
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
Niit
 

Ähnlich wie Phergie, An IRC (and XMPP) Bot (20)

Xmpp and java
Xmpp and javaXmpp and java
Xmpp and java
 
このPHP拡張がすごい!2017
このPHP拡張がすごい!2017このPHP拡張がすごい!2017
このPHP拡張がすごい!2017
 
Gerrit linuxtag2011
Gerrit linuxtag2011Gerrit linuxtag2011
Gerrit linuxtag2011
 
introduction to linux desktop draft 5
introduction to linux desktop draft 5introduction to linux desktop draft 5
introduction to linux desktop draft 5
 
Web_Development_Using_PHP.pdf
Web_Development_Using_PHP.pdfWeb_Development_Using_PHP.pdf
Web_Development_Using_PHP.pdf
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
t1837
t1837t1837
t1837
 
t1837
t1837t1837
t1837
 
Teaming up with robot!
Teaming up with robot!Teaming up with robot!
Teaming up with robot!
 
Fluentd and PHP
Fluentd and PHPFluentd and PHP
Fluentd and PHP
 
Phase 1 Software Progress ReportCard Czar Android AppCMS.docx
Phase 1 Software Progress ReportCard Czar Android AppCMS.docxPhase 1 Software Progress ReportCard Czar Android AppCMS.docx
Phase 1 Software Progress ReportCard Czar Android AppCMS.docx
 
PHP: Hypertext Preprocessor Introduction
PHP: Hypertext Preprocessor IntroductionPHP: Hypertext Preprocessor Introduction
PHP: Hypertext Preprocessor Introduction
 
Eclipse pdt indigo release review
Eclipse pdt   indigo release reviewEclipse pdt   indigo release review
Eclipse pdt indigo release review
 
Ansible, Idempotency, and Jenkins
Ansible, Idempotency, and JenkinsAnsible, Idempotency, and Jenkins
Ansible, Idempotency, and Jenkins
 
Search Lucene
Search LuceneSearch Lucene
Search Lucene
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
Advances in Open Source Password Cracking
Advances in Open Source Password CrackingAdvances in Open Source Password Cracking
Advances in Open Source Password Cracking
 
Insight into progam execution ppt
Insight into progam execution pptInsight into progam execution ppt
Insight into progam execution ppt
 

Kürzlich hochgeladen

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 

Phergie, An IRC (and XMPP) Bot

  • 1. Phergie A PHP IRC (and XMPP) Bot
  • 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.
  • 9. Links Phergie - phergie.org GitHub - http://github.com/phergie IRC - #phergie on Freenode Elazar - twitter.com/elazar