Report a Bug
|
Request Feature
This bot is as like terabox, mdisk, pdisk etc bot. This bot stream your file or video on website with the help of telegram bot and channel. User can create his account on this bot and can earn money by generating and sharing link. Bot uses telegram cloud (telegram channel) to store file or video. This bot came with site customisation and with quality option.
- Either you could locally host, VPS, Koyeb, Render, Seenode, Heroku or Any where this repo support.
Deploy on Heroku
-
Fork This Repo
-
Click on Deploy Easily
-
Press the below button to Fast deploy on Heroku
-
Go to variables tab for more info on setting up environmental variables.
Deploy To Koyeb
The fastest way to deploy the application is to click the Deploy to Koyeb button below.
Go to https://uptimerobot.com/ and add a monitor to keep your bot alive.
Deploy To Render
Use these commands:
• Build Command:
pip3 install -U -r requirements.txt
• Start Command:
python3 bot.py
Go to https://uptimerobot.com/ and add a monitor to keep your bot alive.
Use these settings when adding a monitor:
Click on the below button to deploy directly to render ↓
Deploy To VPS
git clone https://github.com/VJBots/VJ-Video-Player
Install Packages
pip3 install -U -r requirements.txt
Edit info.py with variables as given below then run bot
python3 bot.py
Deploy Locally
git clone https://github.com/VJBots/VJ-Video-Player
cd bot.py
python3 ./venv
. ./venv/bin/activate
pip install -r requirements.txt
python3 bot.py-
To stop the whole bot, do CTRL+C
-
If you want to run this bot 24/7 on the VPS, follow these steps.
sudo apt install tmux -y
tmux
python3 bot.py-
now you can close the VPS and the bot will run on it.
Deploy Using Docker
Clone the repository:
git clone https://github.com/VJBots/VJ-Video-Player
cd bot.pyBuild own Docker image:
docker build -t file-stream .Create ENV and Start Container:
docker run -d --restart unless-stopped --name fsb \
-v /PATH/TO/.env:/app/.env \
-p 8000:8000 \
video-player- if you need to change the variables in .env file after your bot was already started, all you need to do is restart the container for the bot settings to get updated:
docker restart fsbSetting Up Things
If you're on Heroku, just add these in the Environmental Variables
or if you're Locally hosting, create a file named .env in the root directory and add all the variables there.
An example of .env file:
API_ID = 789456
API_HASH = ysx275f9638x896g43sfzx65
BOT_TOKEN = 12345678:your_bot_token
BACKUP_BOT_TOKEN = 12345678:your_backup_bot_token
LOG_CHANNEL = -100123456789
ADMIN = 2719199
MONGODB_URI = mongodb://admin:pass@192.168.27.1
STREAM_LINK = https://your_app_url.com/
LINK_URL = https://your_blogspot_page_link
# Optional
MULTI_TOKEN1 = 12345678:bot_token_multi_client_1
MULTI_TOKEN2 = 12345678:bot_token_multi_client_2
PORT = 8080Vars And Details
API_ID: API ID of your Telegram account, can be obtained from My Telegram.intAPI_HASH: API hash of your Telegram account, can be obtained from My Telegram.strADMIN: Your Telegram User ID, Send/idto @missrose_bot to get Your Telegram User IDintBOT_TOKEN: Telegram API token of your bot, can be obtained from @BotFather.strLOG_CHANNEL: ID of the channel where bot will store file or video as work like telegram cloudint.MONGODB_URI: MongoDB URI for saving User Data and Files List created by user. Watch Video TutorialstrLINK_URL: Blogspot Page Link Url For Permanent Link Feature. Watch Video TutorialstrSTREAM_LINK: Your App Url Starting With https and end with / .str
MULTI_TOKEN1: Add your first bot token.strMULTI_TOKEN2: Add your second bot token.strMULTI_TOKENn: Add your n bot token. (where n is positive integer)str
- You Can Add More Multi Token As Shown Above.
SLEEP_THRESHOLD: Set global flood wait threshold, auto-retry requests under 60s.intSESSION: Name for the Database created on your MongoDB. Defaults toTechVJBot.strPORT: The port that you want your webapp to be listened to. Defaults to8080.int
How To Use
LOG_CHANNEL as an Admin
/start : To check the bot is alive or not.
/quality : To genrate file or video with quality option.
/account : To check video plays or link clicks and balance.
/update : To Update Business Name and Telegram channel link
/withdraw : To Withdraw the balance through upi, bank etc.
/notify : To inform user that your payment sended successfully or cancelled the payment. [ADMIN]- In Simple These Are Video Tutorial Of How To Create Video Player Website For Free.
- Episode 1 : https://youtu.be/fIQK5wnyQsM
- Episode 2 : https://youtu.be/SC4uKotZjHE
- Episode 3 : https://youtu.be/NkJaO4tionY
- Episode 4 : Coming Soon..
- Tech VJ : Coded Every New Features.






