{"id":24910610,"url":"https://github.com/maicius/deepseekwechatbot","last_synced_at":"2025-10-16T21:31:54.758Z","repository":{"id":275261982,"uuid":"925573121","full_name":"Maicius/DeepseekWechatBot","owner":"Maicius","description":"使用Deepseek学习微信指定好友的聊天记录，并模仿本人与该好友继续聊天","archived":false,"fork":false,"pushed_at":"2025-02-01T08:27:53.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T08:28:49.315Z","etag":null,"topics":["deepseek","itchat","wechat"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Maicius.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-01T07:26:15.000Z","updated_at":"2025-02-01T08:27:57.000Z","dependencies_parsed_at":"2025-02-01T08:38:59.114Z","dependency_job_id":null,"html_url":"https://github.com/Maicius/DeepseekWechatBot","commit_stats":null,"previous_names":["maicius/deepseekwechatbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maicius%2FDeepseekWechatBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maicius%2FDeepseekWechatBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maicius%2FDeepseekWechatBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maicius%2FDeepseekWechatBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Maicius","download_url":"https://codeload.github.com/Maicius/DeepseekWechatBot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236748983,"owners_count":19198618,"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":["deepseek","itchat","wechat"],"created_at":"2025-02-02T03:37:20.857Z","updated_at":"2025-10-16T21:31:49.493Z","avatar_url":"https://github.com/Maicius.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DeepseekWechatBot\n\n基于Deepseek和Itchat的微信聊天机器人\n\n### FUNCTION\n\u003e 1.使用deepseek学习和指定微信好友之间的聊天记录，然后模仿自己和该好友对话。\n不是模型微调，只是把聊天记录先发过去，保存对话对上下文。\n\n\u003e 2.夸夸夸机器人，在微信群中呼喊\"小麦同学\"，并说\"夸XXX\"，就会对指定对象吹彩虹屁。\n\n### PREPARE\n\n使用第三方工具导出聊天记录，经测试，只能在windows环境下进行，这里推荐两个工具：\n\n1.[WeChatMsg](https://github.com/LC044/WeChatMsg)\n\n2.[PyWxDump](https://github.com/xaoyaoo/PyWxDump)\n\n将导出的聊天记录保存为csv，csv处理的代码在[Util.py](./Util.py)中\n\n#### 申请Deepseek API KEY\n\n[Deepseek开发者平台](https://www.deepseek.com/)\n有免费的10块钱额度，够用很多次了。\n\n#### 在main.py中修改指定聊天微信对象的昵称。\n\n为便于测试，同时把文件传输助手filehelper加上\n\u003e target_wechat_name = {\"XXX\", \"filehelper}\n\n### BEGIN\n\n做好以上准备工作：\n\u003e python main.py\n\n### LIMIT\n\n\u003e 1.本项目基于itchat，即使用网页微信登陆，必须先确保自己的微信号能登陆[网页微信](https://wx.qq.com/)才可以使用。\n\n\u003e 2.由于deepseek接口不稳定，所以经常出现请求失败\n\n### NOTICE\n\n若出现HTMLParse错误，请参考：[使用python3.9，会报错](https://github.com/littlecodersh/ItChat/issues/963)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaicius%2Fdeepseekwechatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaicius%2Fdeepseekwechatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaicius%2Fdeepseekwechatbot/lists"}