Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 760 Bytes

README.md

File metadata and controls

33 lines (19 loc) · 760 Bytes

cp-hackathon

This is my entry for the Twitch Channel Points Hackathon (and also my first time using Go)

Getting Started

Required environment variables:

  • TWITCH_CLIENT_ID
  • TWITCH_CLIENT_SECRET
  • TWITCH_BROADCASTER_ID
  • WH_CALLBACK_URL
  • WH_SECRET

You can include these environment variables locally by creating a .env file in the root of the project and placing them there.

If running locally, it's recommended to use a tool like Ngrok to create an https tunnel for the webhook callback URL.

Running

Donwload dependencies

go mod download

Run

go mod run main.go

There is also a simple Dockerfile included if you'd like to use Docker.

hydrate.ino

The hydrate.ino file contains the code for the ESP32 microcontroller.