Giter Club home page Giter Club logo

wechatmsg's Introduction

我的数据我做主

前言

我深信有意义的不是微信,而是隐藏在对话框背后的一个个深刻故事。未来,每个人都能拥有AI的陪伴,而你的数据能够赋予它有关于你过去的珍贵记忆。我希望每个人都有将自己的生活痕迹👨‍👩‍👦👚🥗🏠️🚴🧋⛹️🛌🛀留存的权利,而不是遗忘💀。

AI的发展不仅仅是技术的提升,更是情感💞的延续。每一个对话、每一个互动都是生活中独一无二的片段,是真实而动人的情感交流。因此,我希望AI工作者们能够善用这些自己的数据,用于培训独特的、属于个体的人工智能。让个人AI成为生活中的朋友,能够理解、记录并分享我们的欢笑、泪水和成长。

那天,AI不再是高不可攀的存在,而是融入寻常百姓家的一部分。因为每个人能拥有自己的AI,将科技的力量融入生活的方方面面。这是一场关于真情实感的革命,一场让技术变得更加人性化的探索,让我们共同见证未来的美好。

所以《留痕》

🍉功能

  • 🔒️🔑🔓️Windows本地微信数据库
  • 还原微信聊天界面
    • 🗨文本✅
    • 🏝图片✅
    • 拍一拍等系统消息✅
  • 导出数据
    • 批量导出数据✅
    • 导出联系人✅
    • sqlite数据库✅
    • HTML(文本、图片、视频、表情包、语音、文件、系统消息)✅
    • CSV文档✅
    • TXT文档✅
    • Word文档✅
  • 分析聊天数据,做成可视化年报
  • 🔥项目持续更新中
  • 开发计划
    • 群组年度报告
    • 情感分析
    • 一键导出全部表情包、文件、图片、视频、语音
    • 合并多个备份数据
    • 按日期、关键词索引
    • 支持企业微信好友
  • 小伙伴们想要其他功能可以留言哦📬
  • 🔥项目正处于并将长期处于发展阶段,给我一些时间♾️,你所期望的未来都会实现(养成系开发者),可关注文末公众号持续获取项目更新动态

🥤效果

聊天界面

image-20230520235351749

image-20230520235351749

image-20230520235351749

image-20230520235400772

image-20230520235409112

image-20230520235422128

image-20230520235431091

⌛使用

下载地址:https://memotrace.cn/

下载打包好的exe可执行文件,双击即可运行

⚠️注意:若出现闪退情况请右击选择用管理员身份运行exe程序,该程序不存在任何病毒,若杀毒软件提示有风险选择略过即可,key为none可重启电脑

源码运行

详见开发者手册

AI聊天

PC端使用过程中部分问题解决(可参考)

🤔如果您在pc端使用的时候出现问题,可以先参考以下方面,如果仍未解决,可以在群里交流~

  • 不支持Win7
  • 不支持Mac(未来或许会实现)
  • 遇到问题四大法宝
    • 首先要删除app/Database/Msg文件夹
    • 重启微信
    • 重启exe程序
    • 重启电脑
    • 换电脑 如果您在运行可执行程序的时候出现闪退的现象,请右击软件使用管理员权限运行。

查看详细教程

🏆致谢


Important

声明:该项目有且仅有一个目的:“留痕”——我的数据我做主,前提是“我的数据”其次才是“我做主”,禁止任何人以任何形式将其用于任何非法用途,对于使用该程序所造成的任何后果,所有创作者不承担任何责任🙄
该软件不能找回删除的聊天记录,任何企图篡改微信聊天数据的想法都是无稽之谈。
本项目所有功能均建立在”前言“的基础之上,基于该项目的所有开发者均不能接受任何有悖于”前言“的功能需求,违者后果自负。
如果该项目侵犯了您或您产品的任何权益,请联系我删除
软件贩子勿扰,违规违法勿扰,二次开发请务必遵守开源协议

Star History Chart

🤝贡献者

支持该项目

感谢您对这个项目的兴趣和支持!如果您发现这个项目对您有帮助,并且您愿意提供赞助以维持项目的发展和改进,我将非常感激。

赞助方式

