Github's integration with Telegram
myGit is the your GiHub assistant. In your conversations with your team, you can simply insert the information about the projects you are working at.
Installation
Use the package manager pip to install dependencies.
pip install python-telegram-bot
pip install PyGithub
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
To cotribute you should create your own Telegram bot for development (e.g. development_myGit_bot). To create a new bot you need to open the Telegram app and find BotFather. Type /newbot and there will appear the instructions. After you received your telegram's bot API token you need to copy it '/token/token.txt'.
Now you are good to go.
python main.py
Docs
Get connected to the GitHub's API
import get_connection as github
git = github.get_connection(telegram_user_id)
Generating GitHub Token
myGit is using a personal access token instead of username and password to sign in in your GitHub's account. The tokens are more secure because you have full control of what someone can access with the token.