{"id":15572565,"url":"https://github.com/hatamiarash7/prometheus-telegram","last_synced_at":"2026-01-20T20:12:03.491Z","repository":{"id":37976869,"uuid":"466727077","full_name":"hatamiarash7/Prometheus-Telegram","owner":"hatamiarash7","description":"Yet another telegram bot handler for prometheus","archived":false,"fork":false,"pushed_at":"2026-01-15T06:06:29.000Z","size":281,"stargazers_count":3,"open_issues_count":59,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-15T12:43:38.436Z","etag":null,"topics":["alertmanager","monitoring","prometheus","telegram","telegram-bot","telegram-bot-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hatamiarash7.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-03-06T12:13:36.000Z","updated_at":"2024-12-09T17:29:51.000Z","dependencies_parsed_at":"2023-10-03T09:02:31.067Z","dependency_job_id":"fa13a215-045d-4ef7-8207-7ac7469b9040","html_url":"https://github.com/hatamiarash7/Prometheus-Telegram","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/hatamiarash7/Prometheus-Telegram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatamiarash7%2FPrometheus-Telegram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatamiarash7%2FPrometheus-Telegram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatamiarash7%2FPrometheus-Telegram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatamiarash7%2FPrometheus-Telegram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hatamiarash7","download_url":"https://codeload.github.com/hatamiarash7/Prometheus-Telegram/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatamiarash7%2FPrometheus-Telegram/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28612165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alertmanager","monitoring","prometheus","telegram","telegram-bot","telegram-bot-api"],"created_at":"2024-10-02T18:02:50.090Z","updated_at":"2026-01-20T20:12:03.468Z","avatar_url":"https://github.com/hatamiarash7.png","language":"Python","funding_links":["https://ko-fi.com/D1D1WGU9"],"categories":[],"sub_categories":[],"readme":"# Prometheus-Telegram\n\n[![Telegram Handler](https://github.com/hatamiarash7/Prometheus-Telegram/actions/workflows/Publish.yml/badge.svg)](https://github.com/hatamiarash7/Prometheus-Telegram/actions/workflows/Publish.yml) ![Docker Image Size (latest semver)](https://img.shields.io/docker/image-size/hatamiarash7/telegram-handler) ![Docker Image Version (latest semver)](https://img.shields.io/docker/v/hatamiarash7/telegram-handler)\n\nIt's a simple API to handle alert requests and send them via Telegram.\n\n![sample](.github/tg-sample.jpg)\n\n## How-to use\n\n1. Create a Telegram bot using [botfather](https://t.me/botfather)\n2. Keep `BOT TOKEN` for later\n3. Get your **Chat id** using [@BotChatId_bot](https://t.me/BotChatId_bot) ( Or other bots/ways )\n4. Run image with required environment variables\n\n   ```bash\n   docker run -d -p 8127:8127 \\\n       -e TG_HOST=https://api.telegram.org \\\n       -e TG_BOT_TOKEN='291043804:AAGHDLwaXNN2U2oI0uxCR35KsivsxNUqT3o' \\\n       -e TG_CHAT_ID='-200160323059' \\\n       hatamiarash7/telegram-handler:v1.2.0\n   ```\n\n5. Use [alertmanager](https://prometheus.io/docs/alerting/latest/alertmanager/) to send alerts using webhook to `http://\u003cIP\u003e:8127/api/alert` URL\n\n## Proxy\n\nWe have a `TG_HOST` env variables here to bypass any **filtering or blocking**. You can proxy your custom domain to `https://api.telegram.org` and use it here.\n\n```text\nhttps://telegram.domain.com -\u003e https://api.telegram.org\n```\n\nThere are many ways to do that, just search for it 😃\n\n---\n\n## Support 💛\n\n[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/D1D1WGU9)\n\n\u003cdiv\u003e\u003ca href=\"https://payping.ir/@hatamiarash7\"\u003e\u003cimg src=\"https://cdn.payping.ir/statics/Payping-logo/Trust/blue.svg\" height=\"128\" width=\"128\"\u003e\u003c/a\u003e\u003c/div\u003e\n\n## Contributing 🤝\n\nDon't be shy and reach out to us if you want to contribute 😉\n\n1. Fork it !\n2. Create your feature branch : `git checkout -b my-new-feature`\n3. Commit your changes : `git commit -am 'Add some feature'`\n4. Push to the branch : `git push origin my-new-feature`\n5. Submit a pull request\n\n## Issues\n\nEach project may have many problems. Contributing to the better development of this project by reporting them. 👍\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhatamiarash7%2Fprometheus-telegram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhatamiarash7%2Fprometheus-telegram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhatamiarash7%2Fprometheus-telegram/lists"}