{"id":13467442,"url":"https://github.com/WeChatAPIs/WeChatMsgHistory_real","last_synced_at":"2025-03-26T02:31:24.425Z","repository":{"id":224042968,"uuid":"762226175","full_name":"WeChatAPIs/WeChatMsgHistory_real","owner":"WeChatAPIs","description":"Real-time Chat-重现微信群组和个人聊天记录查询项目，本项目为开发者和研究者提供一种深入查看微信聊天内容的解决方案，允许用户在特定条件下获取特定群组或私聊的聊天记录，并通过我们提供的API进行控制","archived":false,"fork":false,"pushed_at":"2024-08-02T02:18:34.000Z","size":185,"stargazers_count":762,"open_issues_count":0,"forks_count":59,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-10-29T21:54:05.875Z","etag":null,"topics":["chat-history","real","wechat","wechatapi","wechatsdk"],"latest_commit_sha":null,"homepage":"","language":"Python","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/WeChatAPIs.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":"2024-02-23T10:39:23.000Z","updated_at":"2024-10-29T09:33:11.000Z","dependencies_parsed_at":"2024-12-17T06:23:53.483Z","dependency_job_id":"fec89dec-2ff6-4487-98bc-07d6308b5418","html_url":"https://github.com/WeChatAPIs/WeChatMsgHistory_real","commit_stats":null,"previous_names":["kawika-git/wechatmsghistory_real","wechatapis/wechatmsghistory_real"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WeChatAPIs%2FWeChatMsgHistory_real","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WeChatAPIs%2FWeChatMsgHistory_real/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WeChatAPIs%2FWeChatMsgHistory_real/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WeChatAPIs%2FWeChatMsgHistory_real/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WeChatAPIs","download_url":"https://codeload.github.com/WeChatAPIs/WeChatMsgHistory_real/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245576529,"owners_count":20638125,"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":["chat-history","real","wechat","wechatapi","wechatsdk"],"created_at":"2024-07-31T15:00:56.486Z","updated_at":"2025-03-26T02:31:24.407Z","avatar_url":"https://github.com/WeChatAPIs.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# 微信Real-time Chat 🤖\nReal-time Chat项目为开发者和研究者提供一种深入查看聊天内容的解决方案，允许用户在特定条件下获取特定群组或私聊的聊天记录，并通过我们提供的API进行控制。\n\n### 核心特性：\n- **聊天记录查询** - 在微信环境下，重现群组或个人聊天的内容\n- **API访问** - 我们提供灵活且易用的RESTful API接口以方便开发者和研究者进行深度利用。\n- **可扩展性设计** ： 未来可扩展的能力包括但不仅限于：\n    - 允许未付费用户访问付费群的聊天记录以体验系统功能\n    - 利用AI技术对聊天内容进行分析以追踪热门话题和动态。\n    - 轻松将聊天内容上报至云端。\n\n\n#### 隐私政策及个人隐私：\n\n- 重视用户隐私，遵守相关的隐私法律和规定，不公开任何个人或敏感信息，一切聊天记录查询分析与展示都将在满足所有相关规定的前提下进行\n#### 用途限制：\n- 本系统的初始设计意图是为了合法查询和研究工作，请遵守法律规定，严禁用于任何非法用途。每行代码的创建都是为了推动聊天内容研究的发展及对社区的贡献。\n- 项目的使用只供个人开发，不可泄露任何信息，高度尊重每一位用户的隐私及源于此的数据。\n- 设计的核心是面向开发者友好的API接口和可扩展性，在秘密保护用户隐私及数据的同时，依然保证易用性和便利性\n\n## 安装 🔧\n\n\n### 启动程序\n\n1. 打开cmd，并进入 `WechatMsgHistory_real` 目录，运行 `python -m venv venv` 并开启虚拟环境 `venv/Scripts/activate`。\n2. 运行 `pip install -r requirements.txt` 安装所有依赖。\n3. 修改内容\n    - 修改 `server/ChatHistory.py` 中的 `baseUrl` 字段为你的启动器的地址。\n    - 修改 `server/HttpServer.py` 中的 `accessKey` 为你的接口秘钥。\n4. 运行 `python httpMain.py` 启动服务。\n5. 请求API\n```\ncurl --location --request POST \"http://127.0.0.1:18000/historyMsgData\" ^\n--header \"Content-Type: application/json\" ^\n--data-raw \"{\\\"userName\\\":\\\"xxxxx@chatroom\\\",\\\"accessKey\\\":\\\"WeChatAPIs/wechatSDK\\\"}\"\n```\n\n\n## 如何贡献 🤝\n\n欢迎通过Pull Requests来贡献代码。请确保您的代码符合项目的编码标准并通过所有测试。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWeChatAPIs%2FWeChatMsgHistory_real","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWeChatAPIs%2FWeChatMsgHistory_real","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWeChatAPIs%2FWeChatMsgHistory_real/lists"}