{"id":23719593,"url":"https://github.com/maksim-paskal/telegram-gateway","last_synced_at":"2026-05-17T08:33:20.978Z","repository":{"id":42050395,"uuid":"239707353","full_name":"maksim-paskal/telegram-gateway","owner":"maksim-paskal","description":"Telegram gateway for Prometheus and Sentry","archived":false,"fork":false,"pushed_at":"2024-03-13T22:46:49.000Z","size":7121,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-12T05:02:04.522Z","etag":null,"topics":["prometheus","sentry","telegram"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maksim-paskal.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2020-02-11T08:01:12.000Z","updated_at":"2023-02-10T20:07:32.000Z","dependencies_parsed_at":"2024-06-21T11:54:25.992Z","dependency_job_id":null,"html_url":"https://github.com/maksim-paskal/telegram-gateway","commit_stats":{"total_commits":43,"total_committers":2,"mean_commits":21.5,"dds":0.4418604651162791,"last_synced_commit":"39e49263f76316971323169be9534e1c96d1a25e"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/maksim-paskal/telegram-gateway","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maksim-paskal%2Ftelegram-gateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maksim-paskal%2Ftelegram-gateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maksim-paskal%2Ftelegram-gateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maksim-paskal%2Ftelegram-gateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maksim-paskal","download_url":"https://codeload.github.com/maksim-paskal/telegram-gateway/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maksim-paskal%2Ftelegram-gateway/sbom","scorecard":{"id":613853,"data":{"date":"2025-08-11","repo":{"name":"github.com/maksim-paskal/telegram-gateway","commit":"39e49263f76316971323169be9534e1c96d1a25e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/chart-test.yml:1","Warn: no topLevel permission defined: .github/workflows/golangci-lint.yml:1","Warn: no topLevel permission defined: .github/workflows/release-chart.yml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/release.yml:7","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Warn: no topLevel permission defined: .github/workflows/validate-license.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.1.2 not signed: https://api.github.com/repos/maksim-paskal/telegram-gateway/releases/132795657","Warn: release artifact helm-chart-1.0.8 not signed: https://api.github.com/repos/maksim-paskal/telegram-gateway/releases/132795445","Warn: release artifact v1.1.1 not signed: https://api.github.com/repos/maksim-paskal/telegram-gateway/releases/109058180","Warn: release artifact v1.1.0 not signed: https://api.github.com/repos/maksim-paskal/telegram-gateway/releases/109046874","Warn: release artifact helm-chart-1.0.7 not signed: https://api.github.com/repos/maksim-paskal/telegram-gateway/releases/109057842","Warn: release artifact v1.1.2 does not have provenance: https://api.github.com/repos/maksim-paskal/telegram-gateway/releases/132795657","Warn: release artifact helm-chart-1.0.8 does not have provenance: https://api.github.com/repos/maksim-paskal/telegram-gateway/releases/132795445","Warn: release artifact v1.1.1 does not have provenance: https://api.github.com/repos/maksim-paskal/telegram-gateway/releases/109058180","Warn: release artifact v1.1.0 does not have provenance: https://api.github.com/repos/maksim-paskal/telegram-gateway/releases/109046874","Warn: release artifact helm-chart-1.0.7 does not have provenance: https://api.github.com/repos/maksim-paskal/telegram-gateway/releases/109057842"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/chart-test.yml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/maksim-paskal/telegram-gateway/chart-test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/chart-test.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/maksim-paskal/telegram-gateway/chart-test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/chart-test.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/maksim-paskal/telegram-gateway/chart-test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/chart-test.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/maksim-paskal/telegram-gateway/chart-test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golangci-lint.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/maksim-paskal/telegram-gateway/golangci-lint.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/golangci-lint.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/maksim-paskal/telegram-gateway/golangci-lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-chart.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/maksim-paskal/telegram-gateway/release-chart.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-chart.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/maksim-paskal/telegram-gateway/release-chart.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-chart.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/maksim-paskal/telegram-gateway/release-chart.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/maksim-paskal/telegram-gateway/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/maksim-paskal/telegram-gateway/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/maksim-paskal/telegram-gateway/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/maksim-paskal/telegram-gateway/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/maksim-paskal/telegram-gateway/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/maksim-paskal/telegram-gateway/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/maksim-paskal/telegram-gateway/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/maksim-paskal/telegram-gateway/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/validate-license.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/maksim-paskal/telegram-gateway/validate-license.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating alpine:latest to alpine:latest@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   9 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2024-2611 / GHSA-8r3f-844c-mc37"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 19 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T03:21:14.462Z","repository_id":42050395,"created_at":"2025-08-21T03:21:14.462Z","updated_at":"2025-08-21T03:21:14.462Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33131933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T06:27:06.342Z","status":"ssl_error","status_checked_at":"2026-05-17T06:26:59.432Z","response_time":107,"last_error":"SSL_read: 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":["prometheus","sentry","telegram"],"created_at":"2024-12-30T21:52:54.629Z","updated_at":"2026-05-17T08:33:20.946Z","avatar_url":"https://github.com/maksim-paskal.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Motivation\nPrometheus and Sentry has no adapters for sending telegram messages for Ops peoples\n\n# Install in your kubernetes cluster\n```\nhelm repo add paskal-dev https://maksim-paskal.github.io/helm/\nhelm install --namespace telegram-gateway paskal-dev/telegram-gateway\n```\n\n# Prometheus configuration\nadd this block to your Prometheus installation (values.yaml)\n```yaml\nalertmanagerFiles:\n  alertmanager.yml:\n    route:\n      receiver: \"prod-notify\"\n      group_by: ['alertname']\n      group_wait:      15s\n      group_interval:  15s\n      repeat_interval: 15m\n\n    inhibit_rules:\n    - source_match:\n        severity: 'critical'\n      target_match_re:\n        severity: '^(warning|info|)$'\n      equal: ['alertname']\n\n    receivers:\n    - name: \"prod-notify\"\n      webhook_configs:\n      - url: 'http://telegram-gateway.telegram-gateway.svc.cluster.local:9090/prom'\n        send_resolved: true\n```\n\n# use curl to test sending messages\n```\nfor curl messages. example:\n\ncurl -sS -X GET localhost:9090/message --get \\\n--data-urlencode \"test=value\" \\\n--data-urlencode \"test.empty=\" \\\n--data-urlencode \"url=https://test.com\" \\\n--data-urlencode \"msg=hello world\" \\\n--data-urlencode \"url.title=Open report\".\n```\n\n# how to create new telegram group with bot\n* create new telegram group \n* add youp telegram bot to new group\n* create config with bot token\n* start application with `-enableChatServer`\n* in telegram group will be shown new `chatID` in new group\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaksim-paskal%2Ftelegram-gateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaksim-paskal%2Ftelegram-gateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaksim-paskal%2Ftelegram-gateway/lists"}