laitimes

20K+ WeChat chat backup open source project

author:Merlin Farmer
Molin Code Farmers focuses on sharing open source projects, selects technical dry goods from the open source community, shares interesting and valuable projects on Github and Gitee, and learns and grows together.
20K+ WeChat chat backup open source project

As we all know, WeChat's chat data is saved on the computer or mobile phone, and if you accidentally delete it by mistake, you basically can't get it back. When it comes to some important chat records, such as business negotiations, borrowing money, signing contracts, etc., it is very necessary to back them up regularly. WeChat officially supports backing up chat history to local, however, it does not support direct viewing, which is very inconvenient.

Xiaobian today shares with you an open source artifact: Traces, based on the open source license GPL-3.0 developed in python language, free and ad-free, can quickly extract WeChat's chat history, covering text, pictures, videos, emojis, voices, files, system messages, etc. in the chat history, and export it into HTML, Word, CSV documents, restore the real chat scene, and save it permanently.

20K+ WeChat chat backup open source project

The tool also has a more interesting function: generate annual chat reports, such as individual annual reports, group annual reports, etc., you can analyze the exported chat records and generate web pages, including the number of chats, word clouds, how many days you have known each other, etc., the annual report supports sharing, and you can watch it by scanning it on WeChat.

20K+ WeChat chat backup open source project

So far, the project has won 20.7k stars and 2.3k forks on GitHub, which is very popular.

20K+ WeChat chat backup open source project

Features supported by the latest version

20K+ WeChat chat backup open source project

Download and install

Currently, there are two ways to do this:

Way 1: Download the binary

The latest version is MemoTrace-1.0.5 .exe, only Windows version, ready to download, no installation required.

访问不了 GitHub 的宝子公众号私信留言 memotrace 自取。

20K+ WeChat chat backup open source project

Method 2: Use the source code to install

Support Windows, MacOS

Dependencies:

Python>=3.10 Currently, only 3.10, 3.11, and 3.12 are supported

1. Use git to clone the source code to the local computer

git clone https://github.com/LC044/WeChatMsg           

2. Install dependencies

cd WeChatMsg


pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple           

How to use:

Here's a Windows desktop system as an example to demonstrate how to use it, and the specific steps are as follows:

1. Log in to WeChat on your computer

Log in to WeChat on your computer. Use the chat history migration feature on your mobile phone to migrate your chat data to your computer.

Mobile WeChat->Me-> Settings-> Chat-> Chat History Migration & Backup-> Migration-> Migrate to computer WeChat, as shown in the following figure:

20K+ WeChat chat backup open source project
20K+ WeChat chat backup open source project

After the migration is completed, be sure to restart WeChat on the computer, if you don't restart, you may encounter the problem that the progress bar has been stuck at 97%!

2. Leave traces of operation

双击 MemoTrace-1.0.5.exe 启动软件,一直点击【OK】。

20K+ WeChat chat backup open source project

Click [Get Info] to read the logged in WeChat on the computer

20K+ WeChat chat backup open source project

After obtaining the key and WeChat path, click [Start Start] to extract and decrypt the chat data

20K+ WeChat chat backup open source project

After the extraction is complete, restart the Tracemark client as prompted

20K+ WeChat chat backup open source project

After restarting, you can see the chats of each of your friends

20K+ WeChat chat backup open source project

Click [Friends], select the friends you want to export your chat history in the friends list, and select the file type to export in the upper right corner, the latest version supports exporting Docx, CSV, HTML, TXT files.

20K+ WeChat chat backup open source project

Choose any file type and click Start to export the chat

The exported message types can be text, images, videos, emojis, etc., and you can choose to export chat history for a certain period of time.

20K+ WeChat chat backup open source project

The export was successful

20K+ WeChat chat backup open source project

The files are saved in the data folder of the same directory as the software

20K+ WeChat chat backup open source project

A preview of the exported effect

The content of the chat is still marked with a mosaic, not suitable for children, hehe~

20K+ WeChat chat backup open source project

The basic use of the software is introduced here, the operation is simple, the function is very practical, it can help us easily export WeChat chat history, save key information, in case of emergency, especially when encountering the most useful.

At present, the software is still being iterated, and the author will develop richer functions in the future. Finally, about the security of the software, as an open-source WeChat chat history backup tool, it is non-toxic and harmless, if you are not at ease, you can use it off the network!

Conclusion

A few simple characters can create joy,

A few simple numbers can write miracles.

With a keyboard, you can travel the world,

A network cable can know the world.

It's not easy to create, thank you for your support. More dry goods and technical information will be shared in the future, your reading is the support of the editor, thank you again!