# lich0821/wechatferry

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/lich0821-wechatferry).**

6,712 stars · 1,543 forks · C++ · MIT

## Links

- GitHub: https://github.com/lich0821/WeChatFerry
- awesome-repositories: https://awesome-repositories.com/repository/lich0821-wechatferry.md

## Topics

`chatglm` `chatgpt` `gemini` `hook` `robot` `wechat`

## Description

WeChatFerry is a platform-specific automation tool designed for programmatic account and conversation management. It enables the creation of bots and the integration of large language models to provide automated replies within a messaging interface.

The project functions by using native API interception and memory-based hooking to capture incoming communication and send messages without an official API. It includes capabilities for binary data decryption to transform protected media files and database records into readable formats.

The system covers a broad range of functional areas, including message monitoring and delivery, contact and group management, and the extraction of user records and media files. It also provides tools for querying session statuses and retrieving account profile details.

## Tags

### Networking & Communication

- [WeChat Automation Tools](https://awesome-repositories.com/f/networking-communication/wechat-automation-tools.md) — Provides a comprehensive toolkit for automating responses and managing conversations on the WeChat platform.
- [Client-Side Message Extraction](https://awesome-repositories.com/f/networking-communication/client-side-message-extraction.md) — Captures incoming communications and extracts user records or media files from the client for external processing.
- [Message Delivery Pipelines](https://awesome-repositories.com/f/networking-communication/message-delivery-pipelines.md) — Enables sending text, images, files, and formatted data to individual users or group conversations. ([source](https://github.com/lich0821/wechatferry#readme))
- [Messaging Event Monitoring](https://awesome-repositories.com/f/networking-communication/messaging-event-monitoring.md) — Monitors the client in real-time to capture incoming communication and new messages. ([source](https://github.com/lich0821/wechatferry#readme))

### Artificial Intelligence & ML

- [Chatbot Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/chatbot-integrations.md) — Integrates large language models like ChatGPT or DeepSeek to provide AI-powered automated replies.

### Graphics & Multimedia

- [Native Function Interception](https://awesome-repositories.com/f/graphics-multimedia/graphics-engines-rendering/rendering/graphics-apis-bindings/graphics-rendering-apis/api-interception-hooks/native-function-interception.md) — Captures and redirects internal native function calls to read and write messages without an official API.

### Operating Systems & Systems Programming

- [DLL Injection Techniques](https://awesome-repositories.com/f/operating-systems-systems-programming/dll-injection-techniques.md) — Implements DLL injection to execute custom code within the target application's memory space.
- [In-Memory Code Modifiers](https://awesome-repositories.com/f/operating-systems-systems-programming/in-memory-code-modifiers.md) — Modifies function pointers in volatile memory to inject custom logic into the running application process.

### Data & Databases

- [Account and Contact Management](https://awesome-repositories.com/f/data-databases/account-discovery/wechat/account-and-contact-management.md) — Handles friend requests and group memberships while programmatically retrieving account profile details.
- [Data Retrieval](https://awesome-repositories.com/f/data-databases/data-retrieval.md) — Queries internal client databases to extract structured user records, contact details, and tables. ([source](https://github.com/lich0821/wechatferry#readme))

### Security & Cryptography

- [Data Decryption](https://awesome-repositories.com/f/security-cryptography/data-decryption.md) — Provides capabilities to decrypt protected database records and media files using specific cryptographic keys.
- [Media Decryption](https://awesome-repositories.com/f/security-cryptography/data-decryption/media-decryption.md) — Includes tools for downloading and decrypting protected image and video files for local accessibility. ([source](https://github.com/lich0821/wechatferry#readme))
- [Session Identity Retrieval](https://awesome-repositories.com/f/security-cryptography/user-account-management/session-identity-retrieval.md) — Retrieves login status, user profile information, and session identity metadata from the active client session. ([source](https://github.com/lich0821/wechatferry#readme))

### System Administration & Monitoring

- [Group Membership Control](https://awesome-repositories.com/f/system-administration-monitoring/user-group-management/user-group-additions/group-membership-control.md) — Provides tools for controlling group membership through invitations, additions, and removals. ([source](https://github.com/lich0821/wechatferry#readme))
