ChatGPT-wechat-bot is a WeChat bot that integrates ChatGPT into the messaging platform.
The tool solves the problem of accessing ChatGPT conversationally within WeChat by connecting the OpenAI API to WeChat's messaging interface. It works by accepting an OpenAI API key and a reverse proxy URL, then running as a bot that receives messages through WeChat and returns ChatGPT responses. The bot maintains conversation context across multiple messages, allowing for multi-turn dialogue within the same thread.
The project suits developers or users who want to add ChatGPT capabilities to WeChat without building from scratch. It works in both direct messages and group chats, with support for mentioning the bot in groups to trigger responses. The tool includes a context reset feature accessible via a keyword, allowing users to start fresh conversations. Setup requires obtaining an OpenAI API key, configuring it in the source code, and providing a reverse proxy URL—either self-hosted or using a public proxy endpoint. The README mentions an alternative public proxy address available from another project, which can be used if you prefer not to set up your own infrastructure.
The project is written in TypeScript and includes configuration files for customization. Development appears minimal, with the README documentation provided in both English and Chinese to support a broader user base.