{"id":47891009,"url":"https://github.com/maxbeizer/gh-spotify","last_synced_at":"2026-04-04T03:05:51.404Z","repository":{"id":345933143,"uuid":"1175737266","full_name":"maxbeizer/gh-spotify","owner":"maxbeizer","description":"Spotify in your terminal","archived":false,"fork":false,"pushed_at":"2026-03-21T11:22:38.000Z","size":8932,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-22T02:11:37.293Z","etag":null,"topics":["gh-extensions","spotify"],"latest_commit_sha":null,"homepage":"","language":"Go","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/maxbeizer.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-03-08T05:08:00.000Z","updated_at":"2026-03-21T11:22:41.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/maxbeizer/gh-spotify","commit_stats":null,"previous_names":["maxbeizer/gh-spotify"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/maxbeizer/gh-spotify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbeizer%2Fgh-spotify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbeizer%2Fgh-spotify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbeizer%2Fgh-spotify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbeizer%2Fgh-spotify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxbeizer","download_url":"https://codeload.github.com/maxbeizer/gh-spotify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbeizer%2Fgh-spotify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31385940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T01:22:39.193Z","status":"online","status_checked_at":"2026-04-04T02:00:07.569Z","response_time":60,"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":["gh-extensions","spotify"],"created_at":"2026-04-04T03:05:50.935Z","updated_at":"2026-04-04T03:05:51.396Z","avatar_url":"https://github.com/maxbeizer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gh-spotify\n\nA [GitHub CLI](https://cli.github.com/) extension for controlling Spotify from the terminal.\n\n## Installation\n\n```bash\ngh extension install maxbeizer/gh-spotify\n```\n\n## Setup\n\n### 1. Create a Spotify Developer App (free)\n\n1. Go to [developer.spotify.com/dashboard](https://developer.spotify.com/dashboard) and log in\n2. Click **\"Create app\"**\n3. Fill in any name and description\n4. Under **Redirect URIs**, enter exactly:\n   ```\n   http://127.0.0.1:8818/callback\n   ```\n   \u003e ⚠️ You must use `127.0.0.1`, **not** `localhost`. Spotify rejects `localhost` as insecure.\n5. Under **\"Which API/SDKs are you planning to use?\"**, check **Web API**\n6. Agree to the terms and click **Save**\n\n### 2. Authenticate\n\n```bash\ngh spotify auth\n```\n\nPaste your **Client ID** (found on your app's settings page) when prompted. The command will open your browser to authorize the app.\n\n\u003e **Note:** Spotify Premium is required for playback control (play, pause, next, etc.). Free-tier accounts can use read-only commands like `now` and `devices`.\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `gh spotify auth` | Authenticate with Spotify |\n| `gh spotify now` | Show currently playing track |\n| `gh spotify play` | Resume playback |\n| `gh spotify pause` | Pause playback |\n| `gh spotify next` | Skip to next track |\n| `gh spotify prev` | Go to previous track |\n| `gh spotify search \u003cquery\u003e` | Search tracks, albums, artists |\n| `gh spotify playlist` | Browse your playlists |\n| `gh spotify queue [uri]` | View or add to queue |\n| `gh spotify devices` | List playback devices |\n| `gh spotify device \u003cname\u003e` | Switch playback device |\n| `gh spotify volume \u003c0-100\u003e` | Set volume |\n| `gh spotify shuffle [on\\|off]` | Toggle shuffle |\n| `gh spotify repeat [off\\|track\\|context]` | Set repeat mode |\n| `gh spotify art` | ASCII album art |\n\n## Requirements\n\n- [GitHub CLI](https://cli.github.com/) 2.0+\n- Spotify Premium account (required for playback control)\n- A Spotify Developer app (free to create)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxbeizer%2Fgh-spotify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxbeizer%2Fgh-spotify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxbeizer%2Fgh-spotify/lists"}