您可以通过以下方式提供赞助:

赞助者名单

感谢以下赞助者的慷慨支持:

如果您提供赞助并希望出现在赞助者名单中,请在提交赞助时提供您的 GitHub 用户名或其他相关信息。

您也可以在赞助时备注您的诉求,我将提前开发合理的功能需求。

感谢

再次感谢您的支持,这对项目的持续发展至关重要!

🎄温馨提示

如果您在使用该软件的过程中

  • 发现新的bug
  • 有新的功能诉求
  • 操作比较繁琐
  • 觉得UI不够美观
  • 等其他给您造成困扰的地方

请提起issue,我将尽快为您解决问题

如果您是一名开发者,有新的想法或建议,欢迎fork 该项目并发起PR,我将把您的名字写入贡献者名单中

联系方式

如果您遇到了问题,可以添加QQ群寻求帮助,由于精力有限,不能回答所有问题,所以还请您仔细阅读文档之后再考虑是否入群

加群方式

  1. 关注官方公众号,回复:联系方式
  2. QQ扫码入群

后续更新将会在公众号同步发布

AI交流

欢迎对“前言”中AI感兴趣的加入QQ群(不负责任何答疑),让我们一起探讨新技术,钻研新方案,将科技的力量融入生活,打造出一个真正具有情感的个人AI

License

WeChatMsg is licensed under GPLv3.

Copyright © 2022-2024 by SiYuan.

wechatmsg's People

Contributors

aaayun avatar berniehuang2008 avatar daimiaopeng avatar dzhiwang avatar flipped-1121 avatar hzh7 avatar jackjyq avatar lc044 avatar okcd00 avatar shaoyie avatar stdquantum avatar twelveeee avatar xinghehy avatar yukichiyoda avatar zetaloop avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wechatmsg's Issues

EnMicroMsg.db密码无效(已解决)

把IMEI和auth_uin组合得到一起md5加密,16位小写和32位小写我都试了,取前7位,不能打开
(1234567890ABCDEF也尝试了)
是加密方式被修改了吗?

群u小建议

软件确实很不错,不过站在用户的角度下,使用也是有门槛的,因为并不是所有的人都能看懂说明,而且好友和聊天其实是可以合并的,在查看消息这方面的话,完全可以按照微信的UI来设计,导出成html的话其实翻页的设计是有点反人类的,更好的加载方式是动态加载,或者做一个通用的工具,然后通过加载csv的方式来加载消息,并且导出的html内是无法没有图片消息和表情消息的

求朋友圈 导出

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

FileNotFoundError: [Errno 2] No such file or directory: 'app/DataBase/Msg/MSG0.db'

Describe the bug
运行 run .\decrypt_window.py 或者以管理员身份运行exe时,在获取信息成功后,点击开始会在98%的时候程序崩溃,并显示无法找到`app/DataBase/Msg/MSG0.db'
To Reproduce
Steps to reproduce the behavior:

  1. run .\decrypt_window.py
  2. Click on '获取信息'
  3. Click on `开始启动
  4. 98%时程序崩溃,并显示FileNotFoundError: [Errno 2] No such file or directory: 'app/DataBase/Msg/MSG0.db'

Expected behavior
解密成功

Screenshots

Traceback (most recent call last):
  File "I:\WeChatMsg\app\ui_pc\tool\pc_decrypt\pc_decrypt.py", line 176, in btnExitClicked
    shutil.copy("app/DataBase/Msg/MSG0.db", target_database)  # ʹ��һ�����ݿ��ļ���Ϊģ��
  File "C:\Python310\lib\shutil.py", line 417, in copy
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "C:\Python310\lib\shutil.py", line 254, in copyfile
    with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: 'app/DataBase/Msg/MSG0.db'

Desktop (please complete the following information):

  • OS: [Win10]
  • Python Version [3.10.6]

Additional context
获取信息时,key为None

issue_ csv乱码

Describe the bug
A clear and concise description of what the bug is.
导出csv时,会出现乱码的情况 ,师父是不是创建文件时候忘记utf-8啦
并且 在csv内也会出现重复消息的情况
To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

关与数据问题

