custom-built tools and utilities for my livestreams!
| broadcast | ||
| cmd | ||
| config | ||
| learning | ||
| music | ||
| static | ||
| twitch | ||
| utils/dotenv | ||
| .air.toml | ||
| .env.example | ||
| .gitattributes | ||
| .gitignore | ||
| go.mod | ||
| go.sum | ||
| README.md | ||
ari's stream tools
handy, custom-built tools and utilities for my livestreams!
learning
endpoints and views for "ari is learning!" streams.
GET /learning/sse: server-sent events:title-update: emits when the stream title is updated
POST /learning/title: update the current stream titleGET /learning/hello: intro viewGET /learning/brb: "be right back!" viewGET /learning/bye: stream ending view
music
endpoints for a music status indicator.
GET /music/sse: server-sent events:music: emits when the currently playing track changes- example:
{"title":"Untitled Track","artist":"Unknown Artist"}
- example:
music-state: emits when the playing state changes- example:
{"playing":true}
- example:
GET /music/artwork: serves the currently playing track artworkGET /music: music status indicator
twitch
endpoints for twitch events and labels.
GET /login: redirects to twitch loginGET /auth: twitch auth callbackGET /sse/*: server-sent events:- labels: emits once at start, and every time an update occurs.
updateevents contain a plain text username./sse/labels/latest-follower/sse/labels/latest-subscriber/sse/labels/latest-cheer
- labels: emits once at start, and every time an update occurs.
GET /labels/<label>: serves a twitch label view.- supported
labels:latest-followerlatest-subscriberlatest-cheer
- supported