Ultroid - UserBot
A stable pluggable Telegram userbot + Voice & Video Call music bot, based on Telethon.
Deploy
Documentation
Tutorial
-
Tutorial to get Redis URL and password - here.
Deploy to Heroku
Get the Necessary Variables and then click the button below!
Deploy to Railway
Get the Necessary Variables and then click the button below!
Deploy Locally
Local Deploy - Easy Method
- Linux -
bash -c "$(curl -fsSL https://git.io/JY9UM)"
- Windows -
cd desktop ; wget https://git.io/JY9UM -o locals.py ; python locals.py
- Termux -
sh -c "$(curl -fsSL https://git.io/JY9UM)"
Local Deploy - Traditional Method
- Get your Necessary Variables
- Clone the repository:
git clone https://github.com/TeamUltroid/Ultroid.git
- Go to the cloned folder:
cd Ultroid
- Create a virtual env:
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
- Install the requirements:
pip(3) install -U -r re*/st*/optional-requirements.txt
pip(3) install -U -r requirements.txt
- Generate your
SESSION
:- For Linux users:
bash sessiongen
orbash -c "$(curl -fsSL https://git.io/JY9JI)"
- For Termux users:
sh -c "$(curl -fsSL https://git.io/JqgsR)"
- For Windows Users:
cd desktop ; wget https://git.io/JY9JI -o ultroid.py ; python ultroid.py
- For Linux users:
- Fill your details in a
.env
file, as given in.env.sample
. (You can either edit and rename the file or make a new file named.env
.) - Run the bot:
- Linux Users:
bash startup
- Windows Users:
python(3) -m pyUltroid
- Linux Users:
Ultroid CLI
Ultroid CLI is a command-line interface for deploying Ultroid.
-
Installing -
Run the following code on a terminal, with curl installed.
ver=$(curl https://raw.githubusercontent.com/BLUE-DEVIL1134/UltroidCli/main/version.txt) && curl -L -o ultroid https://github.com/BLUE-DEVIL1134/UltroidCli/releases/download/$ver/ultroid.exe
OR Go to UltroidCli and install the version release from the Github Releases. Add the executable to your system path as specified in the Readme. -
Documentation - Take a look at the
docs
for more detailed information.
Necessary Variables
SESSION
- SessionString for your accounts login session. Get it from hereREDIS_URI
- Redis endpoint URL, from redislabs, tutorial here.REDIS_PASSWORD
- Redis endpoint Password, from redislabs, tutorial here.
Session String
Different ways to get your SESSION
:
- Linux :
bash -c "$(curl -fsSL https://git.io/JY9JI)"
- PowerShell :
cd desktop ; wget https://git.io/JY9JI ; python ultroid.py
- Termux :
sh -c "$(curl -fsSL https://da.gd/termux-tel)"
- TelegramBot : @SessionGeneratorBot
License
Ultroid is licensed under GNU Affero General Public License v3 or later.
Credits
- Lonami for Telethon.
- MarshalX for PyTgCalls.
Made with
💕 by @TeamUltroid.