Skip to content

A friendship Telegram's bot that connect a Repository on GitHub with a Scrum board on Trello

Notifications You must be signed in to change notification settings

hackvan/telegram-bot

Repository files navigation

Telegram Scrum Bot

A friendship Telegram's bot that connect a Repository on GitHub with a Scrum board on Trello.

Setup

You must setup the required enviroment variables inside .bashrc or .zshrc depend of your terminal configuration:

# Enviroment variables from telegram-scrum-bot gem:
export API_TELEGRAM_TOKEN="TOKEN-INFO"
export API_TRELLO_KEY="KEY-INFO"
export API_TRELLO_TOKEN="TOKEN-INFO"

Or for development create a .env file with the next information:

# Enviroment variables from telegram-scrum-bot gem:
API_TELEGRAM_TOKEN="TOKEN-INFO"
API_TRELLO_KEY="KEY-INFO"
API_TRELLO_TOKEN="TOKEN-INFO"

From the Github Repository:

git clone https://github.com/hackvan/telegram-bot.git

to start the bot's server application:

$ bundle install
$ bundle exec ruby lib/telegram-bot.rb

From the rubygems site:

https://rubygems.org/gems/telegram-scrum-bot

To install and execute the application:

$ gem install telegram-scrum-bot
$ telegram-scrum-bot

Telegram Bot

Telegram Bot Commands:

Initial Commands:

/start - bienvenida
/setup - asistente de configuración del bot
/help  - ayuda con los comandos del bot

Configuration Commands:

/setgithubuser - establece la configuración del usuario de github
/setgithubrepository - establece la configuración del repositorio de github
/getgithubuser - obtiene la configuración del usuario de github
/getgithubrepository - obtiene la configuración del repositorio de github

Work Commands:

/issues - consultar el listado de Issues en el repositorio de Github
/trello - sincroniza los issues del repositorio en un tablero de Trello

About

A friendship Telegram's bot that connect a Repository on GitHub with a Scrum board on Trello

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published