Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

📃 Export WeChat chat histories to HTML files.
https://github.com/luin/wechat-export

export wechat

Last synced: 2 days ago
JSON representation

📃 Export WeChat chat histories to HTML files.

Awesome Lists containing this project

README

        

# 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](https://macroplant.com/iexplorer) to export "Documents" to the local system.

3. Clone the code.
4. Compile the [audio decoder](https://github.com/kn007/silk-v3-decoder): `cd silk/silk && make && cd ../../`
5. Install [Node.js](https://nodejs.org/en/) (>= 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

* [iOS 垎äŋĄįš„æœŦ地存储įģ“æž„įŽ€æž](https://zhuanlan.zhihu.com/p/22474033)

## Related Projects

* [WeChatExporter](https://github.com/tsycnh/WeChatExporter)
* [WechatExport-iOS](https://github.com/stomakun/WechatExport-iOS)

## Credits

Silk decoder is developed by [Karl Chen](https://github.com/kn007/silk-v3-decoder).