2023-05-20 23:56:16 +08:00
|
|
|
|
# 微信聊天记录可视化
|
|
|
|
|
|
2023-10-25 23:40:31 +08:00
|
|
|
|
<div align="center">
|
|
|
|
|
<img src="https://img.shields.io/badge/WeChat-聊天-blue.svg">
|
|
|
|
|
<a href="https://github.com/LC044/WeChatMsg/stargazers">
|
|
|
|
|
<img src="https://img.shields.io/github/stars/LC044/WeChatMsg.svg" />
|
|
|
|
|
</a>
|
|
|
|
|
<a href="./doc/readme.md">
|
|
|
|
|
<img src="https://img.shields.io/badge/文档-最新-brightgreen.svg" />
|
|
|
|
|
</a>
|
|
|
|
|
<a href="LICENSE">
|
2023-10-30 23:55:26 +08:00
|
|
|
|
<img src="https://img.shields.io/badge/GPL-3.0-blue.svg" />
|
2023-10-25 23:40:31 +08:00
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
|
2023-05-20 23:56:16 +08:00
|
|
|
|
## 功能
|
|
|
|
|
|
2023-07-20 14:35:42 +08:00
|
|
|
|
- 安卓 or 苹果都可以哦
|
2023-05-20 23:56:16 +08:00
|
|
|
|
- 显示聊天界面
|
|
|
|
|
- 导出聊天记录成Word文档
|
|
|
|
|
- 分析聊天数据,做成可视化年报
|
2023-08-02 22:23:54 +08:00
|
|
|
|
- 小伙伴们想要其他功能可以留言哦🏆
|
|
|
|
|
- 有任何问题可以随时联系我(863909694@qq.com)
|
2023-05-20 23:56:16 +08:00
|
|
|
|
|
2023-10-25 23:40:31 +08:00
|
|
|
|
为了方便大家交流,我新建了一个QQ群:**474379264**
|
|
|
|
|
|
|
|
|
|
大家有任何诉求可以群里反馈给我
|
|
|
|
|
|
|
|
|
|
<img src="doc/images/qq.jpg" height=480/>
|
|
|
|
|
|
2023-05-20 23:56:16 +08:00
|
|
|
|
## 效果
|
|
|
|
|
|
2023-05-21 00:00:39 +08:00
|
|
|
|

|
2023-05-20 23:56:16 +08:00
|
|
|
|
|
2023-05-21 00:00:39 +08:00
|
|
|
|

|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
## 使用
|
2023-05-20 23:56:16 +08:00
|
|
|
|
|
2023-05-21 00:19:25 +08:00
|
|
|
|
1. 根据[教程](https://blog.csdn.net/m0_59452630/article/details/124222235?spm=1001.2014.3001.5501)获得两个文件
|
|
|
|
|
- auth_info_key_prefs.xml——解析数据库密码
|
|
|
|
|
- EnMicroMsg.db——聊天数据库
|
2023-10-30 23:55:26 +08:00
|
|
|
|
- **上面这两个文件就可以**
|
2023-05-21 00:19:25 +08:00
|
|
|
|
2. 安装依赖库
|
|
|
|
|
|
2023-08-19 14:44:49 +08:00
|
|
|
|
python版本3.10
|
|
|
|
|
|
|
|
|
|
**说明:用到了python3.10的match语法,不方便更换python版本的小伙伴可以把match(运行报错的地方)更改为if else**
|
|
|
|
|
|
2023-05-21 00:19:25 +08:00
|
|
|
|
命令行运行以下代码
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
pip install -r requirements.txt
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
运行main.py
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
python main.py
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
3. 出现解密界面
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
按照提示选择上面获得的两个文件,等待解密完成,重新运行程序
|
|
|
|
|
|
|
|
|
|
4. 进入主界面
|
|
|
|
|
|
|
|
|
|
这时候不显示头像,因为头像文件没有导入进来
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
根据[教程](https://blog.csdn.net/m0_59452630/article/details/124222235?spm=1001.2014.3001.5501)
|
|
|
|
|
将头像文件夹avatar复制到工程目录./app/data/目录下
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
如果想要显示聊天图像就把[教程](https://blog.csdn.net/m0_59452630/article/details/124222235?spm=1001.2014.3001.5501)
|
|
|
|
|
里的image2文件夹复制到./app/data文件夹里,效果跟上图一样
|
|
|
|
|
|
|
|
|
|
复制进来之后再运行程序就有图像了
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
2023-08-02 22:23:54 +08:00
|
|
|
|
## 项目还有很多bug,希望各位大佬能够及时反馈
|
2023-05-21 00:34:42 +08:00
|
|
|
|
|
|
|
|
|
项目地址:https://github.com/LC044/WeChatMsg
|