我想知道工具在爬取解密聊天记录时,后台是否会进行留存?

聊天记录里包含的敏感信息也不少,希望博主可以说明这种情况的不存在性

请问是否未来可以添加微信聊天记录备份文件解密功能

请问是否未来可以添加微信聊天记录备份文件解密功能。
因为现在聊天记录备份文件,如果移动了路径(换设备,重装系统,或者单纯放在硬盘里备份)就再也无法读取了,基本上以前的备份文件都成为了废数据,如果能利用起来是非常有帮助的。

请关掉这个issue,是我使用了错误的微信号,导致备份文件无法读取

导出聊天记录后的文件能否更加通用?

我想把聊天记录保存好,但貌似目前这个软件导出的聊天记录都是分段的dcox文件,是否考虑将导出的聊天记录,保存成html网页资源,方便不同设备查看。或说保存成json文件,方便以后对数据进行处理?

支持全平台设备

Is your feature request related to a problem? Please describe.
MacOS 不支持运行,m系列芯片的机器安装虚拟机和安装 arm64 windows系统都很麻烦,而且这个过程很绕,中间可能出现未知错误,解决会浪费很多时间,不是每个人都具备这些能力。

Describe the solution you'd like
架构上做出改变,进行前后端分离,把核心功能做成后台服务,通过API进行操作,这样操作界面可以用网页实现。

比如:在本地机器运行程序后,监听本地 8000 端口,使用者在浏览器中打开 http://localhost:8000,然后进行操作。类似家用路由器后台管理的使用感。

优点:可以很好跨平台,网页做的界面会更容易和更美观。

Describe alternatives you've considered
No

Additional context
No

请问能增加关于公众号内容的导出吗

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

开源项目合作请求

@LC044 你好,我对你的这个项目不太了解,今天看到后感觉很有兴趣。

我想问下当前是否可以实现以下内容:

  1. 通过手机端备份的聊天记录文件,单一在PC端能否实现解密? 包含DB和img、video等资源文件。
  2. 读取到明文数据库数据和文件结构是破坏式的,还是说可以通过 sqlcipher 连接数据库进行查改,资源文件也是一样修改。(此项指有没有签名类似的,如修改后备份将不可用)

如果可以做到上述两项,那么就水到渠成了。
我想做一个微信的垃圾文件清理工具,目前也有一个轻量的版本 wechat-clean,它会将你所有微信垃圾以及群消息清理,但只支持Android。
由于我更换到了IOS,因为IOS越狱带来的复杂性以及学习ios开发的成本太高就没有继续在IOS端做。

如果可以借助手机微信自带的备份功能,将数据备份到PC微信端(指备份的一个文件)且能解析能修改能还原回去,那么就可以实现

  1. 定期备份聊天记录,似版本快照
  2. 不仅仅支持一个端设备,包括Android、IOS
  3. 能够按照版本将你备份的数据进行【自定义修剪】再存回手机微信,甚至手机端只留存最新滚动周期的一个版本数据。
  4. 在PC端对备份聊天记录的解析预览以及快速搜索、模糊搜索(微信的搜索很难用)。

我更倾向于将微信的数据修建后放回手机,减少存储空间。
而你更倾向于将数据提取出来进行备份、预览归档。

而我看到你的issue也有人提议做成支持全平台以及PC端备份文件解密的需求:

所以我建议,项目采用 golang + vue 编写,用golang去读取数据,用前端去展示数据,也能够轻松处理数据以及绘制。

该方式的风险在于:

  • 后期若微信新增了备份文件的签名校验机制,如果无法解密出数据或者还原回去,项目就吃灰了。

由于上述的关键内容我还有没有详细研究过,一直较忙也没有时间处理,刚好看到这个项目,想询问你的想法,要不要一起做这个。

查看聊天记录 可不可以不使用网络请求

十分感谢您的软件 他真的很神奇

希望能够离线下查看聊天内容(在获取完key信息后便直接获取数据库内容),而不进行网络请求

