Skip to content

Real-time Sentiment Analysis Dashboard for Streaming Platforms

2024 · Personal project

status
Built, shelved by choice

A real-time Twitch chat sentiment dashboard, built full-stack on a streaming pipeline. I found that the original design breached Twitch's developer terms, rebuilt the data model to comply, then judged the compliant product had no defensible edge in a crowded market and shelved it deliberately.

Problem

Content creators lack deep audience insights beyond surface-level metrics to understand emotional engagement.

Solution

A streaming pipeline that scores live chat sentiment and shows streamers a real-time mood dashboard.

My Role

Full-Stack Developer & Product Lead

Tech Stack

Next.js
TypeScript
AWS Kinesis
AWS Comprehend
Gemini
WebSocket
Redis

Overview

A real-time Twitch chat sentiment dashboard for streamers, built end to end. Live chat is ingested through a streaming pipeline, scored for sentiment, aggregated, and pushed to a dashboard that shows the mood of the chat as it changes.

Status: built and working, never deployed. I shelved it deliberately (see below).

What I built

  • Ingestion: a Twitch IRC client feeding an AWS Kinesis stream, with a consumer and a batch processor that filters, deduplicates and samples messages.
  • Sentiment layer: a provider abstraction, so the same pipeline can run on AWS Comprehend, Gemini Flash, a mock provider or a custom model.
  • Aggregation and alerts: sentiment aggregation, a smart message selector and an alert evaluator.
  • Real-time delivery: a WebSocket server with a Redis adapter and pub/sub.
  • Dashboard: a Next.js 14 interface (App Router, TypeScript, Tailwind) with a Mood Pulse, Smart Messages and an Alert Banner.
  • Also included: authentication (OAuth and JWT), rate limiting, an opt-out mechanism and a retention policy.

The decision that shaped it

I checked the design against the Twitch Developer Services Agreement. Section VI.C restricts storing, selling, monetising or distributing Twitch data for commercial purposes without permission, and my original business model breached it.

I redesigned the data model to comply. Then I looked at what the compliant version was worth: it had no defensible advantage in an already crowded market. I chose to shelve the product rather than ship something compliant but undifferentiated.

Status and limits

  • The backend and frontend are complete and working locally.
  • It has never been deployed and has no users.
  • Throughput targets are design targets. Load tests were not run.
  • The code is in a private repository. The landing page built for the product is public: Chatlytics-landingpage.