No description
Find a file
2025-11-26 12:00:20 +00:00
.github Dependencies: switch to weekly with cooldown 2025-11-26 12:00:20 +00:00
cmd/distribution Update deps, dockerfile 2025-06-05 11:37:45 +01:00
.gitignore Initial version 2021-07-22 20:55:32 +01:00
CHANGELOG.md Update deps, dockerfile 2025-06-05 11:37:45 +01:00
Dockerfile Bump golang from 1.25.3 to 1.25.4 2025-11-06 02:02:04 +00:00
go.mod Update deps, dockerfile 2025-06-05 11:37:45 +01:00
go.sum Update deps, dockerfile 2025-06-05 11:37:45 +01:00
LICENCE Initial version 2021-07-22 20:55:32 +01:00
README.md Fix typo in link 2021-07-22 21:31:16 +01:00

Distribution IRC notifier plugin

Plugin for IRC-Bot

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

  • go build github.com/csmith/irc-distribution/cmd/distribution

Configuration

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

Once configured the URL to configure in distribution would be /distribution, for example:

notifications:
  endpoints:
    - name: irc
      url: https://mybothost.example/distribution
      headers:
        Authorization: [Bearer TheConfiguredBearerToken]
      timeout: 500ms
      threshold: 5
      backoff: 1s

Example running

distribution -rpc-host bot -rpc-token <as configured on the bot> -channel #spam -bearer-token cUCrb7HJ