What problem does it solve?
It solves the need to interact with a WeChat iLink bot by handling authentication (QR login), credential storage, token retrieval, and message sending without building custom integrations.
Core Features & Use Cases
- Non-interactive QR login for agents: Request a QR code and poll its status until the bot credentials are confirmed.
- Account management: Save multiple accounts locally and switch between them using indexes.
- Context-token retrieval: Wait for the next inbound message and extract the required context_token for downstream sends.
- Send text, images, and files: Send messages to a bound WeChat user using either saved accounts or explicit credentials.
Quick Start
Ask the assistant to log in and send a message to your saved account by running: wechat-cli get-context-token --account <index> && wechat-cli send --account <index> --context-token <token> --text "hello"