- 下载源码。 Download the code.
git clone https://github.com/KimmyXYC/KeyboxChecker.git
cd KeyboxChecker
- 复制配置文件。 Copy configuration file.
cp .env.exp .env
- 填写配置文件。 Fill out the configuration file.
TELEGRAM_BOT_TOKEN=xxx
# TELEGRAM_BOT_PROXY_ADDRESS=socks5://127.0.0.1:7890
- 安装依赖并运行。 Install dependencies and run.
pip3 install pdm
pdm install
pdm run python main.py
- 使用 PM2 守护进程。 Use PM2 to daemonize the process.
pm2 start pm2.json
pm2 monit
pm2 restart pm2.json
pm2 stop pm2.json
- 使用预构建镜像。 Use pre-built image.
docker run -d --name keyboxchecker --env-file .env ghcr.io/kimmyxyc/keyboxchecker:main
私聊发送 keybox.xml 文件 或 对 keybox.xml 文件回复 /check
Send the keybox.xml file in the private chat or reply with /check to keybox.xml file.