Back View all Articles

Courier Live: Notify Discourse users about your livestream with Twitch EventSub and Courier

Posted by Aydrian Howard on January 13th, 2021

On January 6, Riley Napier joined me for our first Courier Live of the new year. Having recently set up webhooks using Twitch EventSub, I wanted to walk through how you could trigger notifications about your Twitch livestreams using Courier. We did this using a Glitch application and explained how to set it up and start accepting requests from Twitch. We then  created a notification in Courier and used the Webhook Provider to make a request to the Discourse API to display a banner on the community forum.

Check out the video below to watch us:

Code for the Node.js/ExpressJS server to handle the Twitch EventSub requests can be found in the Courier Twitch EventSub Glitch application. Remix it and start sending your own Twitch notifications.

Be sure to Like the video and Subscribe to our YouTube channel.

Is there something you’d like to see us do using Courier? Let us know and it might be the subject of our next Courier Live. Follow us on Twitch to be notified when we go live.

-Aydrian

Author
Aydrian Howard

Courier
GitHubtwitterLinkedInFacebookInstagram