Create (or setup) Telegram Bot for GitHub Webhook Event Notifications #20
Labels
Difficulty: 🟡 medium
Task of medium difficulty requiring moderate effort.
Priority: ⚠️ medium
Medium priority tasks that should be addressed soon.
Status: 🕹️ on hold
Task temporarily on hold.
Type: ⚙️ infrastructure
Tasks for maintaining or improving system infrastructure.
Overview
We need to develop a Telegram bot that will receive specific GitHub webhook events related to our organization’s repositories and send them as notifications in a designated Telegram chat. The bot should capture the following events:
The bot should not send notifications when existing releases, comments (and etc.) are edited.
Currently, the project uses wopox1337/webhook for hosting the webhook handler on Deno Deploy, which is free. However, it lacks the ability to finely configure the required events without code intervention. Moreover, GitHub’s organization-level webhook settings do not provide granular control over which events are sent.
We are constrained by the fact that paid solutions are not an option for now due to the project's lack of financial backing. Therefore, we must rely on publicly accessible and free tools.
Requirements
Telegram Bot Development:
Webhook Configuration:
Testing and Deployment:
Tasks
Set up a Telegram bot:
Develop a webhook handler:
Host the webhook handler:
Configure GitHub Webhook:
Testing and Debugging:
Deploy the bot:
Acceptance Criteria
Notes
Important
It's important to note that creating a Telegram bot from scratch might not be necessary. There could be existing solutions that meet our requirements or can be easily adapted to fit our needs. Exploring open-source GitHub webhook bots or pre-built Telegram bot frameworks could save development time and effort. Customizing an existing solution to handle specific GitHub events (releases, commits, comments, discussions) and deploying it on a free hosting platform might be a more efficient approach.
The text was updated successfully, but these errors were encountered: