{"id":25056972,"url":"https://github.com/archeb/cybergroupmate","last_synced_at":"2025-04-08T03:16:44.813Z","repository":{"id":274623068,"uuid":"923371086","full_name":"Archeb/CyberGroupmate","owner":"Archeb","description":"你的赛博群友","archived":false,"fork":false,"pushed_at":"2025-03-30T06:19:46.000Z","size":269,"stargazers_count":90,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T00:34:10.819Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Archeb.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":"2025-01-28T05:38:38.000Z","updated_at":"2025-03-30T06:19:49.000Z","dependencies_parsed_at":"2025-03-23T13:29:40.504Z","dependency_job_id":null,"html_url":"https://github.com/Archeb/CyberGroupmate","commit_stats":null,"previous_names":["archeb/cybergroupmate"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archeb%2FCyberGroupmate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archeb%2FCyberGroupmate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archeb%2FCyberGroupmate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archeb%2FCyberGroupmate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Archeb","download_url":"https://codeload.github.com/Archeb/CyberGroupmate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247767236,"owners_count":20992548,"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","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":"2025-02-06T13:39:51.986Z","updated_at":"2025-04-08T03:16:44.805Z","avatar_url":"https://github.com/Archeb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 赛博群友\r\n\r\n你的赛博群友哦，可以帮你语义搜索聊天记录，上网冲浪，陪你一起聊天、吐槽、发电甚至……？总之，一切皆有可能。\r\n\r\n终极目标是——让新来的群友一点都看不出这是赛博群友！\r\n\r\n目前只支持 Telegram\r\n\r\n## 功能特点\r\n\r\n- 对每个群友的记忆\r\n- 图像识别和分析\r\n- 发表情包\r\n- 读空气（智能的对话管理和响应机制）\r\n- 可配置的响应策略\r\n- 消息历史记录搜索、联网搜索，以及更多tool use\r\n\r\n## 技术栈\r\n\r\n- Node.js\r\n- PostgreSQL + pgvector\r\n\r\n## 安装\r\n\r\n1. 克隆仓库：\r\n\r\n```bash\r\ngit clone https://github.com/Archeb/CyberGroupmate.git\r\ncd CyberGroupmate\r\n```\r\n\r\n2. 安装依赖：\r\n\r\n```bash\r\nnpm install\r\n```\r\n\r\n3. 配置机器人：\r\n\r\n```bash\r\ncp src/config.example.js src/config.js\r\n# 编辑config.js文件，根据需要调整配置\r\n```\r\n\r\n## 配置说明\r\n\r\n主要配置文件位于`src/config.example.js`，分为三层配置项：\r\n\r\n- 基础配置（base）\r\n- 聊天集配置（collections）\r\n- 聊天配置（chats）\r\n\r\n请先复制一份为 config.js 然后再编辑。collections/chats 配置可以覆盖基础配置\r\n\r\n## 项目结构\r\n\r\n```\r\nsrc/\r\n├── config.js              # 配置文件\r\n├── index.js               # 入口文件\r\n├── types/                 # 类型定义\r\n├── handlers/              # 消息处理器\r\n├── helpers/               # 辅助功能\r\n└── managers/              # 管理器\r\n```\r\n\r\n## 群聊效果\r\n\r\n| ![image](https://github.com/user-attachments/assets/2910ab4c-7e89-4703-848b-ae649ce14eaf) | ![image](https://github.com/user-attachments/assets/77a27811-5269-42f0-9028-b98bc35f7917) |\r\n| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |\r\n\r\nhttps://github.com/user-attachments/assets/627ddc6e-7ce5-41e5-9ef3-d1aee0c30c8b\r\n\r\n## 许可证\r\n\r\n本项目采用 GPLv3 许可证。详见[LICENSE](LICENSE)文件。\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcheb%2Fcybergroupmate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farcheb%2Fcybergroupmate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcheb%2Fcybergroupmate/lists"}