{"id":15680923,"url":"https://github.com/agneevx/librespot-java-docker","last_synced_at":"2025-04-28T12:58:48.730Z","repository":{"id":39705179,"uuid":"486923083","full_name":"agneevX/librespot-java-docker","owner":"agneevX","description":"Dockerfile for librespot-java with alsa backend","archived":false,"fork":false,"pushed_at":"2025-02-05T10:26:09.000Z","size":30,"stargazers_count":15,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T11:28:34.117Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agneevX.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}},"created_at":"2022-04-29T10:00:56.000Z","updated_at":"2025-02-05T10:26:13.000Z","dependencies_parsed_at":"2024-12-11T11:21:56.102Z","dependency_job_id":"8329ec9a-7cc1-4bff-9e3a-63bf67f38bcf","html_url":"https://github.com/agneevX/librespot-java-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agneevX%2Flibrespot-java-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agneevX%2Flibrespot-java-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agneevX%2Flibrespot-java-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agneevX%2Flibrespot-java-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agneevX","download_url":"https://codeload.github.com/agneevX/librespot-java-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246301955,"owners_count":20755512,"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":[],"created_at":"2024-10-03T16:46:29.691Z","updated_at":"2025-03-30T09:43:05.460Z","avatar_url":"https://github.com/agneevX.png","language":"Dockerfile","readme":"# librespot-java-docker\n\nDockerfiles and image for [librespot-java](https://github.com/librespot-org/librespot-java) with alsa backend.\n\n\u003e librespot-java is a port of [librespot](https://github.com/librespot-org/librespot), originally written in Rust, which has evolved into the most up-to-date open-source Spotify client.\n\n## Deploy image\n\nPull and deploy (multiarch) image in a Docker container:\n\n```text\ndocker run -d --network host agneev/librespot-java\n```\n\n### Using Docker Compose\n\n```sh\ngit clone https://github.com/agneevX/librespot-java-docker\n\ncd librespot-java-docker\ndocker compose up -d\n```\n\nTo pull the image only, run:\n\n```text\ndocker pull agneev/librespot-java\n```\n\n### Build from source\n\nThis compiles from the latest code in the `master` branch of `librespot-java`.\n\n```sh\ngit clone https://github.com/agneevX/librespot-java-docker\n\ndocker build . -f ./source.Dockerfile -t librespot-java:master\n\ndocker run -d --network host librespot-java:master\n```\n\n## Configuration\n\nThe main config file is available in `./user-data/config.toml`. Settings such as device name or sound quality can be customized here.\n\nlibrespot-java documentation available [here](https://github.com/librespot-org/librespot-java/blob/dev/player/README.md).\n\nFor audio output, I've set `player.mixerSearchKeywords` to `plughw:0,0` on the Raspberry Pi 4, so it's able to output properly.\n\n## Network mode and auth\n\nBy default, the compose files use host networking (not available on Windows) so that devices in the LAN are able to connect (although there's a delay).\n\nConnecting to a Spotify Premium account is recommended. The docs is linked above.\n\nWhen connected, `network_mode: host` can be removed in the compose file and brought up.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagneevx%2Flibrespot-java-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagneevx%2Flibrespot-java-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagneevx%2Flibrespot-java-docker/lists"}