https://github.com/mxssl/sentry-to-telegram
This is a simple app to send Sentry alerts to a Telegram group
https://github.com/mxssl/sentry-to-telegram
Last synced: about 1 year ago
JSON representation
This is a simple app to send Sentry alerts to a Telegram group
- Host: GitHub
- URL: https://github.com/mxssl/sentry-to-telegram
- Owner: mxssl
- Created: 2024-03-16T01:36:36.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-17T09:21:52.000Z (over 1 year ago)
- Last Synced: 2025-04-15T11:17:00.711Z (about 1 year ago)
- Language: Go
- Size: 23.4 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sentry-to-telegram
This is a simple app to send Sentry alerts to a Telegram group.
## Usage
1. Create a Telegram bot and get the bot token.
2. Create a Telegram group and add the bot with permissions to post messages.
3. Get the chat ID of the group.
4. Set the environment variables `TELEGRAM_BOT_TOKEN` and `TELEGRAM_GROUP_ID` with the bot token and group ID.
5. Deploy the app and set the Sentry webhook to the app URL.
6. Done! Now you will receive alerts from Sentry in your Telegram channel.
Example of a `docker-compose.yaml` file:
```yaml
version: '3'
services:
sentry-to-telegram:
image: mxssl/sentry-to-telegram:v0.0.5
ports:
- "9999:9999"
restart: always
environment:
TELEGRAM_BOT_TOKEN: ""
TELEGRAM_GROUP_ID: ""
```