{"id":43946347,"url":"https://github.com/bots-go-framework/bots-fw-telegram","last_synced_at":"2026-02-07T03:03:58.304Z","repository":{"id":151425287,"uuid":"622876734","full_name":"bots-go-framework/bots-fw-telegram","owner":"bots-go-framework","description":"Telegram module for Strongo bots framework","archived":false,"fork":false,"pushed_at":"2026-01-01T07:31:57.000Z","size":278,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-06T03:13:07.789Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/bots-go-framework.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-04-03T08:42:56.000Z","updated_at":"2026-01-01T07:31:08.000Z","dependencies_parsed_at":"2024-03-06T10:49:54.257Z","dependency_job_id":"89f4453e-a0fe-42c3-8c01-8dfdad2a47fe","html_url":"https://github.com/bots-go-framework/bots-fw-telegram","commit_stats":null,"previous_names":["strongo/bots-fw-telegram"],"tags_count":154,"template":false,"template_full_name":null,"purl":"pkg:github/bots-go-framework/bots-fw-telegram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bots-go-framework%2Fbots-fw-telegram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bots-go-framework%2Fbots-fw-telegram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bots-go-framework%2Fbots-fw-telegram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bots-go-framework%2Fbots-fw-telegram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bots-go-framework","download_url":"https://codeload.github.com/bots-go-framework/bots-fw-telegram/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bots-go-framework%2Fbots-fw-telegram/sbom","scorecard":{"id":248907,"data":{"date":"2025-08-11","repo":{"name":"github.com/bots-go-framework/bots-fw-telegram","commit":"09b6cc1dd68e7b693e71baae0cc2e39f69bcd99e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.2,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/26 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":"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":"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":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Token-Permissions","score":9,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/go.yml:17","Warn: no topLevel permission defined: .github/workflows/go.yml:1"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/bots-go-framework/bots-fw-telegram/go.yml/main?enable=pin","Info:   0 out of   1 third-party GitHubAction 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":"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":"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: MIT License: 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":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"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 13 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-17T08:06:35.628Z","repository_id":151425287,"created_at":"2025-08-17T08:06:35.629Z","updated_at":"2025-08-17T08:06:35.629Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29185120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T00:44:15.062Z","status":"online","status_checked_at":"2026-02-07T02:00:07.217Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-02-07T03:03:58.202Z","updated_at":"2026-02-07T03:03:58.290Z","avatar_url":"https://github.com/bots-go-framework.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bots-fw-telegram\n\nTelegram module for Strongo bots framework\n\n## Structure \u0026 key concepts\n\nThe [`tgWebhookHandler`](tg_webhook_handler.go) struct is implementing `botsfw.WebhookHandler` interface\nand is an entry point for all incoming requests from Telegram. To create it you need to call\n[`NewTgWebhookHandler()`](tg_webhook_handler.go) function.\n\n### Registering records maker\n\n```go\n```\n\n## Setting up dev environment for Telegram bots development\n\n## Tunneling to local development environment\n\nTo expose local server to the Internet we use [ngrok](https://ngrok.com/).\n\n```shell\nngrok http 4300\n```\n\nMake sure that you have started local GAE server \u0026 Firestore emulators - follow instructions\nfrom [README.md](README.md).\n\nAfter `ngrok` started you will see something like:\n\n```shell\nForwarding    https://****-***-**.ngrok-free.app -\u003e http://localhost:4300\n```\n\nYou would need to register the forwarding URL for bot you are testing with Telegram by calling this url:\n\n`https://****-***-**.ngrok-free.app/bot/tg/set-webhook?code=BOT_CODE`\n\nwhere `****-***-**` is the forwarding URL from `ngrok` output and `BOT_CODE` is the code of the bot you are testing.\n\nThe bot will be registered using secret tokens that you should set using environment variables:\n\n```shell\nTELEGRAM_BOT_TOKEN_\u003cBOT_CODE\u003e=\u003cTELEGRAM_BOT_TOKEN\u003e\n```\n\nYou can create a personal bot for testing purposes using [BotFather](https://t.me/botfather).\n\nThe bot with the given code should be registered in your app and the value is CASE SENSITIVE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbots-go-framework%2Fbots-fw-telegram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbots-go-framework%2Fbots-fw-telegram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbots-go-framework%2Fbots-fw-telegram/lists"}