https://github.com/csmith/irc-distribution
irc-bot plugin for docker distribution webhooks
https://github.com/csmith/irc-distribution
Last synced: 5 months ago
JSON representation
irc-bot plugin for docker distribution webhooks
- Host: GitHub
- URL: https://github.com/csmith/irc-distribution
- Owner: csmith
- License: mit
- Created: 2021-07-22T19:55:56.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-11-26T12:00:21.000Z (7 months ago)
- Last Synced: 2025-11-29T10:19:47.213Z (7 months ago)
- Language: Go
- Size: 116 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
## Distribution IRC notifier plugin
Plugin for [IRC-Bot](https://github.com/greboid/irc-bot)
Receives notifications from a [Distribution](https://github.com/distribution/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:
```yaml
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 -channel #spam -bearer-token cUCrb7HJ
```