{"id":49101049,"url":"https://github.com/bohdaq/muzlo","last_synced_at":"2026-04-20T23:33:21.282Z","repository":{"id":350768487,"uuid":"1208185374","full_name":"bohdaq/muzlo","owner":"bohdaq","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-12T00:50:00.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-12T02:23:29.580Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/bohdaq.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-11T23:51:35.000Z","updated_at":"2026-04-12T00:50:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bohdaq/muzlo","commit_stats":null,"previous_names":["bohdaq/muzlo"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/bohdaq/muzlo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bohdaq%2Fmuzlo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bohdaq%2Fmuzlo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bohdaq%2Fmuzlo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bohdaq%2Fmuzlo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bohdaq","download_url":"https://codeload.github.com/bohdaq/muzlo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bohdaq%2Fmuzlo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32070656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T21:26:33.338Z","status":"ssl_error","status_checked_at":"2026-04-20T21:26:22.081Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-04-20T23:33:20.598Z","updated_at":"2026-04-20T23:33:21.275Z","avatar_url":"https://github.com/bohdaq.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Muzlo - Discord Music Bot\n\nA Discord bot that plays music from YouTube and Spotify using simple commands.\n\n## Features\n\n-  Play music from Spotify URLs\n- ⏹️ Stop playback and leave voice channel\n- 📝 Queue system for multiple songs\n- 🔍 Automatic YouTube search for Spotify tracks\n\n## Commands\n\n- `/play {spotify_url}` - Play a song from Spotify URL\n- `/stop` - Stop the current song and clear the queue\n\n**Note:** YouTube direct URLs are not supported due to YouTube's bot detection. The bot automatically finds YouTube videos for Spotify tracks.\n\n## Setup\n\n### Prerequisites\n\n- Node.js (v16.9.0 or higher)\n- A Discord Bot Token\n- Spotify API Credentials (Client ID and Secret)\n- FFmpeg installed on your system\n\n### Installation\n\n1. Clone this repository:\n```bash\ngit clone \u003cyour-repo-url\u003e\ncd muzlo\n```\n\n2. Install dependencies:\n```bash\nnpm install\n```\n\n3. Create a `.env` file based on `.env.example`:\n```bash\ncp .env.example .env\n```\n\n4. Fill in your credentials in `.env`:\n   - **DISCORD_TOKEN**: Get from [Discord Developer Portal](https://discord.com/developers/applications)\n   - **SPOTIFY_CLIENT_ID** \u0026 **SPOTIFY_CLIENT_SECRET**: Get from [Spotify Developer Dashboard](https://developer.spotify.com/dashboard)\n\n### Getting Discord Bot Token\n\n1. Go to [Discord Developer Portal](https://discord.com/developers/applications)\n2. Click \"New Application\" and give it a name\n3. Go to \"Bot\" section and click \"Add Bot\"\n4. Copy the token and paste it in your `.env` file\n5. Enable these Privileged Gateway Intents:\n   - Message Content Intent\n6. Go to OAuth2 \u003e URL Generator\n7. Select scopes: `bot`\n8. Select bot permissions: `Send Messages`, `Connect`, `Speak`\n9. Copy the generated URL and invite the bot to your server\n\n### Getting Spotify Credentials\n\n1. Go to [Spotify Developer Dashboard](https://developer.spotify.com/dashboard)\n2. Log in with your Spotify account\n3. Click \"Create an App\"\n4. Fill in the app name and description\n5. Copy the Client ID and Client Secret to your `.env` file\n\n## Running the Bot\n\n### Development mode (with auto-restart):\n```bash\nnpm run dev\n```\n\n### Production mode:\n```bash\nnpm start\n```\n\n## Usage\n\n1. Join a voice channel in your Discord server\n2. Use `/play https://open.spotify.com/track/...`\n3. The bot will:\n   - Fetch the track info from Spotify\n   - Search for it on YouTube\n   - Join your channel and start playing\n4. Use `/stop` to stop playback\n\n## Troubleshooting\n\n### FFmpeg not found\nMake sure FFmpeg is installed on your system:\n- **macOS**: `brew install ffmpeg`\n- **Ubuntu/Debian**: `sudo apt-get install ffmpeg`\n- **Windows**: Download from [ffmpeg.org](https://ffmpeg.org/download.html)\n\n### Bot doesn't respond\n- Check that Message Content Intent is enabled in Discord Developer Portal\n- Verify your bot token is correct in `.env`\n- Make sure the bot has proper permissions in your server\n\n### Spotify links don't work\n- Verify your Spotify Client ID and Secret are correct\n- Check that the Spotify track is available in your region\n\n## License\n\nISC\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbohdaq%2Fmuzlo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbohdaq%2Fmuzlo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbohdaq%2Fmuzlo/lists"}