panbot
v1.0.1
Published
PanBot — WeChat ↔ Claude CLI bridge
Readme
PanBot — WeChat ↔ Claude CLI Bridge
Chat with Claude CLI via WeChat. Zero external dependencies (except qrcode-terminal for login QR).
Install
npm install -g panbotUsage
# First run: scan QR code with WeChat to pair
panbot
# Already paired → starts bridge directly
panbot
# Manual re-pair
panbot login
# Check status
panbot statusOnce running, send messages to the bot on WeChat. Claude replies via WeChat.
WeChat Commands
| Command | Description |
|---------|-------------|
| Just type | Auto-create/reuse conversation, chat directly |
| /n | New conversation |
| /l | List conversations |
| /s <#N> | Switch to conversation #N |
| /k <#N> | Close conversation #N |
| /sf <file> | Send file from desktop folder |
| /stop | Shutdown PanBot |
| /h | Help |
File Transfer
Send a file to WeChat via command line:
node send-to-wechat.mjs "C:\path\to\file.pdf"Receive files from WeChat — Images/docs/videos are auto-downloaded, decrypted, and analyzed by Claude.
Requirements
- Node.js >= 22
- Claude CLI:
npm install -g @anthropic-ai/claude-code - A WeChat account for QR pairing
Data Storage
- Credentials & state:
%USERPROFILE%/PanBot/data/ - Downloaded files:
%USERPROFILE%/PanBot/files/
License
MIT
