Feature: Official Twitch Chat Integration with Front-Page Connect Flow #2

Closed
opened 2026-04-25 10:56:40 +02:00 by wandabastyle · 0 comments
wandabastyle commented 2026-04-25 10:56:40 +02:00 (Migrated from github.com)

Summary

Implement Twitch chat with official OAuth/dev credentials, while keeping chat and video logically separated.

Problem

Current app has video/watch flow and manual channel management, but no official Twitch chat integration and no Twitch account-link flow on the front page.

Proposed Solution

  • Add a dedicated chat subsystem (/api/chat/*) isolated from video playback.
  • Add backend-managed Twitch OAuth (connect/unlink/status).
  • Front page: add "Connect Twitch" section.
  • Merge followed channels directly into displayed channel list (deduped with manual channels).
  • Keep manual add/remove channel support.
  • Watch page: show chat to the right of video (UI adjacency, logical isolation).

Scope / Requirements

  • Official Twitch credentials and OAuth on backend only.
  • No chat?video cross-module coupling.
  • Unified channel list = manual + followed.
  • No import step for followed channels.

Acceptance Criteria

  • User can connect/disconnect Twitch account from front page.
  • Followed channels appear automatically in channel list.
  • Manual channel add/remove continues to work.
  • Watch page shows video + chat side by side.
  • Chat endpoints and runtime are independent from video endpoints.

Notes

Security: Twitch app credentials and user tokens remain server-side, encrypted at rest.

## Summary Implement Twitch chat with official OAuth/dev credentials, while keeping chat and video logically separated. ## Problem Current app has video/watch flow and manual channel management, but no official Twitch chat integration and no Twitch account-link flow on the front page. ## Proposed Solution - Add a dedicated chat subsystem (/api/chat/*) isolated from video playback. - Add backend-managed Twitch OAuth (connect/unlink/status). - Front page: add "Connect Twitch" section. - Merge followed channels directly into displayed channel list (deduped with manual channels). - Keep manual add/remove channel support. - Watch page: show chat to the right of video (UI adjacency, logical isolation). ## Scope / Requirements - Official Twitch credentials and OAuth on backend only. - No chat?video cross-module coupling. - Unified channel list = manual + followed. - No import step for followed channels. ## Acceptance Criteria - User can connect/disconnect Twitch account from front page. - Followed channels appear automatically in channel list. - Manual channel add/remove continues to work. - Watch page shows video + chat side by side. - Chat endpoints and runtime are independent from video endpoints. ## Notes Security: Twitch app credentials and user tokens remain server-side, encrypted at rest.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
wandabastyle/twitch_relay#2
No description provided.