Skip to content
This repository was archived by the owner on Oct 17, 2021. It is now read-only.

chfanghr/lightning

Repository files navigation

Project archived: I have been permanently baned from using qq lmfao

lightning stability-wip Go

The purpose of this project is to forward messages between a qq group and a telegram group.

Getting Started

  1. Clone this project: git clone https://github.com/chfanghr/lightning.git
  2. Get dependencies by running get_dependencies.sh in the root of the repository
  3. 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
  4. Run docker-compose build
  5. Run docker-compose up -d
  6. Run docker-compose logs -f if you use qr code to log in to qq
  7. Enjoy!

Features

  • Forward text messages
  • Forward images
  • Recall messages from both telegram and qq
  • Forward telegram static stickers(including gifs)
  • Forward telegram tgs/animated stickers
  • Reply to forwarded messages (wip)

Troubleshooting

  • The program always fails to send (text) messages to qq:
    • remove session.token and device.json in the userdata folder
    • restart services using docker-compose restart
    • log in to qq (if needed) again

Related Projects

  • 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.

License

Licensed under the MIT license.

About

telegram <-> qq

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages