{"id":16150753,"url":"https://github.com/asmsafone/videoplayerbot","last_synced_at":"2025-04-13T00:46:17.487Z","repository":{"id":38106091,"uuid":"402441821","full_name":"AsmSafone/VideoPlayerBot","owner":"AsmSafone","description":"An Telegram Bot By @AsmSafone To Stream Videos in Telegram Voice Chat. This is Also The Source Code of The Bot Which is Being Used In Our Support Group! ❤️","archived":false,"fork":false,"pushed_at":"2023-03-05T16:22:54.000Z","size":146,"stargazers_count":233,"open_issues_count":2,"forks_count":693,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-13T00:46:12.763Z","etag":null,"topics":["bot","hacktoberfest","hacktoberfest-accepted","hacktoberfest2022","player","telegram","telegram-bot","tgvc","video","videoplayer"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AsmSafone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-09-02T14:01:47.000Z","updated_at":"2025-04-10T11:43:41.000Z","dependencies_parsed_at":"2024-02-09T04:15:13.208Z","dependency_job_id":null,"html_url":"https://github.com/AsmSafone/VideoPlayerBot","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsmSafone%2FVideoPlayerBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsmSafone%2FVideoPlayerBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsmSafone%2FVideoPlayerBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsmSafone%2FVideoPlayerBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AsmSafone","download_url":"https://codeload.github.com/AsmSafone/VideoPlayerBot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650432,"owners_count":21139672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","hacktoberfest","hacktoberfest-accepted","hacktoberfest2022","player","telegram","telegram-bot","tgvc","video","videoplayer"],"created_at":"2024-10-10T00:51:35.934Z","updated_at":"2025-04-13T00:46:17.468Z","avatar_url":"https://github.com/AsmSafone.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram Video Player Bot [![Mentioned in Awesome](https://awesome.re/mentioned-badge-flat.svg)](https://github.com/tgcalls/awesome-tgcalls)\n![GitHub Repo stars](https://img.shields.io/github/stars/AsmSafone/VideoPlayerBot?color=blue\u0026style=flat)\n![GitHub forks](https://img.shields.io/github/forks/AsmSafone/VideoPlayerBot?color=green\u0026style=flat)\n![GitHub issues](https://img.shields.io/github/issues/AsmSafone/VideoPlayerBot)\n![GitHub closed issues](https://img.shields.io/github/issues-closed/AsmSafone/VideoPlayerBot)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AsmSafone/VideoPlayerBot)\n![GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed/AsmSafone/VideoPlayerBot)\n![GitHub contributors](https://img.shields.io/github/contributors/AsmSafone/VideoPlayerBot?style=flat)\n![GitHub repo size](https://img.shields.io/github/repo-size/AsmSafone/VideoPlayerBot?color=red)\n![GitHub commit activity](https://img.shields.io/github/commit-activity/m/AsmSafone/VideoPlayerBot)\n![GitHub](https://img.shields.io/github/license/AsmSafone/VideoPlayerBot)\n[![Bot Updates](https://img.shields.io/badge/VideoPlayerBot-Updates%20Channel-green)](https://t.me/AsmSafone)\n[![Bot Support](https://img.shields.io/badge/VideoPlayerBot-Support%20Group-blue)](https://t.me/safothebot)\n\nAn Telegram Bot By [@AsmSafone](https://t.me/AsmSafone) To Stream Videos in Telegram Voice Chat.\n\n## Main Features\n\n- Supports Live Streaming.\n- Supports YouTube Streaming.\n- Supports Live Radio Streaming.\n- Supports Video Files Streaming.\n- Supports YouTube Live Streaming.\n- User Account Protection (PM Guard)\n\n## Deploy Own Bot\n\n### Railway (Recommended)\n\u003cp\u003e\u003ca href=\"https://railway.app/new/template?template=https%3A%2F%2Fgithub.com%2FAsmSafone%2FVideoPlayerBot\u0026envs=API_ID%2CAPI_HASH%2CBOT_TOKEN%2CSESSION_STRING%2CASSISTANT_NAME%2CSUDO_USERS%2CREPLY_MESSAGE%2CSUPPORT_GROUP%2CUPDATES_CHANNEL\u0026optionalEnvs=REPLY_MESSAGE%2CSUPPORT_GROUP%2CUPDATES_CHANNEL\u0026API_IDDesc=User+Account+Telegram+API_ID+get+it+from+my.telegram.org%2Fapps\u0026API_HASHDesc=User+Account+Telegram+API_HASH+get+it+from+my.telegram.org%2Fapps\u0026BOT_TOKENDesc=Your+Telegram+Bot+Token%2C+get+it+from+%40Botfather+XD\u0026SESSION_STRINGDesc=Pyrogram+Session+String+of+User+Account%2C+get+it+from+%40genStr_robot\u0026ASSISTANT_NAMEDesc=Your+Video+Player%27s+assistant+username+without+%40\u0026SUDO_USERSDesc=ID+of+Sudo+Users+who+can+use+Admin+commands+%28for+multiple+users+seperated+by+space%29\u0026REPLY_MESSAGEDesc=A+reply+message+to+those+who+message+the+USER+account+in+PM.+Make+it+blank+if+you+do+not+need+this+feature.\u0026SUPPORT_GROUPDesc=Support+Group+username+without+%40+%5BLeave+this+if+you+don%27t+have+one%5D\u0026UPDATES_CHANNELDesc=Updates+Channel+username+without+%40+%5BLeave+this+if+you+don%27t+have+one%5D\u0026SUPPORT_GROUPDefault=SafoTheBot\u0026UPDATES_CHANNELDefault=AsmSafone\u0026REPLY_MESSAGEDefault=Hello+Sir%2C+I%27m+a+bot+to+stream+videos+on+telegram+voice+chat%2C+not+having+time+to+chat+with+you+%F0%9F%98%82%21\u0026referralCode=SAFONE\"\u003e\u003cimg src=\"https://img.shields.io/badge/Deploy%20To%20Railway-blueviolet?style=for-the-badge\u0026logo=railway\" width=\"200\"\"/\u003e\u003c/a\u003e\u003c/p\u003e\n\n### Heroku (Don't Complain)\n\u003cp\u003e\u003ca href=\"https://heroku.com/deploy?template=https://github.com/AsmSafone/VideoPlayerBot\"\u003e\u003cimg src=\"https://img.shields.io/badge/Deploy%20To%20Heroku-blueviolet?style=for-the-badge\u0026logo=heroku\" width=\"200\"\"/\u003e\u003c/a\u003e\u003c/p\u003e\n\n## Commands (Set In Botfather)\n```sh\nstart - Start The Bot\nhelp - Show Help Message\nplay - Start Audio Streaming\nstream - Start Video Streaming\npause - Pause The Current Stream\nresume - Resume The Paused Stream\nendstream - Stop Streaming \u0026 Left VC\n```\n\n## Config Vars\n1. `API_ID` : User Account Telegram API_ID, get it from my.telegram.org\n2. `API_HASH` : User Account Telegram API_HASH, get it from my.telegram.org\n3. `BOT_TOKEN` : Your Telegram Bot Token, get it from @Botfather XD\n4. `SESSION_STRING` : Pyrogram Session String of User Account, get it from [@genStr robot](http://t.me/genStr_robot) or [![genStr](https://img.shields.io/badge/repl.it-genStr-yellowgreen)](https://repl.it/@AsmSafone/genStr)\n5. `ASSISTANT_NAME` : Your Video Player's assistant username without @.\n6. `SUPPORT_GROUP` : Support Group username without @ [Leave this if you don't have one]\n7. `UPDATES_CHANNEL` : Updates Channel username without @ [Leave this if you don't have one]\n8. `SUDO_USERS` : ID of Users who can use Admins commands (for multiple users seperated by space)\n9. `REPLY_MESSAGE` : A reply to those who message the USER account in PM. Leave it blank if you do not need this feature.\n\n## Requirements\n- Python 3.6 or Higher.\n- Latest [FFmpeg Python](https://www.ffmpeg.org/).\n- [Telegram API key](https://docs.pyrogram.org/intro/quickstart#enjoy-the-api).\n- Pyrogram [String Session](http://t.me/genStr_robot) Of The Account.\n- The User Account Needs To Be An Admin In The Group / Channel.\n\n## Self Host\n```sh\n$ git clone -b main https://github.com/AsmSafone/VideoPlayerBot\n$ cd VideoPlayerBot\n$ sudo apt-get install python3-pip ffmpeg\n$ pip3 install -U pip\n$ pip3 install -U -r requirements.txt\n# \u003ccreate .env variables appropriately\u003e\n$ python3 main.py\n```\n\n## License\n```sh\nVideoPlayerBot, Telegram Video Chat Bot\nCopyright (c) 2021  Asm Safone \u003chttps://github.com/AsmSafone\u003e\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU Affero General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License\nalong with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e\n```\n\n## Credits\n\n- [Me](https://github.com/AsmSafone) for [Noting](https://github.com/AsmSafone/VideoPlayerBot) 😬\n- [Dan](https://github.com/delivrance) for [Pyrogram](https://github.com/pyrogram/pyrogram) ❤️\n- [MarshalX](https://github.com/MarshalX) for [pytgcalls](https://github.com/MarshalX/tgcalls) ❤️\n- And Thanks To All [Contributors](https://github.com/AsmSafone/VideoPlayerBot/graphs/contributors)! ❤️\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasmsafone%2Fvideoplayerbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasmsafone%2Fvideoplayerbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasmsafone%2Fvideoplayerbot/lists"}