Skip to content

Alita is a Telegram Group management bot made using Pyrogram and Python, which makes it modern and faster than most of the Telegram chat managers.

License

Notifications You must be signed in to change notification settings

kavinduaj12/Alita_Robot

 
 

Repository files navigation

Alita_Robot

Forks Stars Issues LICENSE Contributors Repo Size Views

DeepSource

Deploy on Heroku

Join us on Telegram

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

Requirements

  • You need to have a Mongo Database (Cluster Preferred)
  • Linux machine (Ubuntu/Debain-based OS Preferred)

How to setup

First Step!

  • Star the repository!!

It really motivates me to continue this project further.

Deploy to Heroku

  • Get your API_ID and API_HASH from here
  • Get your Bot Token from @BotFather

Note: By default the bot uses the default heroku-20 stack.

Deploy

Traditional

  • Install Python v3.7 or later from Python's Website
  • Install virtualenv using python3 -m pip -U install poetry.
  • Fork or Clone the project using git clone https://github.com/DivideProjects/Alita_Robot.git
  • Install the requirements using poetry install
  • Fill in all the variables in Development class, not Config class. Sudo, Dev, Whitelist users are optional!!
  • Change to poetry shell by using: poetry shell
  • Run the bot using python3 -m alita

Note: The traditional method currently only works on Linux OSes as a requirement uvloop requires linux API method which isn't provided by Windows!

Docker

  • Clone the repo and enter into it
  • Install Docker
  • Fill in the sample.env file and rename it to main.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!

Contributing to the project

  • Make sure your PR works and doesn't break anything.
  • You must join the support group.
  • Make sure it passes test using make test.

Special Thanks to

  • 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 & License

Powered By

DivideProjects

About

Alita is a Telegram Group management bot made using Pyrogram and Python, which makes it modern and faster than most of the Telegram chat managers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Other 0.4%