April 20, 2024 (2y ago)
Real-time Sentiment Analysis Dashboard for Streaming Platforms
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.
Related Projects
3D Portfolio Simulator with AI Interview Assistant
A 3D portfolio experience built with Three.js and Google's Gemini, where visitors talk to three AI personas grounded in my work history. It is live at /simulator.
Reddit Racism Analyzer: AI-Powered Content Moderation
Overall winner of the LSE MISDI Code Camp 2025, entered solo against 10+ teams. Three text-classification models score Reddit content in an ensemble, and a context step down-weights quoted or academic language before the final score.