{"id":15486750,"url":"https://github.com/chrisns/docker-node-sonos-http-api","last_synced_at":"2025-04-06T12:11:35.157Z","repository":{"id":15507882,"uuid":"77848857","full_name":"chrisns/docker-node-sonos-http-api","owner":"chrisns","description":"Docker wrapper for https://github.com/jishi/node-sonos-http-api","archived":false,"fork":false,"pushed_at":"2024-10-23T17:48:11.000Z","size":166,"stargazers_count":68,"open_issues_count":0,"forks_count":25,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-24T01:57:40.423Z","etag":null,"topics":["docker","hacktoberfest","microservice","node","sonos"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/chrisns.png","metadata":{"funding":{"github":["chrisns"],"custom":["https://www.paypal.me/cns"]},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-02T17:06:14.000Z","updated_at":"2024-10-07T18:09:37.000Z","dependencies_parsed_at":"2023-10-12T08:30:32.298Z","dependency_job_id":"ff2c742c-a110-4f75-ad87-d82bd6a7b465","html_url":"https://github.com/chrisns/docker-node-sonos-http-api","commit_stats":{"total_commits":386,"total_committers":10,"mean_commits":38.6,"dds":0.4196891191709845,"last_synced_commit":"8de78289b9890d1d3db171b6811504a94f1db083"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisns%2Fdocker-node-sonos-http-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisns%2Fdocker-node-sonos-http-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisns%2Fdocker-node-sonos-http-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisns%2Fdocker-node-sonos-http-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisns","download_url":"https://codeload.github.com/chrisns/docker-node-sonos-http-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478324,"owners_count":20945266,"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":["docker","hacktoberfest","microservice","node","sonos"],"created_at":"2024-10-02T06:09:34.217Z","updated_at":"2025-04-06T12:11:35.140Z","avatar_url":"https://github.com/chrisns.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/chrisns","https://www.paypal.me/cns"],"categories":[],"sub_categories":[],"readme":"# docker-node-sonos-http-api\nDocker wrapper for https://github.com/jishi/node-sonos-http-api\n\n[![GitHub issues](https://img.shields.io/github/issues/chrisns/docker-node-sonos-http-api.svg)](https://github.com/chrisns/docker-node-sonos-http-api/issues)\n[![GitHub forks](https://img.shields.io/github/forks/chrisns/docker-node-sonos-http-api.svg)](https://github.com/chrisns/docker-node-sonos-http-api/network)\n[![GitHub stars](https://img.shields.io/github/stars/chrisns/docker-node-sonos-http-api.svg)](https://github.com/chrisns/docker-node-sonos-http-api/stargazers)\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/chrisns/docker-node-sonos-http-api/master/LICENSE)\n[![Docker Stars](https://img.shields.io/docker/stars/chrisns/docker-node-sonos-http-api.svg)](https://hub.docker.com/r/chrisns/docker-node-sonos-http-api)\n[![Docker Pulls](https://img.shields.io/docker/pulls/chrisns/docker-node-sonos-http-api.svg)](https://hub.docker.com/r/chrisns/docker-node-sonos-http-api)\n[![Docker Automated buil](https://img.shields.io/docker/automated/chrisns/docker-node-sonos-http-api.svg)](https://hub.docker.com/r/chrisns/docker-node-sonos-http-api)\n![Docker Image CI](https://github.com/chrisns/docker-node-sonos-http-api/workflows/Docker%20Image%20CI/badge.svg?branch=master)\n\n## Usage\nRefer to https://github.com/jishi/node-sonos-http-api for all the configuration detail\n\nFirst create the local directories and the settings file:\n```shell\nmkdir clips\nmkdir cache\nmkdir presets\ncurl https://raw.githubusercontent.com/jishi/node-sonos-http-api/master/presets/example.json \u003e presets/example.json\necho {} \u003e settings.json\n```\n\nThen run the docker image:\n```shell\ndocker run \\\n  --net=host \\\n  --name sonos \\\n  --restart=always \\\n  -d \\\n  -v `pwd`/settings.json:/app/settings.json \\\n  -v `pwd`/clips:/app/static/clips \\\n  -v `pwd`/cache:/app/cache \\\n  -v `pwd`/presets:/app/presets \\\n  chrisns/docker-node-sonos-http-api\n```\n\nIf you want to run in a swarm see an example setup here: https://github.com/pinked/clustered_sonos. The important thing is using the *host* networking interface so that it can discover your Sonos devices.\n\nIf you're looking this as part of a bigger home automation piece you might also want to look at [my MQTT hack job](https://github.com/chrisns/sonos-mqtt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisns%2Fdocker-node-sonos-http-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisns%2Fdocker-node-sonos-http-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisns%2Fdocker-node-sonos-http-api/lists"}