{"id":17949946,"url":"https://github.com/noook/nuxt-spotify-playground","last_synced_at":"2025-04-03T15:43:41.271Z","repository":{"id":237342726,"uuid":"794335880","full_name":"noook/nuxt-spotify-playground","owner":"noook","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-01T10:31:32.000Z","size":85,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T04:28:00.155Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/noook.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-30T23:31:04.000Z","updated_at":"2024-05-01T21:45:22.000Z","dependencies_parsed_at":"2024-05-01T00:37:37.440Z","dependency_job_id":"c0c299e0-2d45-4616-a6b1-4d87769065ff","html_url":"https://github.com/noook/nuxt-spotify-playground","commit_stats":null,"previous_names":["noook/nuxt-spotify-playground"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noook%2Fnuxt-spotify-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noook%2Fnuxt-spotify-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noook%2Fnuxt-spotify-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noook%2Fnuxt-spotify-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noook","download_url":"https://codeload.github.com/noook/nuxt-spotify-playground/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247031340,"owners_count":20872285,"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":[],"created_at":"2024-10-29T09:35:56.131Z","updated_at":"2025-04-03T15:43:41.240Z","avatar_url":"https://github.com/noook.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nuxt Spotify — Now playing example\n\n## Setup\n\nMake sure to install the dependencies:\n\n```bash\n# pnpm\npnpm install\n```\n\n## Configuration\n\nCreate a `.env` file in the root of the project with the following content:\n\n```bash\nNUXT_SPOTIFY_CLIENT_ID=YOUR_SPOTIFY_CLIENT_ID\nNUXT_SPOTIFY_CLIENT_SECRET=YOUR_SPOTIFY_CLIENT_SECRET\n# Will be filled in the next step\n# NUXT_SPOTIFY_REFRESH_TOKEN=\n```\n\n## Development Server\n\nStart the development server on `http://localhost:3000`:\n\n```bash\n# pnpm\npnpm run dev\n```\n\n## Generate Refresh Token\n\nHead to `http://localhost:3000`, open the Nuxt Devtools under the \"Server tasks tab\", then run the `spotify:auth` command. This will\noutput an authorization URL where you need to authorize the app. After that, you will be redirected on the app with an access token object.\n\nCopy the `refresh_token` value and paste it in the `.env` file.\n\n```bash\nNUXT_SPOTIFY_REFRESH_TOKEN=\u003crefresh_token\u003e\n```\n\n## Using the refresh token\n\nNow that you generated your initial token refresh, you can pass it as a runtime environment variable,\nso you don't have to generate it every time you start the server. This is also how you'll use it in production.\n\nYou can test your refresh token by running the server task `spotify:now` in the devtools.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoook%2Fnuxt-spotify-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoook%2Fnuxt-spotify-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoook%2Fnuxt-spotify-playground/lists"}