# nodeWechat/wechat4u

微信 wechat web 网页版接口的 JavaScript 实现，兼容Node和浏览器，微信机器人

Repository: https://github.com/nodeWechat/wechat4u
Canonical: https://ross.abutalabs.com/products/wechat4u
Language: JavaScript
License Family: other
Topics: wechat4u, bot, wechat
Last push: 2024-07-26T07:48:06+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3843, "days_push": 768, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- 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 1855, forks 313 (observed 2026-08-28T04:05:44.709510+00:00)

## What it is
A JavaScript library implementing the WeChat web (web wechat) protocol, usable in Node.js and the browser to build WeChat bots. It supports login persistence, sending/receiving/forwarding/revoking messages, and contact management.

## Use cases
- build a wechat bot that auto-replies to messages
- send wechat messages programmatically from node.js
- monitor and log incoming wechat group messages
- forward messages between wechat contacts automatically
- manage wechat contacts and group names via script
- persist wechat login session and resume sync

## When to choose
- you need a Node.js or browser library to automate WeChat via the web protocol
- you want to build a personal WeChat bot with message send/receive and contact APIs

## When to avoid
- you need an officially supported WeChat API - this relies on an unofficial web protocol that WeChat may block
- you need enterprise WeChat (WeCom) or mini-program APIs
- you require guaranteed long-term reliability, since the web WeChat interface can break at any time

## Facets
- artifact type: library
- maturity: maintenance
- function: chatbot, http-client, sdk
- domain: messaging-platforms, chatbots
- platform: browser
- tags: wechat, wechat-bot, web-wechat, messaging-api, unofficial-api, automation, nodejs, javascript

## Member repositories
- nodeWechat/wechat4u (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:44.709510+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-30T03:16:44.954949+00:00, confidence not recorded.
  - readme: https://github.com/nodeWechat/wechat4u (fetched 2026-08-28T04:05:44.709510+00:00, sha f46e6d22f446)
  - registry_npm: https://registry.npmjs.org/wechat4u (fetched 2026-08-29T10:55:48.776827+00:00, sha 80f97789cc04)
- Data as of 2026-08-30T08:39:29.467469+00:00.
