Get the Necessary Variables and then click the button below!
Get the Necessary Variables and then click the button below!
- Get your Necessary Variables
- Clone the repository:
git clone https://github.com/AellyXD/Puii.git
- Go to the cloned folder:
cd Puii
- 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
orwget -O session.py https://git.io/JY9JI && python3 session.py
- For Termux users:
wget -O session.py https://git.io/JY9JI && python session.py
- For Windows Users:
cd desktop ; wget https://git.io/JY9JI -o puii.py ; python puii.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 wa
- Linux Users:
SESSION
- SessionString for your accounts login session. Get it from here
One of the following database:
- For Redis (tutorial here)
- For MONGODB
MONGO_URI
- Get it from mongodb.
- For SQLDB
DATABASE_URL
- Get it from elephantsql.
Different ways to get your SESSION
:
- TelegramBot : @string_puiibot
Ultroid is licensed under GNU Affero General Public License v3 or later.