{"id":19162262,"url":"https://github.com/andre-carbajal/navimusic","last_synced_at":"2026-03-08T00:12:46.925Z","repository":{"id":211433543,"uuid":"728889219","full_name":"andre-carbajal/NaviMusic","owner":"andre-carbajal","description":"NaviMusic is a music bot for Discord, developed in Java using Discord4J","archived":false,"fork":false,"pushed_at":"2026-03-06T02:20:11.000Z","size":217,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-06T07:09:33.333Z","etag":null,"topics":["discord","discord-bot","discord-java","discord-music","discord-music-bot","discordbot","music","music-bot"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andre-carbajal.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":"2023-12-07T23:18:31.000Z","updated_at":"2026-03-06T02:20:15.000Z","dependencies_parsed_at":"2024-02-14T20:01:09.028Z","dependency_job_id":"e869ba24-5c67-444d-a452-9867fb69e021","html_url":"https://github.com/andre-carbajal/NaviMusic","commit_stats":null,"previous_names":["andre-carbajal/navimusic"],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/andre-carbajal/NaviMusic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andre-carbajal%2FNaviMusic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andre-carbajal%2FNaviMusic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andre-carbajal%2FNaviMusic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andre-carbajal%2FNaviMusic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andre-carbajal","download_url":"https://codeload.github.com/andre-carbajal/NaviMusic/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andre-carbajal%2FNaviMusic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30238344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T23:52:25.683Z","status":"ssl_error","status_checked_at":"2026-03-07T23:52:25.373Z","response_time":53,"last_error":"SSL_read: 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":["discord","discord-bot","discord-java","discord-music","discord-music-bot","discordbot","music","music-bot"],"created_at":"2024-11-09T09:09:34.643Z","updated_at":"2026-03-08T00:12:46.919Z","avatar_url":"https://github.com/andre-carbajal.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NaviMusic: Your Personal Music Bot for Discord\n\nWelcome to NaviMusic, a highly user-friendly music bot for Discord. Now rebuilt with **Kotlin** and **Spring Boot**, NaviMusic offers a seamless and robust music experience for your Discord server.\n\n## Table of Contents\n\n- [Getting Started](#getting-started)\n- [Prerequisites](#prerequisites)\n- [Configuration](#configuration)\n- [Available Commands](#available-commands)\n- [Running the Application](#running-the-application)\n- [Running the Application with Docker](#running-the-application-with-docker)\n- [Production Mode](#production-mode)\n- [License](#license)\n\n## Getting Started\n\nThis section provides a guide on how to get NaviMusic up and running on your local machine.\n\n## Prerequisites\n\nBefore you begin, ensure you have the following installed:\n\n- **Java 25** (Required for DAVE/JDave encryption)\n- **Maven**\n- **Docker** (Optional)\n\n## Configuration\n\nNaviMusic uses environment variables for configuration. You can also set these in `src/main/resources/application.properties`.\n\n### Environment Variables\n\n| Variable | Description |\n| :--- | :--- |\n| `DISCORD_TOKEN` | Your Discord Bot Token. |\n| `SPOTIFY_CLIENT_ID` | Your Spotify Application Client ID. |\n| `SPOTIFY_CLIENT_SECRET` | Your Spotify Application Client Secret. |\n| `YOUTUBE_POTOKEN` | YouTube PO Token. |\n| `YOUTUBE_VISITOR` | YouTube Visitor ID. |\n| `YOUTUBE_OAUTH2` | YouTube OAuth2 Code. |\n\n\u003e **Note:** For YouTube credentials, use a [PO Token generator](https://github.com/iv-org/youtube-trusted-session-generator). If `YOUTUBE_OAUTH2` is missing, follow the console instructions on the first run to authenticate.\n\n## Available Commands\n\nNaviMusic uses Slash Commands for easy interaction.\n\n### Music Commands\n- `/play [query]` - Play a song or playlist from YouTube/Spotify.\n- `/skip` - Skip the current track.\n- `/queue` - View the current music queue.\n- `/nowplaying` - Show details of the currently playing track.\n- `/pause` - Pause playback.\n- `/resume` - Resume playback.\n- `/clear` - Clear the queue.\n- `/leave` - Make the bot leave the voice channel.\n- `/repeat` - Enable track repetition.\n- `/repeatoff` - Disable track repetition.\n- `/shuffle` - Shuffle the current queue.\n\n### General Commands\n- `/help` - List all available commands.\n- `/roll [sides]` - Rolls a die with a specified number of sides (default is 6).\n\n## Running the Application\n\n**Important for Java 25:** Due to the use of Discord's DAVE protocol (E2EE) through the JDave library, you **must** include the `--enable-native-access=ALL-UNNAMED` flag in your Java execution command.\n\n1. Build the project:\n   ```bash\n   mvn clean package\n   ```\n2. Run the JAR:\n   ```bash\n   java --enable-native-access=ALL-UNNAMED -jar target/NaviMusic-x.x.x.jar {nogui}\n   ```\n   *`{nogui}` is an optional argument to disable the console GUI.*\n\n## Running the Application with Docker\n\nThe Docker image includes the necessary Java 25 flags and environment variable support.\n\n### Local Development (with logs)\n```bash\ndocker build -t navimusic-bot .\ndocker run --env-file .env navimusic-bot\n```\n\n## Production Mode\n\nFor production environments, NaviMusic includes a `prod` profile that silences verbose \"Song Added\" logs, showing only Warnings and Errors to keep the console clean.\n\n### Running in Production (Docker)\nThe `Dockerfile` automatically activates the `prod` profile. To run it:\n```bash\ndocker run -d --restart always --env-file .env --name navimusic anvian/navi-music\n```\n\n### Running in Production (Manual)\nIf running the JAR manually, add the profile flag:\n```bash\njava --enable-native-access=ALL-UNNAMED -jar target/NaviMusic-x.x.x.jar nogui --spring.profiles.active=prod\n```\n\n## License\n\nThis project is licensed under the **GNU General Public License Version 3**. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandre-carbajal%2Fnavimusic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandre-carbajal%2Fnavimusic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandre-carbajal%2Fnavimusic/lists"}