Alita is a Telegram Group managment bot made using Pyrogram async version and Python, which makes it modern and faster than most of the exisitng Telegram Chat Managers.
Alita's features over other bots:
- Modern
- Fast
- Fully asynchronous
- Fully open-source
- Frequently updated
- Multi Language Support
Can be found on Telegram as @Alita_Robot
Alita is currently available in 1 Language as of now:
- US English
More languages can be managed in the locales folder.
We are still working on adding new languages.
Help us bring more languages to the bot by contributing to the project on Crowdin
- You need to have a Mongo Database (Cluster Preferred)
- Linux/Windows machine (Ubuntu/Debain-based OS Preferred or Windows 10/Server2016 and later)
First Step!
- Star β the repository!!
It really motivates me to continue this project further.
- Get your
API_ID
andAPI_HASH
from here - Get your Bot Token from @BotFather
Note: As it is banned with an unknown reason in heroku, follow the below steps carefully!
- First Fork this repo :)
- secondly, create an empty app in the Heroku, with a custom app name; and select Europe region for faster speed.
- Now go to the deploy tab of your app and under deployment method select GitHub and connect it.
- after that, type the forked repo name and select it now select main branch and enable auto deploy, at last click on deploy now button!
- Lastly, you must fill up all the vars in heroku as directed in app.json file and now turn on the worker dyno to run it :)
- Install Python v3.7 or later from Python's Website
- Install virtualenv using
python3 -m pip -U install virtualenv
. - Fork or Clone the project using
git clone https://github.com/DivideProjects/Alita_Robot.git
- Create Virtualenv using:
virtualenv venv
- Install the requirements using
python3 -m pip install -r requirements.txt
- Fill in all the variables in Development class, not Config class. Sudo, Dev, Whitelist users are optional!!
- Change to virtualenv shell by using:
. venv/bin/activate
(Linux)venv\Scripts\activate
(Windows) - Run the bot using
python3 -m alita
- Clone the repo and enter into it
- Install Docker
- Fill in the
sample.env
file and rename it tomain.env
. - Build the docker image using:
docker build -t alita_robot:latest .
(The dot '.' at last is necessary!) - Run the command
docker run --env-file main.env alita_robot
If all works well, bot should send message to the MESSAGE_DUMP Group!
- Make sure your PR works and doesn't break anything.
- You must join the support group.
- Make sure it passes test using
make test
.
- AmanoTeam for EduuRobot as that helped me make the translation engine.
- Dan for his Pyrogram library
- Paul Larsen for his Original Marie Source Code.
- Everyone else who inspired me to make this project, more names can be seen on commits!
- Copyright (C) 2020-2021 by Divkix β€οΈοΈ
- Licensed under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 29 June 2007