{"id":21557898,"url":"https://github.com/lonelam/wechat-chathub","last_synced_at":"2025-07-16T15:31:31.370Z","repository":{"id":210578999,"uuid":"722154456","full_name":"lonelam/Wechat-ChatHub","owner":"lonelam","description":"WebUI for WeChat ChatGPT bot, 结合了ChatGPT能力的微信聊天界面，存储聊天记录，自动回复，微信机器人","archived":true,"fork":false,"pushed_at":"2023-12-04T03:54:49.000Z","size":255,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T03:31:58.339Z","etag":null,"topics":["bot","chat","chatgpt","openai","wechat"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lonelam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-22T14:51:12.000Z","updated_at":"2025-02-16T08:00:39.000Z","dependencies_parsed_at":"2023-12-03T20:36:22.020Z","dependency_job_id":null,"html_url":"https://github.com/lonelam/Wechat-ChatHub","commit_stats":null,"previous_names":["lonelam/chathub"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lonelam/Wechat-ChatHub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lonelam%2FWechat-ChatHub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lonelam%2FWechat-ChatHub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lonelam%2FWechat-ChatHub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lonelam%2FWechat-ChatHub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lonelam","download_url":"https://codeload.github.com/lonelam/Wechat-ChatHub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lonelam%2FWechat-ChatHub/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265521424,"owners_count":23781500,"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":["bot","chat","chatgpt","openai","wechat"],"created_at":"2024-11-24T08:13:28.626Z","updated_at":"2025-07-16T15:31:31.050Z","avatar_url":"https://github.com/lonelam.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChatHub 🌐\n\n## 介绍 🎙️\n\n迫于说话离不开ChatGPT但是又不想让ChatGPT自动回复，提供了一个Web版的解决方案。通过本项目，您可以将微信聊天托管至自己的服务器，并通过PWA网页小程序结合 GPT 进行交流。本项目支持 GPT 自动生成回复建议、微信多账号同时在线、以及超时自动回复等功能。\n\n## 功能说明 ✨\n\n核心功能就是聊天，并用ChatGPT自动生成根据自己人设可以回复的内容，并允许反馈修改。\n\n\u003cimg src=\"https://github.com/lonelam/chathub/assets/16681599/cffbe25c-a114-4312-b008-a746203c8f01\" width=\"45%\" /\u003e \u003cimg src=\"https://github.com/lonelam/chathub/assets/16681599/d42e8a74-e19b-4c3d-9342-30d06161c98b\" width=\"45%\" /\u003e\n\n## 安装 🛠️\n\n在安装 ChatHub 前，请确保您的系统已安装 Docker。执行以下命令以部署 ChatHub：\n\n```bash\necho \"DATABASE_USER=your_username\\nDATABASE_PASS=your_password\\nDATABASE_NAME=your_dbname\" \u003e .env\ncurl -O https://raw.githubusercontent.com/lonelam/chathub/main/docker-compose.yml\ndocker-compose up -d\n```\n\n请替换 `your_username`、`your_password` 和 `your_dbname` 为您的数据库用户名、密码和数据库名，部署在公网的话请注意网络安全。\n\n## 版本更新 🆙\n\n升级到最新版本\n\n```bash\ndocker compose pull\ndocker compose up -d\ndocker image prune -f # 清理无用镜像\n```\n\n## 使用方法 📖\n\n部署完成后，访问您的服务器上的 ChatHub前端，地址默认是 `http://localhost` ，在docker-compose.yml文件中自行更改。初次使用时，添加用于微信登录和openai接口的token，然后回到主页，扫码登录微信。创建聊天记录后，admin页（点击扳手进入）可以修改system message从而给自己增加角色设定。\n\n![ChatHub UI](https://github.com/lonelam/chathub/assets/16681599/b8178619-b13e-4216-a4ef-dcb53398caa1)\n\n## 贡献 💡\n\n一个好用的前端项目离不开用户反馈，您可以在Issue/Discussion中提出您的宝贵意见，或者直接提交PR。欢迎贡献您的智慧和代码！\n\n![GitHub issues](https://img.shields.io/github/issues/lonelam/chathub)\n![GitHub PRs](https://img.shields.io/github/issues-pr/lonelam/chathub)\n![Docker Pulls](https://img.shields.io/docker/pulls/lonelam/chathub)\n\n## RoadMap\n\n- [x] 支持uos方案实现免费部署\n- [ ] 支持插件\n- [ ] 支持群聊\n- [ ] 存储和展示非文本消息\n\n## 致谢 🙌\n\n特别感谢 Wechaty 团队，为我们提供了稳定有效的微信接入方式。\n\n## Star history\n\n欢迎Star/Fork\n[![Star History Chart](https://api.star-history.com/svg?repos=lonelam/chathub\u0026type=Date)](https://star-history.com/#lonelam/chathub\u0026Date)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flonelam%2Fwechat-chathub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flonelam%2Fwechat-chathub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flonelam%2Fwechat-chathub/lists"}