README (929B)
1 TWITCHAPON - [Twi]tch [Cha]nnel [Po]ints Rewards Redemption Listener 2 3 Daemon/server that uses PubSub websockets for subscribing to Twitch channel 4 points redemption events. Events can be proxied as http-requests further into 5 other (local) service that handles rendering for a twitch overlay or smth. 6 7 Authorization mechanism for that kind of stuff is somewhat tricky - you have 8 to use a full-fledged OAuth process to get an auth token, it involves opening 9 web-browser to click an "allow" button and to move through (javascript-based) 10 redirects properly. Thankfully we can use a locally started server as a final 11 vantage point that receives and processes the verification code. 12 13 Further info on underlying mechanism: https://dev.twitch.tv/docs/pubsub 14 15 The only external requirement is x/net/websocket library. 16 17 Project was born as a quick hack to play around with Go and try out some 18 interaction possibilities for twitch streams.