Stats and data

The public stats page, and data copied from Twitch.

<%- include('_flash') %>

Public stats page

Public page onOff: it answers “not found” for everyone except you (preview below). Never shows message text, bots, or viewers who typed !hideme.
Host nameIts own address. Needs a DNS record to this server, a certificate, and the web server sending it to HeyStreamer. On that host only the public page answers.

Twitch

<% const bad = Object.entries(sync.parts || {}).filter(([, v]) => !String(v).startsWith('ok')); %>
Sync with TwitchFollowers with follow dates, current subs, mods, VIPs, all-time bits, your emotes, past streams (VODs). Runs every 6 hours and after each stream.
<%= sync.at ? `last ${sync.at.slice(0, 16).replace('T', ' ')} UTC` : 'never' %>
<% if (sync.at) { %><% for (const [k, v] of Object.entries(sync.parts || {})) { %><%= k %>: <%= v %> · <% } %><% } %>
Twitch analytics (CSV)Creator Dashboard → Analytics → export “Analytics and Revenue by day”. Fills in your history before HeyStreamer, and numbers only Twitch has. Importing again only updates days. Revenue is never public.
<%= csv.days ? `${csv.days} days imported (${csv.from_day} – ${csv.to_day})` : 'none imported yet' %>