{"id":13433540,"url":"https://github.com/rocktimsaikia/spotify-rtoken-cli","last_synced_at":"2025-05-12T16:02:13.448Z","repository":{"id":57689329,"uuid":"479992361","full_name":"rocktimsaikia/spotify-rtoken-cli","owner":"rocktimsaikia","description":"Generate Spotify refresh_token right from terminal","archived":false,"fork":false,"pushed_at":"2022-04-10T12:45:26.000Z","size":25,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-11T03:59:34.245Z","etag":null,"topics":["cli-app","refresh-token","spotify","spotify-refresh-token"],"latest_commit_sha":null,"homepage":"https://npmjs.com/spotify-rtoken-cli","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/rocktimsaikia.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}},"created_at":"2022-04-10T11:07:57.000Z","updated_at":"2023-06-28T19:43:14.000Z","dependencies_parsed_at":"2022-09-26T20:53:30.969Z","dependency_job_id":null,"html_url":"https://github.com/rocktimsaikia/spotify-rtoken-cli","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocktimsaikia%2Fspotify-rtoken-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocktimsaikia%2Fspotify-rtoken-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocktimsaikia%2Fspotify-rtoken-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocktimsaikia%2Fspotify-rtoken-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rocktimsaikia","download_url":"https://codeload.github.com/rocktimsaikia/spotify-rtoken-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253773151,"owners_count":21962187,"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":["cli-app","refresh-token","spotify","spotify-refresh-token"],"created_at":"2024-07-31T02:01:28.689Z","updated_at":"2025-05-12T16:02:13.368Z","avatar_url":"https://github.com/rocktimsaikia.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# spotify-rtoken-cli\n\n\u003e Generate a Spotify `refresh_token` right from terminal\n\n![spotify-rtoken](./spotify-rtoken.svg)\n\n\u003e In step 5, you will be redirected to your browser for confirming permissions. Then you will be redirected to the specified `redirect_uri` with the code. Copy that `code`, paste in the terminal.\n\n\u003e ![partial_blur](https://user-images.githubusercontent.com/33410545/162616418-d5d907cb-cb6f-4712-875c-2f1493920cc8.jpg)\n\n## Highlights\n\n1. Easy to use. You just need to call the CLI and follow the prompt\n2. Does not store any credentials locally\n3. Directly copies the `refresh_token` to clipboard :sparkles:\n4. You are aware of every step that is being executed\n5. No need to define scopes, unless you want to manually add scopes. Recommended option is `read-only` scopes.\n\n## Prerequisites\n\nBelow are the Spotify credentials you will need from your [ Spotify app ](https://developer.spotify.com/dashboard/applications) inorder to generate a `refresh_token` with this CLI app:\n\n1. `client_id`\n2. `client_secret`\n3. `redirect_uri`\n\n## Installation\n\n```sh\n$ npm install --global spotify-rtoken-cli\n```\n\n## Usage\n\n```sh\n$ spotify-rtoken --help\n\n  Usage\n    $ spotify-rtoken\n\n  Options\n    --no-mask  Do not hide/mask credentials ie, client_id, client_secret, code.\n\n  Examples\n    $ spotify-rtoken\n    $ spotify-rtoken --no-mask\n```\n\n## Related\n\n- [spotify-mini](https://github.com/rocktimsaikia/spotify-mini) - Simple Spotify client for Nodejs exposing some useful methods\n\n## License\n\n[ MIT ](./LICENSE) License © 2022 [Rocktim Saikia](https://github.com/rocktimsaikia)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocktimsaikia%2Fspotify-rtoken-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frocktimsaikia%2Fspotify-rtoken-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocktimsaikia%2Fspotify-rtoken-cli/lists"}