← all repositories
AutumnWhj/ChatGPT-wechat-bot

ChatGPT in your WeChat DMs, with memory and a reset button

It wires the OpenAI API into your WeChat account so GPT can answer DMs and group @-mentions on your behalf.

4.7k stars TypeScript Chat Assistants
ChatGPT-wechat-bot
Not currently ranked — collecting fresh signals.
star history

What it does

This project turns a personal WeChat account into a ChatGPT relay. After scanning a QR code in the terminal to log in, the bot listens for direct messages and group @-mentions, forwards them to the OpenAI API, and pipes the generated replies back into the chat. It tracks conversation context across messages until a configured reset keyword clears the slate.

The interesting bit

The README spends as much time on infrastructure workarounds as on chat features: it documents a reverse-proxy setup for users who need an overseas server address to reach the API, and includes a long list of Linux dependencies just to keep Puppeteer’s browser process from crashing. That suggests the real effort here was keeping the bridge online, not just calling the completions endpoint.

Key highlights

  • Maintains multi-turn context in private and group chats, resettable by keyword (reset by default)
  • Supports keyword triggers and @-mentions in group chats to avoid replying to every message
  • Ships with reverse-proxy support, including a suggested third-party proxy endpoint for users who need it
  • Persists login state to a local WechatEveryDay.memory-card file
  • README advises users to prompt the bot with “please continue” when ChatGPT’s replies hit length limits

Caveats

  • The README is predominantly Chinese; the English documentation link points back to the same file
  • Login requires a Puppeteer-driven browser session, and the README includes a lengthy Ubuntu dependency list to resolve common headless Chrome launch failures
  • Stuck WeChat sessions require manually deleting the WechatEveryDay.memory-card file and restarting

Verdict

Worth a look if you need a quick, self-hosted ChatGPT presence inside WeChat for a small group or personal account. Skip it if you want a polished, official integration or a bot that runs without babysitting a headless browser.

Frequently asked

What is AutumnWhj/ChatGPT-wechat-bot?
It wires the OpenAI API into your WeChat account so GPT can answer DMs and group @-mentions on your behalf.
Is ChatGPT-wechat-bot open source?
Yes — AutumnWhj/ChatGPT-wechat-bot is open source, released under the MIT license.
What language is ChatGPT-wechat-bot written in?
AutumnWhj/ChatGPT-wechat-bot is primarily written in TypeScript.
How popular is ChatGPT-wechat-bot?
AutumnWhj/ChatGPT-wechat-bot has 4.7k stars on GitHub.
Where can I find ChatGPT-wechat-bot?
AutumnWhj/ChatGPT-wechat-bot is on GitHub at https://github.com/AutumnWhj/ChatGPT-wechat-bot.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.