{"id":51160761,"url":"https://github.com/nub-coders/nub-music-bot","last_synced_at":"2026-06-26T13:02:11.284Z","repository":{"id":291107939,"uuid":"975501726","full_name":"nub-coders/nub-music-bot","owner":"nub-coders","description":"A Telegram voice chat music bot with HD audio/video streaming, queue management, and playback controls — built with Pyrogram and PyTgCalls.","archived":false,"fork":false,"pushed_at":"2026-06-14T17:36:18.000Z","size":10230,"stargazers_count":3,"open_issues_count":0,"forks_count":16,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-06-14T19:14:26.988Z","etag":null,"topics":["audio","music-bot","pyrogram","pytgcalls","python","streaming","telegram","telegram-bot","video","voice-chat"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nub-coders.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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-30T12:20:57.000Z","updated_at":"2026-06-14T17:36:22.000Z","dependencies_parsed_at":"2026-01-18T11:03:12.905Z","dependency_job_id":null,"html_url":"https://github.com/nub-coders/nub-music-bot","commit_stats":null,"previous_names":["nub-coders/nub-music-bot","devsnubcoder/nub-music-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nub-coders/nub-music-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nub-coders%2Fnub-music-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nub-coders%2Fnub-music-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nub-coders%2Fnub-music-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nub-coders%2Fnub-music-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nub-coders","download_url":"https://codeload.github.com/nub-coders/nub-music-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nub-coders%2Fnub-music-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34817641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-26T02:00:06.560Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["audio","music-bot","pyrogram","pytgcalls","python","streaming","telegram","telegram-bot","video","voice-chat"],"created_at":"2026-06-26T13:02:10.494Z","updated_at":"2026-06-26T13:02:11.272Z","avatar_url":"https://github.com/nub-coders.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":" # nub-music-bot\n\n Telegram music/voice-chat bot for streaming audio (and video) into group voice chats.\n\n ![Bot Logo](https://raw.githubusercontent.com/nub-coders/nub-music-bot/refs/heads/main/music.jpg)\n\n Summary\n -------\n Lightweight, extensible Python bot built on `Pyrogram` and `pytgcalls` to stream media into Telegram voice chats. This repo contains the bot code, plugins, and utilities used to download, queue and stream media from YouTube and other sources.\n\n Quick features\n --------------\n - Queue and playback controls (seek, pause, resume, skip)\n - Admin/sudo/owner controls and simple permission management\n - Auto-generated thumbnails and status messages\n - Support for YouTube downloads via `yt-dlp`\n\n Requirements\n ------------\n - Python 3.10+\n - `ffmpeg` installed on the host\n - MongoDB (or a compatible MongoDB URI)\n\n Configuration (environment variables)\n -------------------------------------\n The bot reads configuration from environment variables. Key names used by the project (see `config.py`) are:\n\n - `API_ID` (default in `config.py` shown for convenience)\n - `API_HASH`\n - `BOT_TOKEN`\n - `STRING_SESSION`\n - `OWNER_ID`\n - `MONGODB_URI`\n - Optional: `LOGGER_ID`, `DB_NAME`, `YOUTUBE_API_KEYS`, `YT_API_TOKEN`, `NUB_YT_API_BASE_URL`\n\n Quickstart (local or VPS)\n -------------------------\n 1. Clone the repo:\n\n ```bash\n git clone https://github.com/nub-coders/nub-music-bot.git\n cd nub-music-bot\n ```\n\n 2. Install dependencies:\n\n ```bash\n python3 -m pip install -r requirements.txt\n ```\n\n 3. Provide environment variables (example using a `.env` file or export commands). At a minimum set `BOT_TOKEN` and either `STRING_SESSION` or Pyrogram credentials.\n\n 4. Run the bot:\n\n ```bash\n python3 main.py\n ```\n\n Deploy\n------\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/nub-coders/nub-music-bot)\n\n[![Deploy to Deplox](https://app.nubcoder.com/deploy/button.svg)](https://app.nubcoder.com/deploy?template=https://github.com/nub-coders/nub-music-bot)\n\n- A `Procfile` and `app.json` are included for easy Heroku deployment (see repository root).\n\n Contributing\n ------------\n Contributions are welcome. Open issues or PRs with clear descriptions and tests where appropriate.\n\n License\n-------\nThis project is licensed under the MIT License - see the `LICENSE` file for details.\n\n Credits\n -------\n Developed by the \u003cimg src=\"https://raw.githubusercontent.com/nub-coders/nub-coders/refs/heads/main/client/public/logo.svg\" height=\"20\" align=\"center\" /\u003e Nub Coders community.\n\n For detailed configuration, inspect `config.py` and `app.json` in the project root.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnub-coders%2Fnub-music-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnub-coders%2Fnub-music-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnub-coders%2Fnub-music-bot/lists"}