Giveaway settings
- Giveaway / competition name
- The title shown on the admin page and on the OBS overlay. Use something viewers will recognise, like “Headset giveaway”.
- Entry keyword
- The exact word viewers must type in chat to enter. Matching is case-insensitive, so “WIN” and “win” both count. Keep it short and unique.
- Twitch stream URL or channel
- Your Twitch channel name or full URL (for example
https://twitch.tv/yourchannel). Name Drop reads public chat anonymously — no Twitch login is required.
- YouTube Live Chat
- Paste the Live Chat pop-out URL from YouTube Studio each time you go live (for example
https://studio.youtube.com/live_chat?is_popout=1&v=…). A normal watch/live URL or bare video id also works. Name Drop reads the video id from the link and resolves the active chat automatically. Needed only if you want YouTube chat entries.
- YouTube API key
- A Google API key that can call the YouTube Data API. Required to poll YouTube chat. Leave blank if you only use Twitch.
- OBS overlay labels
- Rename the on-stream bar wording: entries label, winner label, Select / Continue button text, and the pool count suffix (e.g. “in pool”). Defaults match the original overlay copy. Edits push to the open OBS overlay in real time as you type.
- Box colour
- Fill colour of the OBS lower-third bar. Default is gunmetal black
#1c1c1c. Use the colour picker or type a hex value — the open OBS overlay updates live, no page refresh needed.
Overlay labels, box colour, and the giveaway name update the OBS bar in real time. Press Save settings after changing keyword, stream links, or the API key so collection uses the new values.
Debug page — diagnosing live issues
The build server cannot run or watch the live site. When something goes wrong on the deployed app
(especially OBS overlay label / colour / title updates not appearing), use the
Debug page on the live site, then copy the dump and send it
back for analysis.
The Debug page streams server log lines over SignalR, shows hub connection status, and dumps the
current raffle variables (settings, entrants, winners, current winner). That raw text is what the
agent needs — not screenshots alone.
What the Debug page shows
- Connection
- Hub state (Connected / Disconnected), hub URL, path base, transport hint, last connect time, last state push, and last error. The badge should read Connected on a healthy live server.
- Live variables
- Giveaway name, collecting flag, entrant / winner counts, current winner, plus the full client state JSON and any pulled server snapshot.
- Live log
- Timestamped client + server events: hub connect/reconnect,
UpdateSettings, SetCollecting, entrant adds, picks, notifier broadcasts, and errors.
- Copy full dump
- Builds one JSON blob (URL, user agent, client status, client state, server snapshot, log history) and copies it to the clipboard.
Setup a clean test for overlay update issues
Use this when Admin changes (giveaway name, overlay labels, box colour) do not show on the open OBS overlay.
- Open the site on the live deployment (not a local or preview build — SignalR websockets are unreliable there).
- Open three tabs/windows from the same live origin:
- Admin (
/)
- OBS Overlay (
/overlay) — or the OBS Browser Source pointed at the live /overlay URL
- Debug (
/debug)
- On Debug, confirm the badge is Connected. If not, press Reconnect hub, wait a few seconds, then Pull server snapshot.
- Optional but useful: press Clear logs so the dump only contains this test run.
- On Admin, note the current giveaway name, overlay labels, and box colour so you can describe what you change.
Step-by-step: reproduce an overlay update problem
- With Admin, Overlay, and Debug all open and Debug showing Connected, watch the overlay lower-third (title, ENTRIES/WINNER label, Select button text, pool suffix, box fill colour).
- On Admin, change only the live-push fields one at a time (do not press Save yet for these):
- Giveaway / competition name
- Entries label
- Winner label
- Select button text
- Continue button text
- Pool count suffix
- Box colour (picker or hex)
- After each change, look at the open Overlay tab / OBS source. Note whether it updates immediately, updates only after refresh, or never updates.
- Press Save settings once, change the keyword or a stream field if relevant, and again note whether the overlay (and Debug live variables) reflect the saved state.
- If you are testing the draw path as well: add a manual entrant, open Overlay, press SELECT, then CONTINUE, and watch Debug’s live log for
hub.Pick / state broadcasts.
- On Debug, press Pull server snapshot so the dump includes the latest server-side variables.
- Press Copy full dump. Paste the entire JSON into your reply to the agent (or attach it as a
.txt). Also write 2–4 short lines in plain English:
- What you changed (e.g. “box colour to #ff0000, entries label to HELLO”)
- What you expected on the overlay
- What you actually saw (no change / partial / only after refresh)
- Whether Debug stayed Connected the whole time
How to copy the debug info the agent needs
- Open Debug on the live site.
- Confirm Connected. Use Reconnect hub if needed.
- Press Pull server snapshot.
- Press Copy full dump (status should say the dump was copied). If clipboard is blocked, the log area is selected — press Ctrl+C / Cmd+C.
- Paste the full raw text into the change thread. Do not trim the JSON; connection fields,
clientState.settings, serverSnapshot, and the live log are all useful.
That dump is enough to diagnose hub disconnects, missing UpdateSettings / state broadcasts,
path-base / hub URL problems, and mismatched client vs server overlay fields — without anyone needing
shell access on the build server.