Hey!
I've been running games via Twitch extensions for several years and have recently been experimenting with integrating games using Godot with Twitch.
During this time, I've developed a stable backend server that operates in production. It powers the extensions and sends them notifications for various Twitch events, such as specific chat messages, subscriptions, cheers, and channel points redemptions.
Lately, I've been contemplating the complexity of integrating with Twitch. Every developer who wants to receive events from Twitch has to go through a similar process and build something akin to what I have.
As an example, for my Godot game, I enhanced the backend to monitor Twitch chat for "!join" messages and relay them to my game, allowing viewers to join the game lobby. Twitch recently released plugins for Unity and Unreal, but they don't plan to support chat at this time, which seems like a huge gap to me!
This service would offer a streamlined solution for developers to integrate Twitch events into their games, eliminating the need to build complex backend systems from scratch. Eventually it would support other streaming platforms such as Kick and YouTube, so that the end experience for the game dev was the same, regardless of the streamer's platform.
I'm interested in knowing if this addresses a problem for other developers here. Would having the ability to connect your games to such a hosted service be valuable? Before I invest time in making my server more general and less specific to my games, I'd like to gather feedback.
The flow would be something like
- Creating an account with the service to receive an API key.
- Selecting via a UI portal the events you're interested in for your game (e.g., chat messages matching a specific pattern, channel points redemptions, poll results).
- Connecting to the service through an SDK, which establishes a socket.
- Having the streamer playing the game authenticate with the service via Twitch login (the login process can start from within the game or externally).
- The service then pushes notifications to the game when events occur. This would include metadata like the name of the person who sent the chat message.
I greatly appreciate any feedback on this and would be happy to chat with anyone who believes this could address a pain point for them!