GitHub

Project Description: WeChatMsg (留痕)

What is the project about?

WeChatMsg (留痕) is a tool designed to allow users to take control of their WeChat data. It focuses on extracting, viewing, and exporting WeChat chat history from a Windows PC. The core idea is to empower users to preserve their digital memories and potentially use them for personal AI training.

What problem does it solve?

  • Data Ownership: It addresses the issue of users not having full control over their own WeChat data.
  • Memory Preservation: It helps users save their chat history, preventing loss of important conversations and memories.
  • Data for Personal AI: It provides a way to extract data that can potentially be used to train personalized AI assistants.
  • Data Analysis: It allows users to analyze their chat data and create visualized annual reports.

What are the features of the project?

  • WeChat Database Decryption: Decrypts the local Windows WeChat database.
  • Chat Interface Reconstruction: Recreates the WeChat chat interface, displaying:
    • Text messages
    • Images
    • System messages (like "Pat a friend")
  • Data Export:
    • Batch export of data.
    • Export of contacts.
    • Export to SQLite database.
    • Export to HTML (with support for various message types like text, images, videos, voice notes, files, shared links, system messages, quoted messages, forwarded messages, transfers, audio/video calls, location sharing, business cards, mini-programs, and video channels). The HTML export includes features like timeline navigation, links to quoted messages, hyperlinks for shared links and mini-programs, and expandable forwarded messages.
    • Export to CSV.
    • Export to TXT.
    • Export to Word.
  • Chat Data Analysis: Analyzes chat data to generate visualized annual reports.
  • Annual Report Generation: Creates personalized and dual-person annual reports based on chat data.

What are the technologies used in the project?

  • PyQt: (Mentioned in the "致谢" section) Used for the GUI components.
  • Python: (Implied by PyQt and the PyWxDump reference) The primary programming language.
  • SQLite: Used as the database format for storing extracted data.
  • HTML/CSS/JavaScript: Used for generating the HTML export and annual reports.

What are the benefits of the project?

  • Data Control: Users gain full control over their WeChat data.
  • Memory Preservation: Important conversations and memories are saved.
  • Potential for Personal AI: Data can be used for training personalized AI.
  • Data Insights: Users can gain insights into their chat history through analysis and reports.
  • Data Portability: Data can be exported in multiple formats.

What are the use cases of the project?

  • Personal Archiving: Saving personal chat history for long-term storage.
  • Data Backup: Creating a backup of WeChat conversations.
  • Personal AI Training: Using chat data to train a personalized AI assistant.
  • Data Analysis: Analyzing chat patterns and generating reports.
  • Memory Lane: Revisiting past conversations and memories.
  • Annual Report: Creating a yearly summary of WeChat interactions.
WeChatMsg screenshot