WeChat bot integrating multiple AI services
Top 6.1% on sourcepulse
This project provides a WeChat bot that integrates with various AI services like DeepSeek, ChatGPT, Kimi, and iFlytek for automated message replies and group management. It targets users looking for a customizable and easy-to-set-up solution for enhancing their WeChat experience with AI capabilities.
How It Works
The bot leverages the Wechaty framework to interact with WeChat. It supports multiple AI service integrations, allowing users to choose their preferred LLM provider by configuring API keys in a .env
file. The core logic for message handling and AI interaction is designed to be extensible, enabling contributions for new AI services or features.
Quick Start & Requirements
npm install
or yarn install
.npm run dev
or yarn dev
..env
file, which is a copy of .env.example
.docker build . -t wechat-bot
and docker run -d --rm --name wechat-bot -v $(pwd)/.env:/app/.env wechat-bot
.Highlighted Details
BOT_NAME
setting to manage mentions in group chats.test
command (npm run test
) to verify AI service connectivity.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
WeChat's recent strictness on third-party clients poses a risk of account warnings or bans, especially with the default web protocol. The underlying Wechaty library's maintenance status is uncertain due to potential legal issues with Tencent. Users are advised to consider alternative protocols like pad
(with caution) or enterprise solutions.
1 week ago
1 day