/wechat-export

📃 Export WeChat chat histories to HTML files.

Primary LanguageCMIT LicenseMIT

wechat-export

Export WeChat chat histories to HTML files.

Preview

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. npm install

  6. 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

Related Projects

Credits

Silk decoder is developed by Karl Chen.