{"id":13505336,"url":"https://github.com/Allar/nodecg-twitch-service","last_synced_at":"2025-03-29T23:31:23.363Z","repository":{"id":147564946,"uuid":"72841046","full_name":"Allar/nodecg-twitch-service","owner":"Allar","description":"Emits events from Twitch to other nodecg bundles","archived":false,"fork":false,"pushed_at":"2017-05-17T00:31:14.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T07:33:39.609Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Allar.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-11-04T11:16:55.000Z","updated_at":"2020-06-13T09:26:01.000Z","dependencies_parsed_at":"2023-04-14T04:08:04.108Z","dependency_job_id":null,"html_url":"https://github.com/Allar/nodecg-twitch-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Allar%2Fnodecg-twitch-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Allar%2Fnodecg-twitch-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Allar%2Fnodecg-twitch-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Allar%2Fnodecg-twitch-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Allar","download_url":"https://codeload.github.com/Allar/nodecg-twitch-service/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246258884,"owners_count":20748573,"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-08-01T00:01:02.973Z","updated_at":"2025-03-29T23:31:18.353Z","avatar_url":"https://github.com/Allar.png","language":"JavaScript","funding_links":[],"categories":["Service Integrations"],"sub_categories":["Twitch"],"readme":"# nodecg-twitch-service\n\nThis is a [nodecg](https://github.com/nodecg/nodecg) bundle that provides access to [Twitch](http://twitch.tv) channel data.\n\nThis doesn't provide any graphical elements itself, but allows other bundles to easily grab Twitch info and catch Twitch events.\n\n# Todo\n\n- [x] follows\n- [ ] subscriptions\n- [ ] chat messages\n\n# Installation\n\nNavigate to your `bundles` folder of your nodecg site, and run:\n\n```\nnodecg install Allar/nodecg-twitch-service\n```\n\nYou must configure the bundle before it can be loaded.\n\n# Configuration\n\nCreate file named `cfg/nodecg-twitch-service.json` inside your nodecg site. You must provide both a channel name and a Twitch Application client id.\n\nYou can create a Twitch Application [here](https://www.twitch.tv/kraken/oauth2/clients/new)\n\nExample config file:\n\n```\n{\n  \"channel\": \"awesomeallar\",\n  \"client_id\": \"q0vl7q7kpcpg8d3t1wka02s253y2fkf\"\n}\n```\n\n# Accessing Twitch Data\n\nThis service provides Twitch data in two ways. Replicants and messages.\n\n## Replicants\n\n### Channel\n\n* `ChannelOnline`: Boolean, whether channel is currently streaming.\n* `ChannelName`: String, title of the channel.\n* `ChannelAudience`: String, audience of the channel (everyone, mature).\n* `ChannelViewersTotal`: Number, the number of views the channel has.\n* `ChannelViewersCurrent`: Number, the number of viewers currently watching the channel.\n* `ChannelFollowers`: Number, the number of users following the channel.\n\n## Messages\n\n### Channel\n\n* `channel-followed`: Sent when a user follows this channel. Sends Twitch [User](https://dev.twitch.tv/docs/api/v3/follows#get-channelschannelfollows) data of follower.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAllar%2Fnodecg-twitch-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAllar%2Fnodecg-twitch-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAllar%2Fnodecg-twitch-service/lists"}