{"id":20530804,"url":"https://github.com/blakeholifield/spot","last_synced_at":"2025-03-06T02:29:37.413Z","repository":{"id":199846772,"uuid":"396923974","full_name":"BlakeHolifield/spot","owner":"BlakeHolifield","description":"A small cli utility for Spotify written in Rust","archived":false,"fork":false,"pushed_at":"2021-08-20T17:59:13.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T12:46:08.043Z","etag":null,"topics":["rspotify","rust","tui"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BlakeHolifield.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-08-16T18:36:24.000Z","updated_at":"2022-06-14T14:42:49.000Z","dependencies_parsed_at":"2023-10-12T21:51:00.055Z","dependency_job_id":null,"html_url":"https://github.com/BlakeHolifield/spot","commit_stats":null,"previous_names":["blakeholifield/spot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakeHolifield%2Fspot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakeHolifield%2Fspot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakeHolifield%2Fspot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakeHolifield%2Fspot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlakeHolifield","download_url":"https://codeload.github.com/BlakeHolifield/spot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242135438,"owners_count":20077461,"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":["rspotify","rust","tui"],"created_at":"2024-11-15T23:40:26.653Z","updated_at":"2025-03-06T02:29:37.385Z","avatar_url":"https://github.com/BlakeHolifield.png","language":"Rust","readme":"# Spot\nA hackathon cli tool for Spotify, written in Rust.\n\n## Idea\n### Playlist Focused, Vibe Driven\nI don't want to spend time finding music to listen to. I want to use existing playlists with a specific vibe and just play them. \n\n## Installing\n\n### Locally\n\n    git clone git@github.com:BlakeHolifield/spot.git\n    cd spot\n    cargo build --release\n    cp ./target/release/spot /usr/local/bin\n\n## Authenticating to Spotify\n\n`spot` needs to connect to Spotify’s API in order to function.\n\n1. Go to the [Spotify dashboard](https://developer.spotify.com/dashboard/applications)\n2. Select `Create an app`\n    - You should be able to see `Client ID` and `Client Secret`\n3. Click `Edit Settings`\n4. Add `http://localhost:8888/callback` to Redirect URIs\n5. Scroll down, then click `Save`\n6. Expose three environment variables in an env file or your terminal:\n   - `export CLIENT_ID=\"yourid\"`\n   - `export CLIENT_SECRET=\"yoursecret\"`\n   - `export REDIRECT_URI=\"http://localhost:8888/callback\"`\n7. Run `spot play \u003cplaylist\u003e or spot find \u003cplaylist\u003e`\n8. Spotify will redirect you to a Spotify webpage asking for permissions.\n9. After accepting the permissions, you'll be redirected to localhost. The redirect URL should be parsed. \n   - If you see a web page with \"Connection Refused\", you can ignore it as `spot` does not run a server. \n10. Finally, copy the URL and paste into the prompt in the terminal.\n\n\n## Running\n\n### Usage\n\n`spot -h`\n\n#### Play a vibe\n\n`spot play lofi`\n\n#### Find a vibe\n\nSpot uses `$MENU` to determine interaction with `/dev/tty`. By default, you will see a numbered list\nof selections. You can do `export MENU='fzf'` to use `fzf` instead. You can find a full list of \nsupported menus [at the interactor library repo](https://github.com/unrelentingtech/interactor#menu-program)\n\n  `spot find 19th century villain`\n\nand then select a playlist\n\n### Supported features\n\n- Play a playlist chosen for you as the top result of your query (user created playlists are ranked\n    higher)\n- Find a playlist from the top 10 results of your query\n- Pause\n- Resume\n- Shuffle on / off\n- Skip forward / backward\n- Show currently running track\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakeholifield%2Fspot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblakeholifield%2Fspot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakeholifield%2Fspot/lists"}