- src/streamelements.js: StreamElements Astro websocket, channel.tips with SE_JWT. Only allowed + successful tips alert, deduped by id, follows reconnect tokens. Off unless SE_JWT is set. - tools/nowplaying/: PC helper that reads Feishin over MPRIS and posts title, artist and a small cover thumbnail to /nowplaying (Bearer NOWPLAYING_KEY). The cover is fetched on the LAN so the Navidrome token never leaves the PC. Endpoint and overlay widget are kept but switched off for now. - .env.example: SE_JWT, NOWPLAYING_KEY. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
571 B
Text
18 lines
571 B
Text
TWITCH_CLIENT_ID=your_client_id
|
|
TWITCH_CLIENT_SECRET=your_client_secret
|
|
|
|
# Local dev:
|
|
# TWITCH_REDIRECT_URI=http://localhost:3000/auth/callback
|
|
# Production:
|
|
TWITCH_REDIRECT_URI=https://overlay.example.com/auth/callback
|
|
|
|
SECRET_KEY=change_this_to_a_random_string
|
|
APP_BASE_URL=https://overlay.example.com
|
|
DB_PATH=./heystreamer.db
|
|
PORT=3000
|
|
|
|
# StreamElements tips (optional): dashboard -> avatar -> channel -> JWT token. Keep it secret.
|
|
SE_JWT=
|
|
|
|
# Now playing (Feishin) helper: long random secret shared with tools/nowplaying (e.g. `openssl rand -hex 32`).
|
|
NOWPLAYING_KEY=
|