Skip to content

video stream is a Telegram Bot project for streaming a video and music trough the new Telegram Group video chat.

License

Notifications You must be signed in to change notification settings

Riswanmd16/video-stream

 
 

Repository files navigation


Video Stream is an Open-Source Telegram Bot project that's allow you to play Video & Music on Telegram Group Video Chat

Codacy

📊 CodeFactor Stats

CodeFactor

🎭 Preview

✨ Features

  • Music & Video stream support
  • Multi-Chat support
  • Playlist & Queue support
  • Skip, Pause, Resume, Stop feature
  • Music & Video downloader feature
  • Inline Search support
  • YouTube direct search support
  • YouTube/Local/Live/m3u8 stream support
  • Control With Button support
  • Volume Control
  • Userbot Auto Join
  • Broadcast & Global Ban
  • Shell Executor (eval & sh)
  • SpeedTest Runner
  • Updater & Restart feature

🛠 Commands:

Command Description
/play (query) play music from youtube
/vplay (query) play video from youtube
/vstream (live link) play live streaming video
/pause pause the streaming (admin only)
/resume resume the streaming (admin only)
/skip goes to the next track (admin only)
/stop stop the playback and clear queues (admin only)
/vmute for mute the userbot on group call
/vunmute for unmute the userbot on group call
/volume 1/200 adjust the volume of userbot (userbot must be admin)
/playlist show you all the current stream list
/song (query) download music from youtube
/video (query) download video from youtube
/userbotjoin invite the userbot to join group (admin only)
/userbotleave instruct userbot to leave the group (admin only)
/leaveall order the userbot to leave from all group (bot owner only)
/update update your bot directly without leaving telegram (bot owner only)
/restart restart your bot directly without leaving telegram (bot owner only)
/speedtest run server speedtest that you use to run your bot
/broadcast brodcast message to all group that in bot database
/gban & /ungban use this to gban someone and ungban them
/stats get the bot current statistic
/calls show you the list of current running group call in bot database

Generate Session Name 🔻

GenerateString

Heroku Deployment 💜

Click The button below for deploy your bot to Heroku, Note: Set the app country to Europe (it will help to make the bot much faster and stable).

Deploy to Heroku

📝 [NOTE]: Remember to fork this repo first then you can deploy this repo, if not your deployment proccess will failed that because Heroku has blacklisted this repo !

VPS Deployment 📡

Get the best Quality of streaming performance by hosting it on VPS, here's the step's:

sudo apt update && apt upgrade -y
sudo apt install git curl python3-pip ffmpeg -y
pip3 install -U pip
curl -sL https://deb.nodesource.com/setup_16.x | bash -
sudo apt-get install -y nodejs
npm i -g npm
git clone https://github.com/Riswanmd16/video-stream # clone the repo.
cd video-stream
pip3 install -U -r requirements.txt
cp example.env .env # use vim to edit ENVs
vim .env # fill up the ENVs (Steps: press i to enter in insert mode then edit the file. Press Esc to exit the editing mode then type :wq! and press Enter key to save the file).
python3 main.py # run the bot.

# continue the host with screen or anything else, thanks for reading.

Credits 💖

Support & Updates 🎑

About

video stream is a Telegram Bot project for streaming a video and music trough the new Telegram Group video chat.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.1%
  • Other 0.9%