A simple bot reacting to gitlab webhook
Project description
gitlab-webhook-telegram
What can gitlab-webhook-telegram can do for you ?
Gitlab-webhook-telegram (GWT) offers a simple app to monitore gitlab webhooks and to send message to telegram chats. It allows you to handler mutliple projects and multiple chats (only one instance of the project is needed). GWT also implements a daemon wrapper to use start, stop and restart and easily turn this python app into a service.
What can't GWT do for you ?
Coffee, a nuclear weapon and a large number of other things.
How to use it
Easy install :
- You can install the package with pip :
pip install gitlab-webhook-telegram
- Create /etc/gwt folder and copy config json files from the package (/home/username/.local/lib/python/site-packages/gwt/all.json. You need to change the owner of the folder (or a least the rights) in order to have the folder accessible (read, write) to the user
- Create a /var/log/gwt/ folder and give the required rights (read, write) to the user
You can then use the gwt command : gwt start gwt stop gwt restart gwt test
gwt start
: start the daemon
gwt stop
: stop the daemon
gwt restart
: stop and start the daemon
gwt test
: execute main method but without starting any daemon
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for gitlab-webhook-telegram-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b8e9bfedd401ca29f8584254b33576afffc816ce76ea157aeab163e426c1b7a |
|
MD5 | d2b1d8aed13754e9d81e5cf93c7e204c |
|
BLAKE2b-256 | 2e8c8324f6203958289bdd034e32709159b93a6e99664d91a5e7d2bdb642c399 |
Hashes for gitlab_webhook_telegram-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad74c4717db5421a5ee536ef4de708c76bbf5fa6cbd742f43479e8ca20772412 |
|
MD5 | bc1875697be657cc0c79f4332995e491 |
|
BLAKE2b-256 | 9741cf65040df10214ca0d54a623820fec00b127e3a5aa02dbd021e8b301d1e4 |