Git Product home page Git Product logo

labelbot's Introduction

Labelbot Build Status

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
  • BotMan
  • Enqueue with RabbitMQ transport
  • Redis 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=<ngrok_url_with_https>

To delete webhook use bin/console app:webhook --delete

Testing

  1. make prepare-test-env
  2. make test

labelbot's People

Contributors

kubk avatar

Stargazers

 avatar

Watchers

 avatar  avatar

labelbot's Issues

HTTP basic auth

  • Restrict access for telegram endpoints with HTTP basic auth
  • Pass HTTP basic credentials in the url for telegram webhooks

Deploy

Travis CI and Deploy

Travis CI must be configured for running tests and deploy.

  • Run tests 276b92f
  • Trigger deploy script after success

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.