Sign inSign up

morlov/tg_gitlab

By morlov

•Updated over 9 years ago

Telegram Bot For GitLab

Image
0

265

morlov/tg_gitlab repository overview

https://github.com/MiklerGM/tg_gitlab⁠

⁠tg_gitlab

⁠NodeJS Telegram bot for GitLab

⁠Current status
  • Push Hook: supported
⁠Configure GitLab

To enable PUSH HOOK you need configure web hooks for each project Official documentation⁠

⁠Working with bot
  • Obtain TOKEN from @BotFather in Telegram
  • Configure GitLab
  • Install bot
⁠Available commands

* /gitlab_watch <projectName> Sending messages about updates for to this chat

* /gitlab_forget <projectName> Do not send messages about to this chat

* /gitlab_list Show list of subscriptions for updates

⁠Installation
docker pull morlov/tg_gitlab

TOKEN=YOUR_TOKEN_HERE
ADMIN=TELEGRAM_USERNAME
PORT=8080

docker run -t -i -d --publish 8080:$PORT \
    --name tgGitlabBot \
    --network bridge \
    --restart always \
    --env PORT="$PORT" \
    --env TOKEN="$TOKEN" \
    --env ADMIN="$USERNAME" morlov/tg_gitlab

Tag summary

Content type

Image

Digest

Size

15.2 MB

Last updated

over 9 years ago

docker pull morlov/tg_gitlab