heystreamer/public/alerts
Bashy c481ca92cb Stats per stream and period, public stats page, dashboard settings, Card alert style
Statistics
- Per day and per stream statistics (src/periodstats.js, one generic stat_day table), backfilled
  once from the older tables; Stream / Week / Month / Year / All time views, Community and Streams tabs.
- Viewer count every 5 minutes and title / category history per stream (EventSub channel.update):
  viewer graph, games played (donut), games in the streams list.
- Twitch sync (src/twitchsync.js): followers with follow dates, current subs, mods, VIPs, all-time
  bits, channel emotes, past streams from VODs. Twitch analytics CSV import (src/twitchcsv.js).
- Public stats page on its own host (Settings -> Stats and data): no message text, no bots,
  !hideme / !showme opt-out. Viewer page: roles, follow age, sub status, bits, a menu for rarely used actions.
- StreamElements watch-time importer removed (already imported minutes stay as a baseline).

Dashboard
- Settings and Actions with a left sidebar; each settings page saves only its own fields.
  Connections (Twitch, StreamElements token now set here, HUDFX), OBS links (hidden behind an eye
  toggle) with a link builder, Chat (sound picked from the media library), TTS, Stats and data,
  Backup (export / import the whole setup), Advanced. Time zone setting for the stats pages.
- Actions -> Alerts: alert style, pictures, sounds, bits tiers and card colours, stored in the
  database (src/theme.js); an old file-based theme is imported once. Alert preview page
  (/actions/alerts/preview, tools/preview/export.js for a static copy).
- Old /actions page removed; Actions = Redeems / Alerts / TTS voices / Media.

Alerts
- New plain Card style for everyone (public/alerts/card.js); Polaroid, Cassette and the TTS letter
  stay as optional looks. Redeem variations can be Card, Cassette, Sound only or Video.

Repo
- No channel data in git: the channel's art, stickers and sounds stay on disk (gitignored) and are
  picked in the dashboard; examples for the server config (apache.example.sh, .env.example).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 11:22:49 +02:00
..
art Stats per stream and period, public stats page, dashboard settings, Card alert style 2026-11-23 11:22:49 +02:00
videos Video Power-ups: Custom Power-ups, ?parts=video overlay, new redeems editor 2026-11-22 16:10:56 +02:00
card.css Stats per stream and period, public stats page, dashboard settings, Card alert style 2026-11-23 11:22:49 +02:00
card.js Stats per stream and period, public stats page, dashboard settings, Card alert style 2026-11-23 11:22:49 +02:00
cassette.css Reward / Power-up icon as a top-left sticker on the cassette and the video box 2026-11-22 16:14:39 +02:00
cassette.js Stats per stream and period, public stats page, dashboard settings, Card alert style 2026-11-23 11:22:49 +02:00
fx.css TTS: allow up to 500 characters, smaller handwriting on the letter for long messages 2026-11-21 15:03:07 +02:00
fx.js TTS: allow up to 500 characters, smaller handwriting on the letter for long messages 2026-11-21 15:03:07 +02:00
hypebar.css Overlay: cassette redeems, emote effects, poll card, Hype Train bar, raid card 2026-11-20 23:18:15 +02:00
hypebar.js Overlay: cassette redeems, emote effects, poll card, Hype Train bar, raid card 2026-11-20 23:18:15 +02:00
nowplaying.css Overlay: cassette redeems, emote effects, poll card, Hype Train bar, raid card 2026-11-20 23:18:15 +02:00
nowplaying.js Overlay: cassette redeems, emote effects, poll card, Hype Train bar, raid card 2026-11-20 23:18:15 +02:00
polaroid.css Stats per stream and period, public stats page, dashboard settings, Card alert style 2026-11-23 11:22:49 +02:00
polaroid.js Stats per stream and period, public stats page, dashboard settings, Card alert style 2026-11-23 11:22:49 +02:00
poll.css Overlay: cassette redeems, emote effects, poll card, Hype Train bar, raid card 2026-11-20 23:18:15 +02:00
poll.js Overlay: cassette redeems, emote effects, poll card, Hype Train bar, raid card 2026-11-20 23:18:15 +02:00
raidcard.css Overlay: cassette redeems, emote effects, poll card, Hype Train bar, raid card 2026-11-20 23:18:15 +02:00
raidcard.js Stats per stream and period, public stats page, dashboard settings, Card alert style 2026-11-23 11:22:49 +02:00
video.css Reward / Power-up icon as a top-left sticker on the cassette and the video box 2026-11-22 16:14:39 +02:00
video.js Reward / Power-up icon as a top-left sticker on the cassette and the video box 2026-11-22 16:14:39 +02:00