{"id":20539233,"url":"https://github.com/ysicing/go-tgbot","last_synced_at":"2025-10-13T00:55:05.653Z","repository":{"id":104904605,"uuid":"301972367","full_name":"ysicing/go-tgbot","owner":"ysicing","description":"simple bot","archived":false,"fork":false,"pushed_at":"2021-09-01T07:43:39.000Z","size":88,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T03:51:17.826Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ysicing.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-10-07T08:27:07.000Z","updated_at":"2022-01-01T16:37:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"9306a2ff-8807-421f-9359-5f260c81f800","html_url":"https://github.com/ysicing/go-tgbot","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ysicing/go-tgbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysicing%2Fgo-tgbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysicing%2Fgo-tgbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysicing%2Fgo-tgbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysicing%2Fgo-tgbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ysicing","download_url":"https://codeload.github.com/ysicing/go-tgbot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysicing%2Fgo-tgbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013645,"owners_count":26085298,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"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":["bot","telegram","telegram-bot"],"created_at":"2024-11-16T00:49:59.005Z","updated_at":"2025-10-13T00:55:05.642Z","avatar_url":"https://github.com/ysicing.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple bot\n\n\u003e 一个 Telegram 推送的小工具，用于调用 Bot API 发送告警等\n\n## 使用\n\n### 配置文件\n\n```yaml\ntgbot: xxx # bot token\nmode:\n  debug: false\nbotapi: \"https://api.telegram.org/bot%s/%s\"\ntgchan: \"@chanid\" # 频道name\ntguser: userid # 用户id\n```\n\n### 具体使用\n\n```\n一个 Telegram 推送的小工具，用于调用 Bot API 发送告警等\n\nUsage:\n  sb [flags]\n\nFlags:\n      --c string      msg信息或者文件路径 (default \"simple bot\")\n      --chan          msg发送chan\n  -h, --help          help for sb\n      --type string   msg或者file，默认msg (default \"msg\")\n\n# 发送msg\nsb --c \"sb\" # 发送到个人\nsb --chan --c \"sb\" # 发送到频道\n# 发送file\nsb --c ./sb.go --type file\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysicing%2Fgo-tgbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fysicing%2Fgo-tgbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysicing%2Fgo-tgbot/lists"}