Project archived: I have been permanently baned from using qq lmfao
The purpose of this project is to forward messages between a qq
group and a telegram
group.
- Clone this project:
git clone https://github.com/chfanghr/lightning.git
- Get dependencies by running
get_dependencies.sh
in the root of the repository - Fill the configuration file, save it as
config.json
- Please refer to
config.json.example
- Redis configuration can be ignored if you use
docker-compose
to deploy this project
- Please refer to
- Run
docker-compose build
- Run
docker-compose up -d
- Run
docker-compose logs -f
if you use qr code to log in to qq - Enjoy!
- Forward text messages
- Forward images
- Recall messages from both
telegram
andqq
- Forward telegram static stickers(including
gif
s) - Forward telegram tgs/animated stickers
- Reply to forwarded messages (wip)
- The program always fails to send (text) messages to qq:
- remove
session.token
anddevice.json
in theuserdata
folder - restart services using
docker-compose restart
- log in to
qq
(if needed) again
- remove
- MiraiGo is a state-of-the-art reverse-engineering project. It provides unofficial qq apis.
- telebot is a really nice telegram bot api framework.
- rlottie-to-gif-api converts telegram animated stickers to gif images so that we can send them to qq.
Licensed under the MIT license.