{"id":50915984,"url":"https://github.com/mostoriginalign/spotify-pi-kiosk","last_synced_at":"2026-06-16T15:01:34.738Z","repository":{"id":362554174,"uuid":"1259715228","full_name":"MostOriginalIGN/spotify-pi-kiosk","owner":"MostOriginalIGN","description":null,"archived":false,"fork":false,"pushed_at":"2026-06-04T19:52:24.000Z","size":4305,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-04T21:34:42.858Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MostOriginalIGN.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":"2026-06-04T19:34:24.000Z","updated_at":"2026-06-04T19:52:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/MostOriginalIGN/spotify-pi-kiosk","commit_stats":null,"previous_names":["mostoriginalign/spotify-pi-kiosk"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/MostOriginalIGN/spotify-pi-kiosk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostOriginalIGN%2Fspotify-pi-kiosk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostOriginalIGN%2Fspotify-pi-kiosk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostOriginalIGN%2Fspotify-pi-kiosk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostOriginalIGN%2Fspotify-pi-kiosk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MostOriginalIGN","download_url":"https://codeload.github.com/MostOriginalIGN/spotify-pi-kiosk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostOriginalIGN%2Fspotify-pi-kiosk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34410784,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-06-16T15:01:33.600Z","updated_at":"2026-06-16T15:01:34.729Z","avatar_url":"https://github.com/MostOriginalIGN.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spotify Kiosk\n\nA full-screen Spotify UI meant for a Raspberry Pi touchscreen, though you can run it on any computer with a display. It uses the Spotify Web API for library, search, playback, and queue through Spotify Connect.\n\n![Now playing](images/screenshot-now-playing-controls.png)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"images/screenshot-library.png\" width=\"49%\" alt=\"\" /\u003e\n  \u003cimg src=\"images/screenshot-queue.png\" width=\"49%\" alt=\"\" /\u003e\n\u003c/p\u003e\n\n\u003e [!WARNING]\n\u003e Built with AI. The server stores Spotify OAuth tokens and listens on localhost.\n\n## What you need\n\n- Node 20+\n- A [Spotify Developer app](https://developer.spotify.com/dashboard) with a redirect URI\n- A Spotify Connect speaker or receiver\n\n## Run locally\n\nCreate a Spotify app and add:\n\n```\nhttp://127.0.0.1:4928/api/auth/callback\n```\n\n```sh\ncp .env.example .env\n# SPOTIFY_CLIENT_ID and SPOTIFY_CLIENT_SECRET\n\nnpm install\nnpm run dev\n```\n\nUI: http://127.0.0.1:5173 (Vite proxies API calls to port 4928).\nPreview without Spotify credentials: `http://127.0.0.1:5173/?demo`\n\nProduction:\n\n```sh\nnpm run build\nnpm start\n```\n\n## Install on a Raspberry Pi\n\n```sh\ngit clone https://github.com/MostOriginalIGN/spotify-pi-kiosk.git\ncd spotify-pi-kiosk\nbash deploy/install-pi.sh\n```\n\nThe installer asks where to put the app (default `/opt/spotify-kiosk`), then prompts for your sudo password when it needs root. It also walks through Spotify credentials, device name, and optional Raspotify setup.\n\nAfter install:\n\n1. Add the redirect URI the installer prints to your Spotify app.\n2. Open the kiosk in Chromium and log in.\n3. If `SPOTIFY_DEVICE_NAME` does not match what you see in the Spotify app, fix it in your install directory’s `.env` (default `/opt/spotify-kiosk/.env`).\n4. Using Raspotify with token sync? Restart it after login: `sudo systemctl restart raspotify.service`\n\n```sh\nsudo systemctl restart spotify-kiosk.service\nsystemctl --user restart spotify-kiosk-browser.service\n```\n\n## Raspotify (optional)\n\nIf you use [Raspotify](https://github.com/dtcooper/raspotify) on the same Pi, the installer can optionally hook up:\n\n- **Token sync** — writes your OAuth token to a file so the Pi shows up as a Connect device\n- **Play events** — faster now-playing updates when playback starts from the Spotify app\n- **ONEVENT** — optional `LIBRESPOT_ONEVENT` in `/etc/raspotify/conf`\n\n## Config\n\nSee `.env.example`.\n\n| Variable | Notes |\n|----------|--------|\n| `HOST` | Default `127.0.0.1` (local only) |\n| `PORT` | Default `4928` |\n| `SPOTIFY_DEVICE_NAME` | Defaults to hostname |\n| `DEVICE_HINT_ENABLED` | `0` hides the “open Spotify on your phone” overlay |\n| `DEVICE_HINT_INTERVAL_MS` | Default `300000` (5 min) |\n| `SPOTIFY_SYNC_CONNECT_TOKEN` | Set to `1` for librespot/Raspotify token file sync |\n| `SPOTIFY_CONNECT_TOKEN_PATH` | Where to write the token (Pi installer sets this when Raspotify is enabled) |\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmostoriginalign%2Fspotify-pi-kiosk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmostoriginalign%2Fspotify-pi-kiosk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmostoriginalign%2Fspotify-pi-kiosk/lists"}