Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/raku/geth

GitHub Push Updates to IRC Bot
https://github.com/raku/geth

raku

Last synced: 4 months ago
JSON representation

GitHub Push Updates to IRC Bot

Awesome Lists containing this project

README

        

# Geth

An IRC bot written in the Perl 6 programming language, to announce GitHub
commits to various channels.

## Webhook Endpoint

The webhook endpoint is `https://geth.svc.tyil.net/?chan=#perl6` where `#perl6`
is the channel to report the commits to. Multiple channels can be specified,
separated with commas.

## Commit Filters

To add commit filters stick a `.pm6` file into `commit-filters/`
and make it contain 1 sub that takes 1 arg with a name.

1. Return undefined value to signal that filter did not match;
2. Return a `False` value to stop further processing of the event and do not
send any response to IRC;
3. Return a string to send it to IRC.