# songtianyi/wechat-go

go version wechat web api and message framework for building wechat robot

Repository: https://github.com/songtianyi/wechat-go
Canonical: https://ross.abutalabs.com/products/wechat-go
Language: Go
License: MIT
License Family: permissive
Topics: wechat, golang, web, api, robot, bot, framework
Last push: 2022-07-13T18:41:22+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3510, "days_push": 1512, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1860, forks 343 (observed 2026-08-28T04:05:45.334931+00:00)

## What it is
A Go library that implements the WeChat web API (login, contacts, message send/receive) on top of a plugin-based message framework for building WeChat robots. It is explicitly a library rather than a runnable program, with bundled plugins for face recognition, GIF search, translation, cross-group message forwarding, and more.

## Use cases
- build a wechat bot in go
- send and receive wechat messages programmatically
- automate replies to wechat messages
- wechat web api client for golang
- forward messages between wechat groups automatically
- add plugins like translation or gif search to a wechat account

## When to choose
- your WeChat account can still log in at wx.qq.com (accounts that used web WeChat before mid-2017)
- you want a Go library with a simple plugin system and full control over message handlers
- you need multi-account (multi-open) bot sessions or relogin without re-scanning the QR code
- you want to run a bot on Linux, macOS, Windows, or even a Raspberry Pi

## When to avoid
- your WeChat account was created after web WeChat access was restricted — login will fail for most modern accounts
- you need an officially supported, ToS-compliant WeChat integration for production
- you need an actively maintained project — the web protocol this depends on is deprecated and the last release was 2022

## Facets
- artifact type: library
- maturity: abandoned
- function: chatbot, plugin-system
- domain: chatbots, messaging-platforms
- platform: go, windows
- tags: wechat, wechat-web-api, wechat-bot, bot-framework, message-handling, unofficial-api, instant-messaging, multi-account, automation, linux, macos

## Member repositories
- songtianyi/wechat-go (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:45.334931+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:15:56.301799+00:00, confidence not recorded.
  - readme: https://github.com/songtianyi/wechat-go (fetched 2026-08-28T04:05:45.334931+00:00, sha 76d558eaa39d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
