Overview :mag:

GitHub Parrot Bot - telegram bot for tracking GitHub repository events, such as:

  • Issues
  • Pull request
  • Check suits.
  • Check runs.

Also, you can connect your GitHub username to telegram username and bot will tag you if issue ot pull request refers to you.

Why GitHub Parrot? :thought_balloon:

Because it uses webhooks to get updates. No OAuth and right privileges!. Just safe webhooks. Sounds good, right? :smiley:

Getting started :crystal_ball:

Inviting the bot to Telegram chat :satellite:

To connect the bot to Telegram chat follow steps:

  1. Open the chat where you want to add the bot.
  2. Open chat settings.
  3. Press the Add Memeber button.
  4. Find bot using tag @GitHubIssuesPullsTrackingBot.
  5. Add the bot.
  6. Give the bot rights to delete messages.

So, when you have added the bot to your telegram chat - it’s time to add repository for tracking. One chat can be connected to several repositories as well as one repository to several chats.
To add the repository link follow steps:

  1. Come up with the secret word. Is can be any word from 4 to 255 symbols.
  2. Use next command in your Telegram chat to create a repository link:
      /add <repository name> <your secret word>
    

    Example:

      /add "octocat/hello-worId" hellodarkness
    
  3. Now move to your GitHub repository.
  4. Open repository setting and go to the Webhooks section.
  5. Press Add webhook.
  6. Set the Payload URL field to: here will be url.
  7. Set the Content type field to: application/json!
  8. Fill the Secret field with your secret word.
  9. Select webhook events or select send me everything option.
  10. Ensure that the Active flag is checked.
  11. Press Add webhook button.

Adding your GitHub nickname to bot :sunglasses:

When you have connected your repository you can create link between your Telegram and GitHub accounts. It means, that when bot sends updates it will tag you in chat if you are related to the issue or pull request. That called AKA.
To create AKA use following command in the chat:

/connect <github username>

Example:

/connect Octocat

Now, bot can tag you on new information updates.

Congratulations :rocket:

Congratulations, you have made basic bot setup and now you can track repository updates. Hope, you are pleased :smiley:.

What’s next :thought_balloon:

Now your GitHub repository issues, pull requests and other will appear in Telegram chat. :bell:

Giving rights :cop:

[instruction how to give bot rights]

Feedback :doughnut:

For developers :wrench: | Source usage :mortar_board:

You can find information about source code usage in Wiki.
Also, you can find short information in source code directories using README.md files.

  • Contents