irc-github

module
v3.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2020 License: MIT

README

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:
  goplum:
    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

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL