Skip to content

Parses webhooks from supported services and sends to Telegram

Notifications You must be signed in to change notification settings

diogenesc/telegram-webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Webhook

A middleware API to convert webhook from supported services to Telegram messages

Deploy to Heroku

Deploy

Installation

Build with Go

  go build
  ./telegram-webhook

A server will start on 8080 port.

Enviroment variables:

You can create a .env on project root folder

PORT=8081 # Choose a diferent port
TELEGRAM_BOT_DEBUG=true # Show debug information from Telegram Bot

API Reference

BitBucket WebHook

  POST /bitbucket
Query Parameter Type Description
bot_token string Required. Your Telegram Bot Token
chat_id string Required. Where to send messages

Supported triggers:

  • Pipelines
  • Pull Request

GitHub WebHook

  POST /github
Query Parameter Type Description
bot_token string Required. Your Telegram Bot Token
chat_id string Required. Where to send messages

Supported triggers:

  • Workflows

About

Parses webhooks from supported services and sends to Telegram

Topics

Resources

Stars

Watchers

Forks

Languages