shenjiecode/pi-wechat-assistant
About
在微信里继续你的 pi 对话。Continue your pi conversation from WeChat — tasks, replies, images, and files.
Design & MediaWhat you can do
- Text, images, and files: send prompts, voice transcripts, images, and files from WeChat; receive replies and project files back.
- Readable on mobile: preserves full links, splits fenced code cleanly, and supports custom reply templates and receipt notices.
- Optional desktop mirroring: mirror new desktop input and AI replies to WeChat without replaying history.
- Completion summaries: opt-in concise summary sent when Pi finishes a run (/wechat config summary on). See Settings.
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
pi-wechat-assistant
Continue your pi conversation from WeChat.
A WeChat extension for pi: send tasks, read replies, and exchange files with a running pi session from your phone.
Features
- Text, images, and files: send prompts, voice transcripts, images, and files from WeChat; receive replies and project files back.
- Readable on mobile: preserves full links, splits fenced code cleanly, and supports custom reply templates and receipt notices.
- Optional desktop mirroring: mirror new desktop input and AI replies to WeChat without replaying history.
- Completion summaries: opt-in concise summary sent when Pi finishes a run (
/wechat config summary on). See Settings. - Session handoff & remote
/new: move the active WeChat connection between pi sessions, or start a fresh conversation directly from WeChat. - Deferred text replies: AI replies rejected by WeChat (
ret=-2) are durably queued and replayed on your next message, even across restarts or handoffs. See FAQ.
Install and start
Requires pi ≥ 1.2.0 (@earendil-works/pi-coding-agent) with the Node.js version it requires, and a working pi model configuration.
Run in your system terminal:
pi install npm:pi-wechat-assistant
Reopen pi, then run in its terminal UI:
/wechat login
Scan and confirm in WeChat. Login attempts to start the bridge automatically; send a message and check that an AI reply returns. Later sessions normally need only /wechat start.
Everyday use
| In pi | Purpose |
|---|---|
/wechat start / /wechat stop |
Start / stop this session’s bridge |
/wechat status |
Check running state and send results |
/wechat config |
Configure mirroring, receipts, images, and reply templates |
Press Tab after /wechat to complete subcommands and their arguments (for example /wechat config handoff auto). Completion replaces the word being typed and does not add a space, so type a space before pressing Tab to complete the next argument.
In WeChat, send /help for remote commands. WeChat /stop cancels the AI task; pi /wechat stop stops the bridge.
Send /new in WeChat to start an empty conversation and reconnect the bridge, even with auto-start off. Old history stays on disk; system and project instructions still apply. Wait until the current task and pending messages finish, then wait for confirmation before sending the next task. See details and failure recovery.
Keep the computer and pi running. Only the bound WeChat user is accepted, and one bridge can own the shared local account state at a time. Desktop mirroring is off by default. File-only messages are saved; follow with text to request processing. See the FAQ for sending limits and troubleshooting.
Guides
- Hands-on tutorial: real replies, files, and automatic session handoff.
- Quick start: setup and your first verified reply.
- Upgrading: update, restart, and preserve settings.
- FAQ and troubleshooting: login, missing replies, session handoff, and files.
- Settings · All documentation
Contributing
See Contributing (中文) for setup and checks, Architecture (中文) for code organization, and Security for private vulnerability reporting.
Explore related projects
Loading…