Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kubk/labelbot
Telegram bot that notifies you whenever an issue is tagged with a specific label on GitHub / BitBucket / GitLab
https://github.com/kubk/labelbot
botman enqueue rabbitmq symfony4 telegram
Last synced: about 23 hours ago
JSON representation
Telegram bot that notifies you whenever an issue is tagged with a specific label on GitHub / BitBucket / GitLab
- Host: GitHub
- URL: https://github.com/kubk/labelbot
- Owner: kubk
- Created: 2018-07-14T18:04:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-19T22:33:25.000Z (over 6 years ago)
- Last Synced: 2024-11-23T05:42:20.379Z (2 months ago)
- Topics: botman, enqueue, rabbitmq, symfony4, telegram
- Language: PHP
- Homepage:
- Size: 190 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Labelbot [![Build Status](https://travis-ci.org/kubk/labelbot.svg?branch=master)](https://travis-ci.org/kubk/labelbot)
Labelbot is a Telegram bot that allows you to subscribe to a label (for example **"good first issue"** or **"easy pick"**). Whenever an issue is tagged with the label you subscribed to, you will get a notification.
The main purpose of this project is to make a contribution to Open Source for newcomers a little bit easier.#### Features
- GitHub / BitBucket / GitLab support
- Email / Telegram notifications
- Labelbot can communicate with a user in multiple languages#### Technology stack
- [Symfony 4](http://symfony.com/)
- [BotMan](https://botman.io)
- [Enqueue](https://enqueue.forma-pro.com/) with RabbitMQ transport
- [Redis](https://redis.io/) is used for persisting ETag headers in order to prevent reaching the X-Rate-Limit imposed by GitHub### Requirements
- docker
- docker-compose### Installation
1) `git clone`
2) `docker-compose -f docker/docker-compose.dev.yml up`
3) `docker exec -it labelbot_php composer install`
4) `docker exec -it labelbot_php bin/console doctrine:database:create`
5) `docker exec -it labelbot_php bin/console doctrine:migrations:migrate`#### Configure Telegram webhook
The easiest way is to use Ngrok:1) `ngrok http 80`
2) `bin/console app:webhook --url=`To delete webhook use `bin/console app:webhook --delete`
#### Testing
1) `make prepare-test-env`
2) `make test`