Giter VIP home page Giter VIP logo

Altruix | UserBot


Altruix | A Modern yet simple UserBot which is based on Pyrogram. Built By The Developers Of Friday Userbot.


Deploying To Different Platforms


Official Support/Updates

  • Join the official Updates Channel
  • Join the official Support Chat

Deploy Locally

If you want to Deploy your Altruix UserBot on your PC or in Termux these are the steps -

git clone https://github.com/Altruix/Altruix
cd Altruix
nano .env
bash start.sh

Example of .env


String Session

It's not necessary until you host the bot. You can get the String Session after you are done with hosting. Just run the Altruix Assistant bot and walk through the steps.

Required Variables

Following are the required variables for the proper working of userbot, note down these somewhere for easier access so that you may use them in future:

These are used to communicate with the telegram servers. You can get you your API_HASH and API_ID from Telegram by following the given steps:

  • Go to my.telegram.com.
  • Login via adding your mobile number in the international format i.e +00 9876543210.
  • You will receive an 11 character alphanumeric code via the Telegram App. Input this code into the input field and proceed.
  • Now click on API development tools.
  • Here you may add an App title and a Short name for it (they can be anything). Note down the APP api_id and APP api_hash for future use. Scroll down to the end of the page and click on Save changes button.
API_ID

These are used to communicate with the telegram servers. You can get you your API_HASH and API_ID from Telegram by following the given steps:

  • Go to my.telegram.com.
  • Login via adding your mobile number in the international format i.e +00 9876543210.
  • You will receive an 11 character alphanumeric code via the Telegram App. Input this code into the input field and proceed.
  • Now click on API development tools.
  • Here you may add an App title and a Short name for it (they can be anything). Note down the APP api_id and APP api_hash for future use. Scroll down to the end of the page and click on Save changes button.
API_HASH

It's used to control your bot's actions etc. You can get your BOT_TOKEN for your bot by following the given steps:

  • Go to @BotFather.
  • Do /start -> /newbot
  • You'll be prompted to choose a name for your bot (it can be anything).
  • You'll be prompted to choose a username name for your bot (it can be anything but should end with suffix bot).
  • Your bot with the above details will be made! And a message containg your bots api token will also be sent.
BOT_TOKEN

TO BE DONE

DB_URI

It's used to tell your bot who is the owner of this bot and whom commands it should fulfil. Only the person with this ID can give the bot command to add more sessions to the database via /add.

  • Go to @MissRose_Bot.
  • Do /start -> /info
  • You'll receive a message containing your ID.
OWNER_ID

.env


An example of how your `.env` file should look like:

About the Repo

Currently Running Stable version of Altruix.

Is our project under active maintenance?
Maintenance
Developers aka Contributors for the Project.
Contributors

Credits

Altruix's Projects

altruix icon altruix

Modern and Minimalistic Telegram UserBot based on Pyrogram

pyrogram icon pyrogram

Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots

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.