{"id":20102825,"url":"https://github.com/artdevgame/twitch-soundtrack","last_synced_at":"2025-09-05T02:16:35.003Z","repository":{"id":179634369,"uuid":"468740286","full_name":"artdevgame/twitch-soundtrack","owner":"artdevgame","description":"Connect to Twitch API and write currently playing track to disk","archived":false,"fork":false,"pushed_at":"2022-03-11T16:28:08.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-02T17:24:35.332Z","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/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":"2022-03-11T12:21:54.000Z","updated_at":"2022-03-11T16:28:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"c52795e0-7c88-4945-b6d0-5138a685dec6","html_url":"https://github.com/artdevgame/twitch-soundtrack","commit_stats":null,"previous_names":["artdevgame/twitch-soundtrack"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/artdevgame/twitch-soundtrack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdevgame%2Ftwitch-soundtrack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdevgame%2Ftwitch-soundtrack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdevgame%2Ftwitch-soundtrack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdevgame%2Ftwitch-soundtrack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artdevgame","download_url":"https://codeload.github.com/artdevgame/twitch-soundtrack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdevgame%2Ftwitch-soundtrack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261978908,"owners_count":23239417,"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-11-13T17:33:12.961Z","updated_at":"2025-06-26T01:03:16.222Z","avatar_url":"https://github.com/artdevgame.png","language":"TypeScript","readme":"# artdevgame/twitch-soundtrack\n\nConnects to the Twitch API to retrieve the current track and writes it to disk. The information can then be picked up by a third-party, such as OBS.\n\n## Requirements\n\n* yarn\n\n## Usage\n\nDefine environment variables called `TWITCH_API_ID` \u0026 `TWITCH_API_SECRET` and set it to your Twitch app's client id / secret (get this from the [Twitch developer console](https://dev.twitch.tv/console)).\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\nYou will need to add a couple of OAuth Redirect URLs in the [Twitch apps settings](https://dev.twitch.tv/console/apps) so it can talk back to your machine after logging in:\n\n- http://localhost:8081/handshake\n- http://localhost:8081/authenticated\n\nIn order to generate a token config, we need to handshake with Twitch using our client id and secret.\n\n`yarn run start:auth`\n\nYour default browser browser should start and visit the server you're running (default: http://localhost:8081). If everything is set up correctly you'll be asked to confirm your identity with Twitch and the access tokens will be written to disk (default: ./config/tokens.json)\n\n### Listening for Twitch changes\n\nRun: `yarn start`\n\nBy default, the artist and album name will be written to /tmp/twitch-soundtrack-currently-playing.txt","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartdevgame%2Ftwitch-soundtrack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartdevgame%2Ftwitch-soundtrack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartdevgame%2Ftwitch-soundtrack/lists"}