{"id":16620873,"url":"https://github.com/lucasb25/lavalink-server","last_synced_at":"2025-03-21T14:31:43.569Z","repository":{"id":230102909,"uuid":"778498817","full_name":"LucasB25/lavalink-server","owner":"LucasB25","description":"How to configure your Lavalink server on Linux, Windows and Replit","archived":false,"fork":false,"pushed_at":"2025-03-02T19:52:03.000Z","size":133,"stargazers_count":23,"open_issues_count":1,"forks_count":11,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-18T02:21:20.461Z","etag":null,"topics":["discord","free","free-lavalink","hosting","java","lavalink","lavalink-client","lavalink-client-host","lavalink-discord","lavalink-hosting","lavalink-musicbot","lavalink-server","lavaplayer","lavasrc","linux","nodejs","plugins","pm2","replit","windows"],"latest_commit_sha":null,"homepage":"https://discord.gg/5shqv9Kygv","language":"PowerShell","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/LucasB25.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"LucasB25","patreon":null,"open_collective":null,"ko_fi":"LucasB25","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://www.paypal.me/battistoloL"]}},"created_at":"2024-03-27T20:38:27.000Z","updated_at":"2025-03-17T20:24:51.000Z","dependencies_parsed_at":"2024-06-22T23:31:02.517Z","dependency_job_id":"c3e89045-5326-4dc1-b0bd-349328cb3fa5","html_url":"https://github.com/LucasB25/lavalink-server","commit_stats":null,"previous_names":["lucasb25/lavalink-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucasB25%2Flavalink-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucasB25%2Flavalink-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucasB25%2Flavalink-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucasB25%2Flavalink-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LucasB25","download_url":"https://codeload.github.com/LucasB25/lavalink-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244815237,"owners_count":20514919,"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":["discord","free","free-lavalink","hosting","java","lavalink","lavalink-client","lavalink-client-host","lavalink-discord","lavalink-hosting","lavalink-musicbot","lavalink-server","lavaplayer","lavasrc","linux","nodejs","plugins","pm2","replit","windows"],"created_at":"2024-10-12T02:45:35.055Z","updated_at":"2025-03-21T14:31:43.561Z","avatar_url":"https://github.com/LucasB25.png","language":"PowerShell","funding_links":["https://github.com/sponsors/LucasB25","https://ko-fi.com/LucasB25","https://www.paypal.me/battistoloL","https://ko-fi.com/T6T0132KK5"],"categories":[],"sub_categories":[],"readme":"[![Contributors][contributors-shield]][contributors-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![Support Server][support-shield]][support-server]\n[![MIT License][license-shield]][license-url]\n[![Run on Repl.it](https://repl.it/badge/github/LucasB25/AikouBot)](https://repl.it/github/LucasB25/AikouBot)\n\n\u003c!-- PROJECT LOGO --\u003e\n\u003ch1 align=\"center\"\u003eLavalink Server\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://discord.gg/nvcznzhkTF\"\u003eSupport Server\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/LucasB25/lavalink-server/issues\"\u003eReport Bug \u0026 Request Feature\u003c/a\u003e\n\u003c/p\u003e\n\n## 📦 Where can I host Lavalink?\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eWindows\u003c/strong\u003e\u003c/summary\u003e\n\n1. **Setup the server:**\n    ```powershell\n    # Run Windows PowerShell as Administrator\n    cd \"C:\\\"\n    bitsadmin /transfer myDownloadJob /download /priority normal https://raw.githubusercontent.com/LucasB25/lavalink-server/main/LavalinkWindows/ServerSetup.ps1 C:\\ServerSetup.ps1\n    \u0026 .\\ServerSetup.ps1\n    ```\n\n2. ⚠️ **Restart Windows** ⚠️\n\n3. **Run ServerSetup.ps1 again:**\n    ```powershell\n    # Run Windows PowerShell as Administrator\n    cd \"C:\\\"\n    \u0026 .\\ServerSetup.ps1\n    ```\n\n4. **Setup Lavalink:**\n    ```powershell\n    # Run Windows PowerShell as Administrator\n    cd \"C:\\\"\n    bitsadmin /transfer myDownloadJob /download /priority normal https://raw.githubusercontent.com/LucasB25/lavalink-server/main/LavalinkWindows/LavalinkSetup.ps1 C:\\LavalinkSetup.ps1\n    \u0026 .\\LavalinkSetup.ps1\n    ```\n\n5. **Configure `application.yml`:**\n    ```yaml\n    # Edit C:\\LavalinkServer\\application.yml\n    # Email of your Google account\n    email: \"your.email@example.com\"\n    # Password of your Google account\n    password: \"your-password\"\n\n    # If you want to use other sources like Spotify, AppleMusic, Deezer, YandexMusic \u0026 FloweryTTS, enable and configure them!\n    ```\n\n6. **Start Lavalink 24/7:**\n    ```powershell\n    cd \"C:\\LavalinkServer\"\n    pm2 start --name Lavalink --max-memory-restart 4G java -- -jar Lavalink.jar\n    ```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eLinux\u003c/strong\u003e\u003c/summary\u003e\n\n1. **Install required packages:**\n    ```bash\n    sudo apt-get install -y sudo wget\n    ```\n\n2. **Switch to root and navigate to home directory:**\n    ```bash\n    sudo su\n    cd ~\n    ```\n\n3. **Setup the server:**\n    ```bash\n    wget -O LavalinkSetup.sh https://raw.githubusercontent.com/LucasB25/lavalink-server/main/SetupLinux/LavalinkSetup.sh\n    chmod +rwx LavalinkSetup.sh\n    ./LavalinkSetup.sh\n    ```\n\n4. **Configure `application.yml`:**\n    ```bash\n    sudo nano /opt/lavalink/application.yml\n    # Email of your Google account\n    email: \"your.email@example.com\"\n    # Password of your Google account\n    password: \"your-password\"\n    ```\n    ### Go (Source Configuration)\n\n5. **Restart Lavalink:**\n    ```bash\n    sudo systemctl daemon-reload\n    sudo systemctl restart lavalink\n    ```\n\n### Systemd Service Commands\n\n- **Reload Systemd daemon:**\n    ```bash\n    sudo systemctl daemon-reload\n    ```\n\n- **Enable a service at boot:**\n    ```bash\n    sudo systemctl enable lavalink\n    ```\n\n- **Start a service:**\n    ```bash\n    sudo systemctl start lavalink\n    ```\n\n- **View service logs:**\n    ```bash\n    sudo journalctl -u lavalink\n    ```\n\n- **Check service status:**\n    ```bash\n    sudo systemctl status lavalink\n    ```\n\n- **Stop a service:**\n    ```bash\n    sudo systemctl stop lavalink\n    ```\n\n- **Restart a service:**\n    ```bash\n    sudo systemctl restart lavalink\n    ```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eReplit\u003c/strong\u003e\u003c/summary\u003e\n\n[![Run on Replit](https://repl.it/badge/github/LucasB25/lavalink-server)](https://repl.it/github/LucasB25/lavalink-server)\n\n### Connecting\n\n- Lavalink's port will always be 443 on Replit.\n- **Configure `application.yml`:**\n    ```yaml\n    server: # REST and WS server\n      port: 443\n      address: 0.0.0.0\n\n    # Email of your Google account\n    email: \"your.email@example.com\"\n    # Password of your Google account\n    password: \"your-password\"\n\n    # If you want to use other sources like Spotify, AppleMusic, Deezer, YandexMusic \u0026 FloweryTTS, enable and configure them!\n    ```\n\n- Default password: `youshallnotpass`.\n\n- **Example Configuration:**\n    ```json\n    {\n      \"host\": \"lavalink.LucasB25.repl.co\",\n      \"password\": \"youshallnotpass\",\n      \"port\": 443,\n      \"identifier\": \"lavalink v4\",     \n      \"secure\": true\n    }\n    ```\n\n### Important Notes\n\n- To keep the server running 24/7, use a service like UptimeRobot to send HTTP requests to your app every 5 minutes. For example, if your app is named `lavalink-repl` and your Replit username is `ahmasa`, make an HTTP request to `https://lavalink-repl.ahmasa.repl.co`.\n- Ensure your connection to the node is secure, e.g., use `https/wss`.\n- Don’t forget to set your password in the `application.yml` file.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eSource Configuration\u003c/strong\u003e\u003c/summary\u003e\n\n- Spotify: \n    ### https://developer.spotify.com/dashboard/applications\n    - clientId: \"your client id\"\n    - clientSecret: \"your client secret\"\n\n    ### https://github.com/topi314/LavaSrc#spotify\n    - spDc: \"your sp dc cookie\"\n\n- AppleMusic: \n    ### https://github.com/topi314/LavaSrc#apple-music\n    - mediaAPIToken: \"your apple music api token\"\n\n- Deezer: \n    - masterDecryptionKey: \"your master decryption key\"\n\n    ### https://github.com/topi314/LavaSrc#deezer\n    - arl: \"your deezer arl\"\n\n- YandexMusic: \n    ### https://github.com/topi314/LavaSrc#yandex-music\n    - accessToken: \"your access token\"\n\n- VkMusic: \n    ### https://github.com/topi314/LavaSrc#vk-music\n    - userToken: \"your user token\"\n\n\u003c/details\u003e\n\n## ☕ Donate\n\nDo you like this project? Support it by donating!\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/T6T0132KK5)\n\n## 👥 Contributors\n\nThanks to these wonderful people:\n\n\u003ca href=\"https://github.com/LucasB25/lavalink-server/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=LucasB25/lavalink-server\" /\u003e\n\u003c/a\u003e\n\n[contributors-shield]: https://img.shields.io/github/contributors/LucasB25/lavalink-server.svg?style=for-the-badge\n[contributors-url]: https://github.com/LucasB25/lavalink-server/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/LucasB25/lavalink-server.svg?style=for-the-badge\n[forks-url]: https://github.com/LucasB25/lavalink-server/network/members\n[stars-shield]: https://img.shields.io/github/stars/LucasB25/lavalink-server.svg?style=for-the-badge\n[stars-url]: https://github.com/LucasB25/lavalink-server/stargazers\n[issues-shield]: https://img.shields.io/github/issues/LucasB25/lavalink-server.svg?style=for-the-badge\n[issues-url]: https://github.com/LucasB25/lavalink-server/issues\n[license-shield]: https://img.shields.io/github/license/LucasB25/lavalink-server.svg?style=for-the-badge\n[license-url]: https://github.com/LucasB25/lavalink-server/blob/mains/LICENSE\n[support-shield]: https://img.shields.io/discord/942117923001098260.svg?style=for-the-badge\u0026logo=discord\u0026colorB=7289DA\n[support-server]: https://discord.gg/AhUJa2kdAr\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasb25%2Flavalink-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucasb25%2Flavalink-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasb25%2Flavalink-server/lists"}