{"id":20851973,"url":"https://github.com/chaoses-ib/ibtagbot","last_synced_at":"2026-03-18T00:04:10.178Z","repository":{"id":111896520,"uuid":"551475794","full_name":"Chaoses-Ib/IbTagBot","owner":"Chaoses-Ib","description":"Telegram 标签分词机器人","archived":false,"fork":false,"pushed_at":"2022-10-28T09:47:39.000Z","size":11,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T05:09:18.559Z","etag":null,"topics":["telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Chaoses-Ib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-10-14T13:22:47.000Z","updated_at":"2025-10-04T14:14:11.000Z","dependencies_parsed_at":"2023-04-04T22:38:12.686Z","dependency_job_id":null,"html_url":"https://github.com/Chaoses-Ib/IbTagBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Chaoses-Ib/IbTagBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chaoses-Ib%2FIbTagBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chaoses-Ib%2FIbTagBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chaoses-Ib%2FIbTagBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chaoses-Ib%2FIbTagBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chaoses-Ib","download_url":"https://codeload.github.com/Chaoses-Ib/IbTagBot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chaoses-Ib%2FIbTagBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30636705,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T23:56:54.546Z","status":"ssl_error","status_checked_at":"2026-03-17T23:56:28.952Z","response_time":56,"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":["telegram","telegram-bot"],"created_at":"2024-11-18T03:15:48.104Z","updated_at":"2026-03-18T00:04:10.143Z","avatar_url":"https://github.com/Chaoses-Ib.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [@IbTagBot](https://t.me/IbTagBot)\nTelegram 标签分词机器人\n\n## 标签分词\n### 内联查询模式\n在聊天框中输入：\n```\n@IbTagBot 白发红眼美少女 白发 红眼 美少女 #白发红眼美少女\n```\n\n机器人会对第一个词组进行选择性分词，对 `#` 开头的词组进行分词，再为每个词语加上 `#` 前缀，返回两个选项：\n\n- \u003cpre\u003e\u003ccode\u003e\u003ca href=\"\"\u003e#白发红眼美少女\u003c/a\u003e \u003ca href=\"\"\u003e#白发\u003c/a\u003e \u003ca href=\"\"\u003e#红眼\u003c/a\u003e \u003ca href=\"\"\u003e#美少女\u003c/a\u003e \u003ca href=\"\"\u003e#白发\u003c/a\u003e \u003ca href=\"\"\u003e#红眼\u003c/a\u003e \u003ca href=\"\"\u003e#美少女\u003c/a\u003e\u003c/code\u003e\u003c/pre\u003e\n- \u003cpre\u003e\u003ccode\u003e\u003ca href=\"\"\u003e#白发\u003c/a\u003e \u003ca href=\"\"\u003e#红眼\u003c/a\u003e \u003ca href=\"\"\u003e#美少女\u003c/a\u003e \u003ca href=\"\"\u003e#白发\u003c/a\u003e \u003ca href=\"\"\u003e#红眼\u003c/a\u003e \u003ca href=\"\"\u003e#美少女\u003c/a\u003e \u003ca href=\"\"\u003e#白发\u003c/a\u003e \u003ca href=\"\"\u003e#红眼\u003c/a\u003e \u003ca href=\"\"\u003e#美少女\u003c/a\u003e\u003c/code\u003e\u003c/pre\u003e\n\n### 管理员模式\n自动对频道或群组消息中的标签进行分词。\n\n例如，当发送以下消息时：\n\n\u003cpre\u003e\u003ccode\u003e想看#\u003ca href=\"\"\u003e#白发红眼美少女\u003c/a\u003e 吗？\u003c/code\u003e\u003c/pre\u003e\n\n它将被机器人自动编辑为：\n\n\u003cpre\u003e\u003ccode\u003e想看#\u003ca href=\"\"\u003e#白发红眼美少女\u003c/a\u003e\u003ci\u003e(\u003ca href=\"\"\u003e#白发\u003c/a\u003e \u003ca href=\"\"\u003e#红眼\u003c/a\u003e \u003ca href=\"\"\u003e#美少女\u003c/a\u003e)\u003c/i\u003e吗？\u003c/code\u003e\u003c/pre\u003e\n\n你也可以对机器人编辑后的消息进行二次编辑，括号中的内容会被自动更新。\n\n## Deployment\n```sh\ngit clone https://github.com/Chaoses-Ib/IbTagBot.git\ncd IbTagBot\npip3 install -r requirements.txt\necho [YOUR_API_ID] \u003e\u003e token.txt\necho [YOUR_API_HASH] \u003e\u003e token.txt\necho [YOUR_BOT_TOKEN] \u003e\u003e token.txt\npython3 bot.py\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaoses-ib%2Fibtagbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaoses-ib%2Fibtagbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaoses-ib%2Fibtagbot/lists"}