倒不是担心软件对数据进行上传的问题,主要是使用网络读取一些没有意义的数据毫无意义,
比如表情包 我加了数百个群他们里面的表情包非常多,合计起来可以按照万计算,然而我发现他需要调用api下载获取图片,
而且在拒绝网络的情况下依然无法忽略,这样子需要初始化时间就会长到离谱

  • 再其次就是调用api有被封号的风险,甚至有可能导致永久封禁
  • 希望需要联网的内容 可以用户点击内容或者主动点显示时候才加载

image
image

emotional analysis gkd!

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

有没有macos版的?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

11.30

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

内容乱码了怎么处理呢

bug描述
A clear and concise description of what the bug is.

报错截图
image

是否可复现

运行环境:

  • OS: [e.g. Win11]
  • Python版本:
  • 软件版本:
  • 微信版本:

Additional context
Add any other context about the problem here.

运行后提示文件找不到

2023-12-04 16:31:09,293 - pc_decrypt.py[line:87] - ERROR: Traceback (most recent call last):
File "app\ui_pc\tool\pc_decrypt\pc_decrypt.py", line 75, in get_info
File "app\util\path.py", line 27, in wx_path
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\test\AppData\Roaming\Tencent\WeChat\All Users\config\3ebffe94.ini'

database disk image is malformed

Describe the bug
A clear and concise description of what the bug is.
解密后提示重新启动,然后重新启动就起不来了

To Reproduce
Steps to reproduce the behavior:

  1. Go to '根目录'
  2. Click on '双击XXX.exe'
  3. 管理员启动也不行

Screenshots
Weixin Image_20231203224037

路径报错

这是我的路径 D:\wechat\WeChat Files 但是一直报错,说路径是以WeChat Files结尾的

qt.qpa.plugin: Could not find the Qt platform plugin "windows" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

bug描述
qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

报错截图
image

是否可复现

运行环境:

  • OS: [e.g. Win1]
  • Python版本:
  • 软件版本:
  • 微信版本:

Additional context
Add any other context about the problem here.

数据解密成功后报错

Describe the bug
数据库解密成功后无法使用程序打开数据库文件,报错后在闪退结束。

  1. 首次打开程序,提示
    图片

  2. 获取解密信息正常
    图片

3.解密成功后报错退出
图片

4.有成功生成解密db文件
图片

测试环境:
OS:windows10
微信:3.9.8.15
SQLiteStudio:3.4.4
WeChatMsg:MemoTrace-0.2.4.exe

无法渲染年度报告

bug描述
[current commit] 1381f9b

  1. requirements缺少flask?可手动pip i
  2. webui缺少index.html

报错截图
image

是否可复现

运行环境:

  • OS: Windows 10 22H2 19045.3693
  • Python版本: 3.10
  • 软件版本: PyCharm 2023.2.5
  • 微信版本: 3.9.8.15

Additional context

微信消息记录获取失败

你好,请问微信消息记录获取是按照那个教程来的吗,我使用夜神模拟器没办法完成获取微信消息记录,还有其他的办法吗
目前的问题:
1.直接复制MicroMsg到共享文件夹夹中直接崩溃
2.下载es文件浏览器(管理器)好像没有官方正版的,盗版的都打不开
请问有其他解决方法吗

在使用main.py时报错

提示错误:sqlite3.OperationalError: no such table: userinfo
我去app/Database文件夹下看了眼里面的Msg.db,发现这个是空的

报了这个错误

微信版本号 3.9.8.15,按照提示,已经选择了微信目录,并运行成功,然后再次运行Memotrace-0.25.exe,报错。我在mac下使用的虚拟机,parallels
Xnip2023-12-03_16-59-39

加载慢的问题

我的聊天记录有40多G,我也不知道为什么这么离谱。加载的时候,从好友列表逐个加载,要花很久。我想看某个好友的记录,要等加载队列到这个好友才能看到,导出功能更是要等所有人加载完之后才能使用。 所以我想,能不能我正在打开的聊天框优先加载,导出功能也加载完单个好友后就可以对其使用导出

进度一直卡在97%

Describe the bug
image

image

点击解密后 卡在 97 %进度很久了 不知道啥原因 在点击一次解密 直接就崩溃了。

消息获取来源

这个微信消息是从本地读取的吗,对于已经删除的聊天记录还能获取到吗

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.