|
преди 6 години | |
---|---|---|
ci | преди 8 години | |
code | преди 6 години | |
test | преди 6 години | |
.gitignore | преди 8 години | |
.gitlab-ci.yml | преди 6 години | |
LICENSE | преди 8 години | |
README.md | преди 8 години | |
config.yaml.example | преди 8 години | |
gitlabircsender.py | преди 8 години | |
test.py | преди 6 години |
This tool allow accept web hooks from services like gitlab and depend on settings resend it to irc. It support for now all known web hook types in gitlab.
Supported web hook senders:
It support irc bot ii only. Why ii? Because it without overhead and allow send messages to irc from any language or shell
It start own web server on selected address and port and accept HTTP requests from web hooks. Accept one of configured hook type. Generate irc message and send to worker thread. Worker thread with configured period send messages to one of irc channels.
Gitlab irc sender written on python. Can works on python 2 and python 3
apt-get install python ii python-yaml python-requests
ii -s irc.freenode.org -i bot/irc.freenode.net -n mycoolbot -f mycoolbot
./gitlabircsender.py
For use copy it to config.yaml
Supported only one irc server at one instance.