Skip to content

General and simple IRC bot framework with very flexible bus architecture and plugins support, originally written for use as RPC gateway for remote message sending to multiple IRC channels or users.

License

Notifications You must be signed in to change notification settings

martinpoljak/pyircgate-daemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

 PyIRCGate Daemon 0.1
#####################
(c) 2009 - 2010 Martin Kozák (martinkozak@martinkozak.net)

Framework should be stable, but it hasn't been tested in real 
production environment.


Short Tutorial for Example Plugins Set
--------------------------------------

Example applications allows connect to daemon through RPC and send a message to
predefined multiple IRC channels through it.

Targets are groups of channels and/or users.

Configuration for modules (plugins, transfer agents) are placed in the agent's
and module's folders. Automatic authorization to NickServ isn't supported, only 
standard IRC password authorization is. But it's posible to send to NickServ an 
authorization message manually by creating appropriate target and sending it to 
this target manually.

Crucial part of the example application is module ./modules/ircgate/ircgate.py,
functions shutdown() and reload() are general, so they are defined in 
./modules/system/system.py. Framework as is defined in main.py. 
XML-RPC a JSON-RPC are supported. API is:

 * shutdown([password])
 * reload([password])
 * ircgate(target, message[, password])
 
Or directly from (and through) IRC protocol:

 * shutdown[ password] (via query) -- shutdown server
 * reload[ password] (via query) -- reload server including (for example 
      new one) configuration

Bot can be run through 'python main.py'. Small examples of RPC clients are 
available at ./clients. 

Modules can be deactivated by joing the ".off" extension.


About

General and simple IRC bot framework with very flexible bus architecture and plugins support, originally written for use as RPC gateway for remote message sending to multiple IRC channels or users.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages