Skip to main content

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 :

  1. You can install the package with pip : pip install gitlab-webhook-telegram

  2. 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

  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitlab-webhook-telegram-1.1.tar.gz (20.7 kB view details)

Uploaded Source

File details

Details for the file gitlab-webhook-telegram-1.1.tar.gz.

File metadata

File hashes

Hashes for gitlab-webhook-telegram-1.1.tar.gz
Algorithm Hash digest
SHA256 c945559474ae2f68bc926b2a11e9b4c37e60ae98cafcaa2f16065af7a6905724
MD5 de2e5153aacce03f5f309c420fb6d5c3
BLAKE2b-256 74a87ac9e0f1db92aab73a780de9ea52396f1750fe1dcd73ae95f5456ea0bf2f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page