LCBot is a WeChat robot that serves Linux China. It mainly manages and maintains WeChat groups under Linux China.
Note: Using this project carries the risk of being banned from the WeChat web version, so development has basically stopped. If you continue to use this project, you will be responsible for the consequences.
Video tutorial address: Click here to view the video tutorial collection | Linux/macOS usage tutorial | Full version Win 10 usage tutorial | Single group version robot usage tutorial
Note: This series of videos uses the old version of LCBot. Please refer to the text content of this article for the new version.
Login-free feedback: I want new features!
Note: Using this project carries the risk of being banned from the WeChat web version, so development has basically stopped. If you continue to use this project, you will be responsible for the consequences.
Download source code
git clone https://github.com/LCTT/LCBot.git
Install extension
cd LCBot
pip3 install -U -r requirements.txt
Thanks to @OSMeteor for providing the Docker version
How to use:
docker pull osmeteor/pythonlcbot
# 或者使用国内镜像: docker pull registry.docker-cn.com/osmeteor/pythonlcbot
docker run -i -t osmeteor/pythonlcbot /bin/bash
cd /opt/LCBot
python bot.py
First, make robot-related settings (Note: The configuration scheme using puid in the old version has been abandoned, and there is no need to export puid data)
Edit lines 11 and 22 in config.py and fill in the name of the administrator group ( admin_group_name
) and the prefix of the managed group ( group_prefix
) respectively.
Edit line 68 in config.py and fill in the name of the monitoring group ( alert_group
)
Edit line 70 in config.py and fill in the APIKEY ( turing_key
) of the Turing robot
As well as related configurations such as welcome language, invitation message, invitation keywords, etc. in config.py
Then execute the following command to run the robot (you need to scan the QR code to log in for the first time)
python3 bot.py
If after execution, if the QR code is not displayed normally, you can execute
sudo localectl set-locale LANG=C.UTF-8
View FAQ
View Todo
View CONTRIBUTING
The code is open source based on the MIT license
The document is shared under CC-BY-ND license