{"id":20102851,"url":"https://github.com/artdevgame/spotify","last_synced_at":"2025-03-02T17:22:29.322Z","repository":{"id":179634353,"uuid":"141805689","full_name":"artdevgame/spotify","owner":"artdevgame","description":"Connect to Spotify API and write currently playing track to disk","archived":false,"fork":false,"pushed_at":"2024-03-26T06:56:37.000Z","size":36,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T04:29:57.037Z","etag":null,"topics":["obs","spotify-api"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/artdevgame.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":"2018-07-21T11:19:20.000Z","updated_at":"2020-05-08T10:49:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"b8c807d8-efc5-4e1e-9bb2-fe4194034aab","html_url":"https://github.com/artdevgame/spotify","commit_stats":null,"previous_names":["artdevgame/spotify"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdevgame%2Fspotify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdevgame%2Fspotify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdevgame%2Fspotify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdevgame%2Fspotify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artdevgame","download_url":"https://codeload.github.com/artdevgame/spotify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241542229,"owners_count":19979278,"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":["obs","spotify-api"],"created_at":"2024-11-13T17:33:18.556Z","updated_at":"2025-03-02T17:22:29.274Z","avatar_url":"https://github.com/artdevgame.png","language":"JavaScript","readme":"# artdevgame/spotify\n\nConnects to the Spotify API to retrive the current track and write to disk. The information can then be picked up by a third-party, such as OBS.\n\n## Requirements\n\n* yarn\n* node.js\n\n## Usage\n\nDefine environment variables called `SPOTIFY_API_ID` \u0026 `SPOTIFY_API_SECRET` and set it to your Spotify app's client id / secret (get this from the [Spotify developer dashboard](https://developer.spotify.com/dashboard)).\n\nMake sure all of the dependencies are installed using `yarn`.\n\n### Generating a new access token\n\n**This only needs to be done on first-run or if you're having problems with authentication.**\n\nIn order to retrieve an access token, we need to handshake with Spotify using our client id and secret.\n\n`yarn run start:auth`\n\nYou will need to add a whitelist address in the [Spotify apps settings](https://developer.spotify.com/dashboard) (default: http://localhost:8081/login) so it can talk back to your machine after logging in.\n\nFinally, in a browser visit the server you're running (default: http://localhost:8081). If everything is setup correctly you'll be asked to confirm your identity with Spotify and the access tokens will be written to disk (default: ./config/local.json)\n\n### Listening for Spotify changes\n\nRun: `yarn start`\n\nBy default, the artist and album name will be written to /tmp/spotify-currently-playing.txt","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartdevgame%2Fspotify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartdevgame%2Fspotify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartdevgame%2Fspotify/lists"}