Skip to content

greboid/irc-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github IRC notifier plugin

Plugin for IRC-Bot

Receives notifications from a Github instance and outputs them to a channel.

  • go build go build github.com/greboid/irc-github/v2/cmd/github
  • docker run greboid/irc-github

Configuration

At a bare minimum you also need to give it a channel, a github secret to verify received notifications on and an RPC token. You'll like also want to specify the bot host.

Optionally you can hide any notifications about private channels, or send them to a different channel.

Once configured the URL to configure in github would be /github

Example running

---
version: "3.5"
service:
  bot-github:
    image: greboid/irc-github
    environment:
      RPC_HOST: bot
      RPC_TOKEN: <as configured on the bot>
      CHANNEL: #spam
      GITHUB_SECRET: cUCrb7HJ
github -rpc-host bot -rpc-token <as configured on the bot> -channel #spam -github-secret cUCrb7HJ