video-stream/README.md

103 lines
5.7 KiB
Markdown
Raw Permalink Normal View History

2021-10-27 15:00:02 +00:00
<p align="center"><a href="https://t.me/VeezVideoBot"><img src="https://github.com/levina-lab/video-stream/raw/main/driver/veezlogo.png"></a></p>
<p align="center">
2021-11-03 12:50:11 +00:00
<br><b>Video Stream is an Advanced Telegram Bot that's allow you to play Video & Music on Telegram Group Video Chat</b><br>
2021-10-27 15:00:02 +00:00
</p>
2021-09-09 01:18:24 +00:00
<p align="center">
<a href="https://www.python.org/" alt="made-with-python"> <img src="https://img.shields.io/badge/Made%20with-Python-black.svg?style=flat-square&logo=python&logoColor=blue&color=red" /></a>
<a href="https://github.com/levina-lab/video-stream/graphs/commit-activity" alt="Maintenance"> <img src="https://img.shields.io/badge/Maintained%3F-yes-red.svg?style=flat-square" /></a>
<a href="https://app.codacy.com/gh/levina-lab/video-stream/dashboard"> <img src="https://img.shields.io/codacy/grade/a723cb464d5a4d25be3152b5d71de82d?color=red&logo=codacy&style=flat-square" alt="Codacy" /></a><br>
<a href="https://github.com/levina-lab/video-stream"> <img src="https://img.shields.io/github/repo-size/levina-lab/video-stream?color=red&logo=github&logoColor=blue&style=flat-square" /></a>
<a href="https://github.com/levina-lab/video-stream/commits/main"> <img src="https://img.shields.io/github/last-commit/levina-lab/video-stream?color=red&logo=github&logoColor=blue&style=flat-square" /></a>
<a href="https://github.com/levina-lab/video-stream/issues"> <img src="https://img.shields.io/github/issues/levina-lab/video-stream?color=red&logo=github&logoColor=blue&style=flat-square" /></a>
<a href="https://github.com/levina-lab/video-stream/network/members"> <img src="https://img.shields.io/github/forks/levina-lab/video-stream?color=red&logo=github&logoColor=blue&style=flat-square" /></a>
<a href="https://github.com/levina-lab/video-stream/network/members"> <img src="https://img.shields.io/github/stars/levina-lab/video-stream?color=red&logo=github&logoColor=blue&style=flat-square" /></a>
</p>
2021-10-28 07:43:51 +00:00
## 📊 Stats
[![CodeFactor](https://www.codefactor.io/repository/github/levina-lab/video-stream/badge)](https://www.codefactor.io/repository/github/levina-lab/video-stream)
2021-10-28 10:35:11 +00:00
## 🧪 Get `SESSION_NAME` from below:
[![GenerateString](https://img.shields.io/badge/repl.it-generateString-yellowgreen)](https://replit.com/@levinalab/StringSession#main.py) ``Pyrogram``
2021-11-03 12:54:12 +00:00
## 🎭 Preview
<p align="center">
<img src="https://telegra.ph/file/b8c1461bcbbad5664aa48.png">
</p>
2021-09-15 07:30:15 +00:00
## ✨ Features
2021-10-27 15:00:02 +00:00
- Music & Video stream support
2021-10-28 16:48:34 +00:00
- MultiChat support
2021-10-27 15:00:02 +00:00
- Playlist & Queue support
- Skip, Pause, Resume, Stop feature
- Music & Video downloader feature
- Inline Search support
- YouTube direct search support
2021-11-01 13:28:57 +00:00
- YouTube/Local/Live/m3u8 stream support
2021-10-31 03:16:44 +00:00
- Inline Search support
2021-11-01 13:28:57 +00:00
- Control With Button support
2021-11-03 11:09:18 +00:00
- Volume Control
2021-11-02 17:05:26 +00:00
- Userbot Auto Join
2021-11-15 12:58:12 +00:00
- Direct Updater
2021-09-15 07:30:15 +00:00
2021-09-09 01:18:24 +00:00
## 🛠 Commands:
2021-11-17 23:51:15 +00:00
| Command | Description |
| ------ | ------ |
2022-01-08 15:45:39 +00:00
| `/play (query)` | play music from youtube |
2021-11-17 23:51:15 +00:00
| `/vplay (query)` | play video from youtube |
| `/vstream (live link)` | play video live streaming video |
| `/pause` | pause the streaming (admin only) |
| `/resume` | resume the streaming (admin only) |
| `/skip` | switch to next stream (admin only) |
| `/stop` | end the streaming (admin only) |
| `/vmute` | for mute the userbot on voice chat |
| `/vunmute` | for unmute the userbot on voice chat |
| `/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 (sudo only) |
| `/update` | update your bot directly without leaving telegram (sudo only) |
| `/restart` | restart your bot directly without leaving telegram (sudo only) |
| `/clean` | clean all raw files |
| `/rmd` | clean all downloaded files |
2021-10-27 15:00:02 +00:00
## Heroku Deployment 💜
The easy way to host this bot, deploy to Heroku, Change the app country to Europe (it will help to make the bot stable).
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/levina-lab/video-stream)
## VPS Deployment 📡
2021-11-03 12:54:12 +00:00
Get the best Quality of streaming performance by hosting it on VPS, here's the step's:
2021-10-27 15:00:02 +00:00
```sh
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/levina-lab/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.
2021-11-03 12:50:11 +00:00
# continue the host with screen or anything else, thanks for reading.
2021-10-27 15:00:02 +00:00
```
2021-09-09 01:18:24 +00:00
2021-10-25 07:48:59 +00:00
# Credits 💖
2021-09-09 01:18:24 +00:00
2021-09-13 23:47:34 +00:00
- [Levina](https://github.com/levina-lab) ``Dev``
- [Zxce3](https://github.com/Zxce3) ``Dev``
- [DoellBarr](https://github.com/DoellBarr) ``Dev``
- [tofikdn](https://github.com/tofikdn) ``Dev``
2021-12-26 11:34:47 +00:00
- [Makoto-XD](https://github.com/Makoto-XD) ``Supporter``
2021-09-14 23:27:03 +00:00
- [Laky's](https://github.com/Laky-64) for [``py-tgcalls``](https://github.com/pytgcalls/pytgcalls)
2021-09-13 23:47:34 +00:00
- [Dan](https://github.com/delivrance) for [``Pyrogram``](https://github.com/pyrogram)
2021-09-09 01:18:24 +00:00
### Support & Updates 🎑
<a href="https://t.me/VeezSupportGroup"><img src="https://img.shields.io/badge/Join-Group%20Support-blue.svg?style=for-the-badge&logo=Telegram"></a> <a href="https://t.me/levinachannel"><img src="https://img.shields.io/badge/Join-Updates%20Channel-blue.svg?style=for-the-badge&logo=Telegram"></a>