A Trial bot based on Telethon.
-
Tutorial to get Redis URL and password - here.
Get the Necessary Variables and then click the button below!
- 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)"
- 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 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 resources/startup/startup.sh
- Windows Users:
python(3) -m pyUltroid
- Linux Users:
API_ID
- Your API_ID from my.telegram.orgAPI_HASH
- Your API_HASH from my.telegram.orgSESSION
- 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.