|Ambrose Chua d8a5c11da8||1 year ago|
|.gitignore||1 year ago|
|Dockerfile||1 year ago|
|README.md||1 year ago|
|server.ts||1 year ago|
A simple Telegram Bot to notify of events. Works with both private and public repositories using Webhooks.
Add @serverwentdown_githubbot to your chat and type "/setup@serverwentdown_githubbot"
Webhook URLs can't be revoked, thus be careful when sharing them. This is a result of the stateless implementation of this bot.
Run in Docker with the below command. Remember to configure the required environmental variables.
docker run --rm -it -p 8080:8080 -e ... serverwentdown/githubbot
This variable is mandatory. Specify your telegram bot token. Use @BotFather to obtain this.
This variable is mandatory. Generate a random string of length greater that 12 for this. It is used as an internal secret by the bot to secure communication with Telegram.
This variable is mandatory. This is the base URL that must be externally accessible by your bot, without a trailing slash. If you mount your bot on a different path with a reverse proxy, include the directory in the base URL.
This variable is mandatory. Generate a random string of length greater that 12 for this. It is used as an internal secret to authenticate Webhook URLs.