luin / wechat-export

๐Ÿ“ƒ Export WeChat chat histories to HTML files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Related Projects

Credits

Silk decoder is developed by Karl Chen.

About

๐Ÿ“ƒ Export WeChat chat histories to HTML files.

License:MIT License


Languages

Language:C 86.9%Language:Assembly 11.7%Language:JavaScript 0.7%Language:Shell 0.3%Language:Makefile 0.2%Language:HTML 0.2%Language:CSS 0.1%