Welcome to wechat-gptbot
Introduction
wechat-gptbot is an innovative WeChat bot designed around ChatGPT, promising users a stable and risk-free experience while automating conversations on WeChat. The idea arose from the challenges faced with account restrictions when using other WeChat bots based on platforms like itchat
and wechaty
. The goal is to provide a safer option for users to integrate intelligent conversation features into their WeChat experience without worrying about their account's safety.
Features
- Extremely Stable: Uses a windows hook implementation, removing the risk of WeChat account restrictions.
- Basic Conversation: Enables intelligent replies in both private and group chats, supporting multiple rounds of conversation context. It works with popular AI models like GPT-3, GPT-3.5, GPT-4, among others.
- Image Generation: Capable of generating images, currently utilizing the Dell-E model.
- Flexible Configuration: Offers various configuration options like prompt settings, proxy settings, and command configurations.
- Plugin System: Allows users to develop personalized plugins for additional functions.
Changelog
As of July 13, 2023, the plugin system
was introduced, greatly expanding the potential capabilities of gptbot. An example of a created plugin is the tiktok plugin. Detailed documentation on plugin use and development can be found here.
Getting Started
Environment Setup
The bot supports the Windows operating system, with potential future support for Linux. Python also needs to be installed, ideally version 3.8.X to 3.10.X.
Steps to Get Started
-
Clone the Repository:
git clone https://github.com/iuiaoin/wechat-gptbot && cd wechat-gptbot
-
Install Dependencies:
pip install -r requirements.txt
-
Configuration:
-
Copy the configuration template:
cp config.template.json config.json
-
Customize the configurations in
config.json
according to your needs.
-
Running the Bot
-
Prepare the Necessary Tools:
- Download essential assets from the release page.
- Install the specified WeChat version and log in.
- Use the injector tool to inject the DLL needed for the bot to work.
-
Execute the Command:
python app.py
Now, you're all set to start using wechat-gptbot and explore its awesome features!
Community and Contribution
Contributions, issues, and feature requests are encouraged and welcomed. Users are invited to check out the issues page for ongoing discussions and bug reports.
Show Your Support
Feel free to give a star to this project if you find it helpful!
Sponsorship
Support the project by becoming a sponsor on AFDIAN. Sponsors will be acknowledged in the generous backers' section.
By choosing wechat-gptbot, users are given the keys to unlock seamless, intelligent interactions on WeChat, powered by cutting-edge technology.