{"id":22379107,"url":"https://github.com/saann3/youtubediscordbot","last_synced_at":"2025-08-21T08:13:58.787Z","repository":{"id":218041848,"uuid":"736217978","full_name":"SAANN3/YouTubeDiscordBot","owner":"SAANN3","description":"A discord bot that plays youtube songs","archived":false,"fork":false,"pushed_at":"2024-01-23T18:49:28.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T15:48:31.647Z","etag":null,"topics":["bot","discord-bot","discord-music-bot","discord-youtube","dpp","music-bot","music-bot-discord","music-player","songs","youtube-discord"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SAANN3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-12-27T09:54:49.000Z","updated_at":"2024-01-19T12:23:01.000Z","dependencies_parsed_at":"2025-06-03T18:12:12.318Z","dependency_job_id":"10be200f-d39f-4c2a-8f00-907ab7a93507","html_url":"https://github.com/SAANN3/YouTubeDiscordBot","commit_stats":null,"previous_names":["saann3/youtubediscordbot"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/SAANN3/YouTubeDiscordBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAANN3%2FYouTubeDiscordBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAANN3%2FYouTubeDiscordBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAANN3%2FYouTubeDiscordBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAANN3%2FYouTubeDiscordBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SAANN3","download_url":"https://codeload.github.com/SAANN3/YouTubeDiscordBot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAANN3%2FYouTubeDiscordBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271448397,"owners_count":24761438,"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","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"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":["bot","discord-bot","discord-music-bot","discord-youtube","dpp","music-bot","music-bot-discord","music-player","songs","youtube-discord"],"created_at":"2024-12-04T23:08:59.854Z","updated_at":"2025-08-21T08:13:58.760Z","avatar_url":"https://github.com/SAANN3.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Youtube discord bot\na simple bot that can play music from youtube\n\n\n\n## prerequisite for linux\nAs dependency you need :```DPP curl fmt ffmpeg mpg123```\n\nAlso you need to put somewhere in PATH yt-dlp, for example\n\n\n```\nsudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp\nsudo chmod a+rx /usr/local/bin/yt-dlp\n```\n## Installation\n[Download](https://github.com/SAANN3/YouTubeDiscordBot/releases) a linux binary or windows zip archive \n## Usage\nOn start of a program it tries to find a BOT_TOKEN file, if it couldn't then its ask you to either enter bot_token retrieved from [here](https://discord.com/developers/applications/) in console or manually place a file.\n\nFor first time only after placing token you should launch program with ``` -s ``` argument to register bot commands\n\nThen you can invite bot and start playing music with /play \n### Or if you prefer to compile from source \n#### for linux\n\n```bash\n  git clone https://github.com/SAANN3/YouTubeDiscordBot\n  cd YouTubeDiscordBot\n  mkdir build\n  cd build \u0026\u0026 cmake .. \u0026\u0026 cd ..\n  cmake --build build/ -j4\n  \n```\n\n#### for windows\nI used a vcpkg for windows build, if you don't have it you should install it first.\nThen using vcpkg install theese packages\n\n``` dpp curl fmt getopt getopt-win32 libsodium mpg123 nlohmann-json openssl ```\n```\n   git clone https://github.com/SAANN3/YouTubeDiscordBot\n   cd YouTubeDiscordBot\n   rm cmake\n   mkdir build\n   cd build\n   cmake -DCMAKE_TOOLCHAIN_FILE=\"PATH TO VCPKG.cmake\" ..\n   cmake   --build . --config=release\n```\nnavigate to ./build/Release\n\nnow download a [yt-dlp](https://github.com/yt-dlp/yt-dlp#installation) , and put it near our .exe file.\nAlso we need [ffmpeg](https://www.gyan.dev/ffmpeg/builds/) as dependency for yt-dlp. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaann3%2Fyoutubediscordbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaann3%2Fyoutubediscordbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaann3%2Fyoutubediscordbot/lists"}