{"id":41449819,"url":"https://github.com/go-telegram/ui","last_synced_at":"2026-01-23T15:14:16.211Z","repository":{"id":134187766,"uuid":"480123538","full_name":"go-telegram/ui","owner":"go-telegram","description":"UI controls for Telegram Bot API go framework","archived":false,"fork":false,"pushed_at":"2025-05-06T18:30:22.000Z","size":2550,"stargazers_count":177,"open_issues_count":6,"forks_count":20,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-06T19:41:03.667Z","etag":null,"topics":["go","telegram","telegram-bot","telegram-bot-api"],"latest_commit_sha":null,"homepage":"","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/go-telegram.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}},"created_at":"2022-04-10T19:48:50.000Z","updated_at":"2025-05-06T18:30:04.000Z","dependencies_parsed_at":"2024-01-19T10:04:30.270Z","dependency_job_id":"3b9bbc48-62d0-4a62-9a01-93e274ccedb0","html_url":"https://github.com/go-telegram/ui","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/go-telegram/ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-telegram%2Fui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-telegram%2Fui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-telegram%2Fui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-telegram%2Fui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-telegram","download_url":"https://codeload.github.com/go-telegram/ui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-telegram%2Fui/sbom","scorecard":{"id":432545,"data":{"date":"2025-08-11","repo":{"name":"github.com/go-telegram/ui","commit":"15c138a86b4a672e996000ce2793729e23922890"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Code-Review","score":2,"reason":"Found 8/30 approved changesets -- score normalized to 2","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":"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":-1,"reason":"No tokens found","details":null,"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":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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 9 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-19T03:42:33.683Z","repository_id":134187766,"created_at":"2025-08-19T03:42:33.683Z","updated_at":"2025-08-19T03:42:33.683Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28694466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T14:15:13.573Z","status":"ssl_error","status_checked_at":"2026-01-23T14:09:05.534Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["go","telegram","telegram-bot","telegram-bot-api"],"created_at":"2026-01-23T15:14:15.607Z","updated_at":"2026-01-23T15:14:16.206Z","avatar_url":"https://github.com/go-telegram.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Telegram Bot UI\n\n\u003e The project is under development. API may be changed before v1.0.0 version.\n\n\u003e [Telegram Group](https://t.me/gotelegrambotui)\n\nUI controls for telegram bot [go-telegram/bot](https://github.com/go-telegram/bot)\n\n- datepicker\n- inline keyboard\n- reply keyboard\n- paginator\n- slider\n- progress\n- dialog\n- timepicker (todo)\n\nFeel to free to contribute and issues!\n\n## Getting Started\n\n```bash\ngo get github.com/go-telegram/bot\ngo get github.com/go-telegram/ui\n```\n\n**Important**\n\nUI components register own bot handlers on init. \nIf you restart the bot instance, inline buttons in already opened components can't work.\n\nFor solving this issue, you should use `bot.WithPrefix` option for instance of widgets.\n\nExample:\n\n```go\npicker := datepicker.New(\n    b, \n    onDatepickerSimpleSelect, \n    datepicker.WithPrefix(\"datepicker-simple\"),\n)\n```\n\n### Live demo\n\nYou can run demo bot from `examples` folder.\n\nBefore start, you should set `EXAMPLE_TELEGRAM_BOT_TOKEN` environment variable to your bot token.\n\n```go\n    go run examples/*.go\n```\n\nAlso, you can try [online version of this bot](https://t.me/gotelegramuidemobot) right now.\n\n## DatePicker\n\n![datepicker_1.png](datepicker/datepicker.png)\n\n- custom localizations\n- define include/exclude dates\n\n[Documentation](datepicker/readme.md)\n\n## Inline Keyboard\n\n![inline_keyboard.png](keyboard/inline/inline_keyboard.png)\n\nSmall helper for easy building of inline keyboard.\n\n[Documentation](keyboard/inline/readme.md)\n\n## Reply Keyboard\n\n![reply_keyboard.png](keyboard/reply/reply_keyboard.png)\n\nSmall helper for easy building of a reply keyboard markup.\n\n[Documentation](keyboard/reply/readme.md)\n\n## Paginator\n\n![paginator.png](paginator/paginator.png)\n\n- pass any slice of strings\n- set perPage value\n- set custom lines separator\n\n[Documentation](paginator/readme.md)\n\n## Slider\n\n![slider.png](slider/slider.png)\n\n- pass slides with images and text\n\n[Documentation](slider/readme.md)\n\n## Progress\n\n![progress.png](progress/progress.png)\n\nProgress bar for long tasks\n\n[Documentation](progress/readme.md)\n\n## Dialog\n\n![dialog.gif](dialog/dialog.gif)\n\nSimple dialogs\n\n[Documentation](dialog/readme.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-telegram%2Fui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-telegram%2Fui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-telegram%2Fui/lists"}