# unmagic/wechat-im

微信小程序即时通讯模板，使用WebSocket通信

Repository: https://github.com/unmagic/wechat-im
Canonical: https://ross.abutalabs.com/products/wechat-im
Homepage: http://blog.csdn.net/sinat_27612147/article/details/78456363
Language: JavaScript
License: MIT
License Family: permissive
Topics: wechat-im, wechat, im
Last push: 2021-02-03T07:26:53+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3221, "days_push": 2037, "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 1724, forks 359 (observed 2026-08-28T04:05:27.943723+00:00)

## What it is
A complete WeChat Mini Program instant messaging template built on WebSocket, providing conversation list, chat, and friends pages with text, image, and voice messaging. It includes a local Node.js WebSocket server for development and modular, componentized message handling.

## Use cases
- add chat functionality to a wechat mini program
- build an im template with websocket in wechat
- send text image and voice messages in a mini program
- learn websocket communication in wechat mini programs
- run a local websocket server for mini program chat testing

## When to choose
- you need a ready-made chat UI and messaging flow for a WeChat Mini Program
- you want a learning reference for WebSocket-based IM in mini programs
- you need text, image, and voice messaging with send-status handling out of the box

## When to avoid
- you need production-grade commercial IM with server-side history persistence
- you need group chat with member nicknames in the UI
- you want to integrate IM as a plug-and-play plugin rather than a template
- you are not familiar with ES6 and WebSocket basics

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: websocket, chat-interface, ui-components, file-upload, audio-processing
- domain: messaging-platforms, web-development, mobile-development
- platform: -
- tags: wechat-miniprogram, instant-messaging, chat-template, websocket-client, voice-messages, boilerplate, real-time, wechat, javascript, nodejs

## Member repositories
- unmagic/wechat-im (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:27.943723+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-30T08:32:29.118531+00:00, confidence not recorded.
  - readme: https://github.com/unmagic/wechat-im (fetched 2026-08-28T04:05:27.943723+00:00, sha f69efff44c1f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
