微信消息导出工具:wechat-export

wechat-export是一款开源的微信消息导出工具,可将聊天记录导出成 HTML 文件、支持文本、语音、图片、视频、消息等资源。软件遵守MIT开源协议。

使用方法:

    iPhone 备份到Mac上

    使用 iExplore 导出 “文档”到本地系统.

    克隆代码

    编译audio decoder(https://github.com/kn007/silk-v3-decoder): 

cd silk/silk && make && cd ../../

    安装Node.js (>= 14)

    npm install

    node index.js path_to/Documents/{uid} output_dir (path_to/Documents 第二步得到的, uid 看起来这样 g3c3814a370neh4dr69uf9f889f6ea7a).

https://github.com/luin/wechat-export

----------------------------------------------

Export WeChat chat histories to HTML files. 

This script generates a HTML file for each contact's chat history.

Currently it supports:

  • Text
  • Voice
  • Picture
  • Video
  • System message

TODO:

  • Emoji
  • Link

How to Use

Tested on macOS 11.5.2 and iOS 14.8, but should work on any recent versions.

  1. Back up iPhone with your Mac.

  2. Use iExplore to export "Documents" to the local system.

  3. Clone the code.

  4. Compile the audio decoder: cd silk/silk && make && cd ../../

  5. Install Node.js (>= 14)>

  6. npm install

  7. node index.js path_to/Documents/{uid} output_dir (path_to/Documents is what we got from the second step, and uid looks like g3c3814a370neh4dr69uf9f889f6ea7a).

Articles

Credits

Silk decoder is developed by Karl Chen.

from 

https://github.com/luin/wechat-export