Giter VIP home page Giter VIP logo

alita_robot's Introduction

Alita_Robot

CI Release

Forks Stars Issues LICENSE Contributors Repo Size Views

DeepSource

Alita is a Telegram Group managment bot made using Gotgbot and Go, 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. Although we have added support for languages in bot, we still need contributors to translate the bot to other languages.

More langauges have been added to locales folder but need some configuration.

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/Windows machine (Ubuntu/Debain-based OS Preferred or Windows 10/Server2016 and later)

or

  • Docker (Easiest way to setup the bot)

How to setup

First Step!

  • Star the repository!!
  • Fork 🔱 the repository before deploying and make changes in the fork.

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: 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 (if using heroku) as directed in app.json file and now turn on the worker dyno to run it :)

Must Add in heroku config :

  • DB_URI : Get one from mongodb
  • OWNER_ID : your telegram id
  • MESSAGE_DUMP : must be start with -100 or your bot added in as admin

Traditional

  • Download a binary from releases page specific to your PC.
  • Set the required env variables and run the binary

Note: Not a lot of people may be able to run using this because the instructions aren't clear but I'll try to make it clear in future.

Docker

We currently publish a ghcr.io/divideprojects/alita_robot Docker image based on alpine.

Set the Environmental vars using the -e flag in while running the container.

If all works well, bot should send message to the MESSAGE_DUMP Group!

Other

You can download all binaries and release artifacts from the Releases page. Binaries are built for macOS, Linux, Windows, for amd64 and arm64 architectures.

If a binary does not yet exist for the OS/architecture you use, please open a GitHub Issue.

Verify Signature

You can verify the integrity and authenticity of any released artifact using a public GPG key. All release artifacts are signed and have a corresponding signature file. Release artifacts are available on the Releases page.

fetch GPG signing key

gpg --keyserver keyserver.ubuntu.com --recv 9CAFFF2AC5F94C7C

example: verify a release package

gpg --verify alita_robot_2.0.1_darwin_amd64.tar.gz.sig alita_robot_2.0.1_darwin_amd64.tar.gz || echo "Verification failed!"

Contributing to the project

  • Make sure your PR works and doesn't break anything.
  • You must join the support group here.
  • Make sure the CI passes.

Special Thanks to

  • Paul Larsen for his Original Marie Source Code and the amazing Gotgbot library.
  • ÁÑÑÍHÌLÅTØR SPÄRK always motivating me to make this project better.
  • jayantkageri for motivating me as well.
  • Anony for helping me with bugs and issues in the project.
  • Everyone else who inspired me to make this project, more names can be seen on commits!

Copyright & License

alita_robot's People

Contributors

divkix avatar dependabot[bot] avatar annihilatorrrr avatar deepsource-autofix[bot] avatar github-actions[bot] avatar anonymousx1025 avatar jayantkageri avatar celestix avatar yumiko-bots avatar restyled-io[bot] avatar sourcery-ai[bot] avatar abishnoi69 avatar

Forkers

rajat253

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.