{"id":36482253,"url":"https://github.com/radio-t/super-bot","last_synced_at":"2026-01-14T16:04:24.805Z","repository":{"id":42226005,"uuid":"216249330","full_name":"radio-t/super-bot","owner":"radio-t","description":"radio-t bot слушает чат telegram и реагирует на определенные команды и фрагменты текста.","archived":false,"fork":false,"pushed_at":"2025-04-15T03:57:33.000Z","size":14880,"stargazers_count":68,"open_issues_count":6,"forks_count":30,"subscribers_count":11,"default_branch":"master","last_synced_at":"2026-01-12T03:02:38.764Z","etag":null,"topics":["bot","telegram","telegram-bot"],"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/radio-t.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":".github/CODEOWNERS","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":"2019-10-19T18:04:51.000Z","updated_at":"2025-12-09T04:01:25.000Z","dependencies_parsed_at":"2023-11-24T07:23:26.227Z","dependency_job_id":"6f738dd0-67eb-41f2-b542-f2bfa48a442c","html_url":"https://github.com/radio-t/super-bot","commit_stats":null,"previous_names":["radio-t/gitter-rt-bot"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/radio-t/super-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radio-t%2Fsuper-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radio-t%2Fsuper-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radio-t%2Fsuper-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radio-t%2Fsuper-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/radio-t","download_url":"https://codeload.github.com/radio-t/super-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radio-t%2Fsuper-bot/sbom","scorecard":{"id":757723,"data":{"date":"2025-08-11","repo":{"name":"github.com/radio-t/super-bot","commit":"7ecd28ab37c0d7a4b167443d2583df5808258c49"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"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":"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":"Code-Review","score":3,"reason":"Found 6/18 approved changesets -- score normalized to 3","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.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":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: super-bot:1"],"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":"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: 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":-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":"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/ci.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/radio-t/super-bot/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/radio-t/super-bot/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/radio-t/super-bot/ci.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:18: pin your Docker image by updating umputun/baseimage:app-latest to umputun/baseimage:app-latest@sha256:f55ebbf1e2543e71b91ea7aca04a66ed60e6ceb87082e02f511bba1fe473147f","Warn: goCommand not pinned by hash: .github/workflows/ci.yml:34","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   1 goCommand 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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/ci.yml:5"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 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"}},{"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"}}]},"last_synced_at":"2025-08-22T22:16:26.980Z","repository_id":42226005,"created_at":"2025-08-22T22:16:26.980Z","updated_at":"2025-08-22T22:16:26.980Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28425597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T15:24:48.085Z","status":"ssl_error","status_checked_at":"2026-01-14T15:23:41.940Z","response_time":107,"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":["bot","telegram","telegram-bot"],"created_at":"2026-01-12T01:03:11.373Z","updated_at":"2026-01-14T16:04:24.784Z","avatar_url":"https://github.com/radio-t.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram бот подкаста Радио-Т\n\n[![Build Status](https://github.com/radio-t/gitter-rt-bot/workflows/build/badge.svg)](https://github.com/radio-t/gitter-rt-bot/actions) [![Go Report Card](https://goreportcard.com/badge/github.com/radio-t/gitter-rt-bot)](https://goreportcard.com/report/github.com/radio-t/gitter-rt-bot) [![Coverage Status](https://coveralls.io/repos/github/radio-t/super-bot/badge.svg?branch=master)](https://coveralls.io/github/radio-t/super-bot?branch=master)\n\n## Основная функциональность\n\nБот слушает [чат Telegram](https://t.me/radio_t_chat) и реагирует на определенные команды и фрагменты текста.\nКроме этого, он слушает API новостей и публикует в Telegram сообщения о начале выпуска и смене тем.\n\nС ботом можно [общаться тет-а-тет](https://t.me/radiot_superbot), не засорая общий чат.\n\nВ режиме экспортирования сохраняет лог сообщений в HTML файл.\n\n## Статус\n\nБот в работе несколько лет и успешно \"участвовал\" во многих подкастах. \n\n## Команды бота\n\n| Команда                                   | Описание                                                                                                       |\n|-------------------------------------------|----------------------------------------------------------------------------------------------------------------|\n| `ping`, `пинг`                            | ответит `pong`, `понг`, см. [basic.data](https://github.com/radio-t/gitter-rt-bot/blob/master/data/basic.data) |\n| `анекдот!`, `анкедот!`, `joke!`, `chuck!` | расскажет анекдот с jokesrv.fermyon.app или chucknorris.io                                        |\n| `news!`, `новости!`                       | 5 последних [новостей для Радио-Т](https://news.radio-t.com)                                                   |\n| `so!`                                     | 1 вопрос со [Stackoverflow](https://stackoverflow.com/questions?tab=Active)                                    |\n| `?? \u003cзапрос\u003e`, `/ddg \u003cзапрос\u003e`            | поискать \"\u003cзапрос\u003e\" на [DuckDuckGo](https://duckduckgo.com)                                                    |\n| `search! \u003cслово\u003e`, `/search \u003cслово\u003e`      | поискать по шоунотам подкастов                                                                                 |\n| `chat! \u003cзапрос\u003e`                          | задать вопрос для ChatGPT                                                                                      |\n\n## Инструкции по локальной разработке\n\nДля создания тестового бота нужно обратиться к [BotFather](https://t.me/BotFather) и получить от него токен.\n\nПосле создания бота нужно вручную добавить в группу (Info / Add Members) и дать права администратора (Info / Edit / Administrators / Add Admin).\n\nПриложение ожидает следующие переменные окружения:\n\n* `TELEGRAM_TOKEN` – токен полученный от BotFather\n* `TELEGRAM_GROUP` - основная группа в Телеграмме (туда приходят уведомления о новостях, все сообщения сохраняются в лог)\n* `MASHAPE_TOKEN` – токен от сервиса [Kong](https://konghq.com/), используется только для DuckDuckGo бота\n* `OPENAI_AUTH_TOKEN` – токен от сервиса [OpenAI Platform](https://platform.openai.com/), используется только для получения ChatGPT ответов в OpenAI боте\n\nДополнительные переменные окружения со значениями по-умолчанию:\n\n* `DEBUG` (false) – включает режим отладки (логируется больше событий)\n* `TELEGRAM_LOGS` (logs) - путь к папке куда пишется лог чата, для того чтобы работал, необходимо чтобы в `TELEGRAM_GROUP` было публичное _имя_ группы, в противном случае лог не будет писаться\n* `SYS_DATA` (data) - путь к папке с *.data файлами и шаблоном для построения HTML отчета\n* `TELEGRAM_TIMEOUT` (30s) – HTTP таймаут для скачивания файлов из Telegram при построении HTML отчета\n* `RTJC_PORT` (18001) – порт на который приходят уведомления о новостях\n\nЗапустить бота можно через Docker Compose:\n\n```bash\ndocker-compose up telegram-bot\n```\n\nИли с помощью Make:\n\n```bash\nmake run ARGS=\"--super=umputun --super=bobuk --super=grayru --super=ksenks\"\n```\n\nДля построения HTML отчета необходимо передать дополнительные флаги:\n\n```bash\ndocker-compose exec telegram-bot ./telegram-rt-bot \\\n  --super=umputun \\\n  --super=bobuk \\\n  --super=grayru \\\n  --super=ksenks \\\n  --export-num=688 \\\n  --export-path=html \\\n  --export-day=20200208 \\\n  --export-template=logs.html\n```\n\nили\n\n```bash\nmake run ARGS=\"--super=umputun --super=bobuk --super=grayru --super=ksenks --export-num=688 --export-path=logs --export-day=20200208 --export-template=data/logs.html\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradio-t%2Fsuper-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradio-t%2Fsuper-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradio-t%2Fsuper-bot/lists"}