# aixed/WeChat-Hook

微信 收发消息功能/ PC微信3.9.10.16 & 4.1.10.27接口 微信Hook 微信机器人 微信Hook源码 PC微信协议 PC微信协议算法

Repository: https://github.com/aixed/WeChat-Hook
Canonical: https://ross.abutalabs.com/products/wechat-hook
Language: C++
License Family: other
Topics: e, wechat, wechat-hook, wechat-api
Last push: 2026-08-20T03:23:06+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 90, longevity 100
- inputs: {"age_days": 1591, "days_push": 13, "days_rel": 65, "gap_med": 10, "n_releases_24m": 2}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2033, forks 551 (observed 2026-08-28T04:06:07.778904+00:00)

## What it is
A Windows x64 DLL (loaded as a version.dll proxy into WeChat PC) that hooks WeChat 3.9.10.16 / 4.1.10.27 and exposes a local HTTP API for sending text/image messages, forwarding XML messages, decoding images, reading profiles, and querying WeChat's in-process SQLite databases. It is written in C++ and built with Visual Studio/MSBuild.

## Use cases
- build a wechat bot that sends messages programmatically
- hook pc wechat to send and receive messages via http api
- query wechat chat database from an external tool
- automate wechat message forwarding and xml message handling
- decode wechat encrypted images
- integrate wechat messaging into my own application

## When to choose
- you need programmatic control of a specific Windows WeChat PC version (3.9.10.16 or 4.1.10.27)
- you want a simple local HTTP interface to send/receive WeChat messages
- you need to read WeChat's SQLite data from within the process

## When to avoid
- you need official, ToS-compliant WeChat integration (use WeChat Work or official APIs)
- you target macOS, Linux, or mobile WeChat clients
- you need a different WeChat version than the supported ones
- you cannot accept legal/account-ban risks of hooking a closed-source client

## Facets
- artifact type: library
- maturity: active
- function: http-server, reverse-engineering, chatbot, sdk
- domain: messaging-platforms, reverse-engineering, developer-tools
- platform: windows, cpp, cli
- tags: wechat, wechat-hook, dll-injection, version-dll-proxy, wechat-bot, http-api, sqlite, reverse-engineering, windows-x64, automation

## Member repositories
- aixed/WeChat-Hook (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:07.778904+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:59:27.223790+00:00, confidence not recorded.
  - readme: https://github.com/aixed/WeChat-Hook (fetched 2026-08-28T04:06:07.778904+00:00, sha 91f664db3b27)
- Data as of 2026-08-30T08:39:29.467469+00:00.
