Skip to content

Crayz310/Legacy

 
 

Repository files navigation


 Code style: black

Disclaimer

If you are a paranoid person, you should not use this userbot. This userbot is not a virus, but it can be used for malicious purposes. You are responsible for all actions taken by your account.


Installation

⚙ Manual installation (no script):

apt update && apt install git python3 -y && git clone https://github.com/Crayz310/Legacy && cd Legacy && pip install -r requirements.txt && python3 -m legacy

If you are on VPS\VDS, type --proxy-pass in the end of command to open SSH tunnel to your Legacy web interface, or use --no-web to complete setup in console

🐬 Docker:

git clone https://github.com/Crayz310/Legacy && cd Legacy && sudo docker build . -t Crayz310/legacy:latest
sudo docker run --restart=unless-stopped --name <container name> -p <port>:8080 --detach -it Crayz310/legacy:latest

🚂 Deploy on Railway

Be careful! Any userbots are officially banned on Railway, if your account is banned, neither the creator nor other people are to blame for this


Changes

  • 🆕 Latest Telegram layer with reactions, video stickers and other stuff
  • 🔓 Security improvements, including native entity caching and targeted security rules
  • 🎨 UI/UX improvements
  • 📼 Improved and new core modules
  • ⏱ Quick bug fixes
  • ▶️ Inline forms, galleries and lists
  • 🔁 Full backward compatibility with FTG, Hikka and GeekTG modules

Requirements

  • 🐍 Python 3.9-3.12
  • 🔑 API_ID and HASH from Telegram

Documentation

Check out dev.hikka.pw for developers' documentation and hikka.pw for users' documentation



Features

Forms - bored of writing? Use buttons! Galleries - scroll your favorite photos in Telegram
Inline - share userbot with your friends Bot interactions - "No PM"? No problem. Feedback bot at your service
InlineLogs - traceback directly in message, caused error Grep - execute command and get only required lines

👨‍👦 NoNick, NoNickUser, NoNickCmd, NoNickChat - use another account for userbot


Warning

This project is provided as-is. Developer doesn't take ANY responsibility over any problems, caused by userbot. By installing Legacy you take all risks on you. This is but not limited to account bans, deleted (by Telegram algorithms) messages, SCAM-modules, leaked sessions (due to SCAM-modules). It is highly recommended to enable the API Flood protection (.api_fw_protection) and not to install many modules at once. By using Legacy you give your consent to any actions made by your account in background in purposes of automatization. Please, consider reading https://core.telegram.org/api/terms for more information.


Special thanks to:

About

The most fresh and updateable developer-oriented Telegram userbot

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages

  • Python 99.0%
  • Other 1.0%