Skip to content

ablause/deno-twitch-eventsub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Twitch EventSub using Deno

This example shows how to manage eventsub requests in Deno.

Deploy this example

How to use

Generate UUID

Run the function using deno:

crypto.randomUUID()

Set environment (for local)

export SECRET_KEY=<randomUUID>

Run Local

You can run the example program on your machine using deno:

deno run https://raw.githubusercontent.com/ablause/deno-twitch-eventsub/master/mod.ts

Testing

twitch event verify-subscription subscribe -F http://localhost:8000 -s $SECRET_KEY