Local Deploying
Don’t assume that it’s hard to deploy locally. There are various upsides and downsides but I won’t go in details. Let’s move to steps.
Requirements
PC : Python must be installed (including pip),
Android : Termux, Termux Python and Git must be installed.
Steps
Now you need to follow these steps. Run commands in Command Prompt (PC) or Termux (Android)
First you need the code on your device. Enter a directory where you will keep th code.
$ git clone https://github.com/StarkBotsIndustries/StarkUserbot.git
Now enter the StarkUserbot directory
Install all the requirements
$ pip install -r requirements.txt
Go to StarkUserbot/StarkUserbot/config.env.example. Follow its first line and then fill environment variables.
API_ID and API_HASH : Take your TelegramAPI from here
STRING_SESSION : Fill API Keys in StarkUserbot/extras/string_session_creator.py and then run it. String session will be in saved messages.
DATABASE_URL : How to get DATABASE_URL?
Run StarkUserbot/StarkUserbot/__main__.py
$ python StarkUserbot