Skip to content

spring1944/logbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logbot

simple IRC bot to serve github notifications and such for the S44 project, but written (so far) in a fairly general way.

##usage clone, create logbot.conf with contents like this:

{
  orgs => {
    <github organization login> => {
	  github => {
		webhook_secret => 'something secret that went into the GH webhook interface',
	  },
	  channels => [ '#channelOne', '#channelTwo' ],
	},
	<other github organization login> => {
	   ... same as first, but different secret and channels
	}
  },

  irc => {
    nick => 'LogBot',
    user => 'logbotUser',
    pass => 'something secret that identifies the user on the IRC server',
    server => 'irc.coolircserver.com:6667'
  }
};

then, run it with:

./script/logbot daemon -m production -l http://*:8080

...a wild bot appears!

tech

based on Mojolicious and Mojo::IRC

TODO

  • add more events to the github handler
  • log chat, provide a simple interface to look at it/search it
  • tests that don't involve running cURL

About

simple IRC bot to serve github notifications and such

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages