Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 926 Bytes

File metadata and controls

38 lines (25 loc) · 926 Bytes

How to make your own

🚀 Deploy on Heroku

Deploy To Heroku

Then go to the variables tab for info on setting up environment variables.

🖥 Host on VPS / Locally

git clone https://github.com/DeekshithSH/TG-FileStreamBot
cd TG-FileStreamBot
python3 -m venv ./venv
. ./venv/bin/activate
pip3 install -r requirements.txt
python3 -m WebStreamer

To stop the bot, press CTRL+C

To keep it running 24/7 on VPS:

sudo apt install tmux -y
tmux
python3 -m WebStreamer

You can now close the terminal and the bot will keep running.

Environment Variables

Click here for Environment Variables

If you're on Heroku, add these as Config Vars.
If hosting locally, create a .env file in the root directory and add them there.