Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/callsmusic/vcpb
[UNMAINTAINED] The first voice chat-related Telegram bot to be open-sourced. Uses MPV and has queue, stream & YouTube support.
https://github.com/callsmusic/vcpb
Last synced: 3 months ago
JSON representation
[UNMAINTAINED] The first voice chat-related Telegram bot to be open-sourced. Uses MPV and has queue, stream & YouTube support.
- Host: GitHub
- URL: https://github.com/callsmusic/vcpb
- Owner: callsmusic
- License: agpl-3.0
- Created: 2020-12-26T05:24:44.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-14T12:29:11.000Z (almost 3 years ago)
- Last Synced: 2024-05-11T06:37:07.476Z (6 months ago)
- Language: Python
- Homepage:
- Size: 621 KB
- Stars: 126
- Watchers: 12
- Forks: 309
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# π§ VoiceChatPyroBot β The first Telegram voice chat bot to be open-sourced [![Mentioned in Awesome Telegram Calls](https://awesome.re/mentioned-badge-flat.svg)](https://github.com/tgcalls/awesome-tgcalls)
## π Logic
The only thing VCPB does for you is automating the audio streaming process, it doesnβt directly play audio in group calls. So you have to forward the audio that VCPB plays to a Telegram call manually using Telegram desktop app on your PC or server with a desktop environment.
### π Config
Pass CLI args when running or copy config/sample_config.py to config/config.py
### βοΈ Install the required packages```shell
sudo apt install mpv libmpv-dev pulseaudio &&
pip3 install -U -r requirements.txt
```
### β¨ Run the bot```shell
python3 main.py
```## βΉοΈ Commands
### π₯ Everyone
- Sending a YouTube video link in private downloads and adds it to the queue if no radio is streaming.
| Command | Description |
| ------- | ------------------------------------------- |
| /queue | see the items in the queue if there are any |### π€ Sudo users
| Command | Description |
| ------- | ------------------------------------------------------------- |
| /stream | stream the provided radio station if not streaming |
| /stop | stop the radio stream if streaming |
| /pause | pause the audio stream if not playing |
| /resume | resume the audio stream if not paused |
| /skip | skip the current audio stream if playing |
| /clear | clear the queue if not empty |
| /rmd | delete the downloaded files if there are any |
| /seekf | seek the playback forward by the provided seconds if playing |
| /seekb | seek the playback backward by the provided seconds if playing |## π License
### GNU Affero General Public License v3.0
[Read more](http://www.gnu.org/licenses/#AGPL)