SYS // INTERNET-VIBES

internet-vibes

99.9%•LIVE•2025•24hr sprint and v1.2 rewrite (2025 to 2026)

Ambient real-time sensory radar scraping global web discourse into 7-dimensional emotion vectors and generative audio-visuals.

Stack

Python / FastAPIDistilRoBERTaThree.jsWeb Audio API

01 // THE CHALLENGE

Internet Sentiment is Fragmented, Fleeting & Misunderstood

Who hurts:Tech Founders, Market Researchers & Cultural Observers

Online reaction to breaking events shifts across Reddit, Hacker News, and RSS feeds in minutes. Most sentiment tools only measure simple positive-versus-negative polarity, missing nuanced emotional tones like curiosity, skepticism, or surprise.

Core Bottlenecks

Binary sentiment tools (VADER) misclassify sarcasm, fear, and technical debate as flat negative noise
Massive enterprise LLM APIs cannot stream 160+ items every cycle without unsustainable billing and rate throttling
Static dashboards fail to convey the visceral, holistic feeling of global collective attention in real time

02 // CAPABILITIES & SENSORY FLOW

Real-Time Emotional Telemetry & Generative Soundscapes

An ambient terminal that ingests live global discourse, classifies 7 emotional dimensions via DistilRoBERTa, and renders the collective mood into a deforming WebGL sphere, procedural audio, and geospatial telemetry.

Real-Time Emotional Telemetry & Generative Soundscapes
Live Showcase

Real-Time Emotional Telemetry & Generative Soundscapes

Live cyber-terminal with Three.js 3D mood sphere, emotion radar matrix, and Leaflet world pulse

01DistilRoBERTa

7-Dimensional Neural Emotion Radar

Evaluates anger, disgust, fear, joy, neutral, sadness, and surprise across live web feeds using DistilRoBERTa.

02Web Audio

Zero-Asset Procedural Web Audio

Synthesizes real-time ambient soundscapes (static hum, pink-noise wind sweeps, vinyl crackle, distant rain) using the Web Audio API.

03Three.js + spaCy

Dynamic Topic Clustering & 3D WebGL

Groups headlines by TF-IDF cosine similarity while modulating icosahedron vertex displacement and rotational velocity in WebGL.

03 // THE HARD PROBLEM

From 90% Data Waste to 18ms Multi-Stage Neural Synthesis

Transforming brittle keyword matching into deep contextual NLP under strict CPU cycle budgets

The prototype engine relied on ~50 static keywords and binary VADER polarity. Over 90% of the 160 ingested snippets matched zero keywords, while sarcasm and crisis headlines ('AI breakthrough', 'earthquake kills hundreds') collapsed into inaccurate neutral or negative buckets. Migrating to deep transformers risked blowing past CPU compute limits and memory budgets on cheap cloud tiers.

What Was Tried & Failed
  • ✕Keyword-based heuristics discarded 140+ out of 160 scraped snippets per cycle, rendering vibe indices statistically ungrounded
  • ✕Unbatched heavy transformer inference caused 45-second event loop stalls, freezing FastAPI background tasks and API responses
What Worked & Shipped

Swapped the lexicon matcher for a fine-tuned DistilRoBERTa sequence classification pipeline running in PyTorch eval mode, coupled with spaCy POS/NER extraction and a TF-IDF cosine-similarity matrix (>0.3 threshold). Capped input snippets to 160 deduplicated items, delivering full 7-emotion probability tensors, topic concentration, and intensity scoring in 2.8 seconds on CPU with a 500MB memory ceiling.

04 // SYSTEM BLUEPRINT

Geocoded Ingestion, Semantic Aggregation & Ambient Terminal

Decoupled asynchronous ingestion pipeline feeding a multi-stage NLP aggregation worker and a zero-dependency generative frontend.

Execution Flow Sequence

1.Scrape 23 Regional Subreddits, HN & 11 RSS Feeds
2.Deduplicate & Geo-Tag Top 160 Snippets
3.DistilRoBERTa 7-Class Emotion Tensor Inference
4.spaCy NER & TF-IDF Cosine Cluster Analysis
5.Synthesize Mood State, Intensity & WCAG Contrast
6.Drive Three.js Simplex Mesh & Procedural Web Audio

Async Ingestion Swarm

Python AsyncIO

httpx async client pulling live RSS, Reddit, and Hacker News streams across 23 countries

DistilRoBERTa & Semantic Engine

PyTorch Eval

Sub-80ms transformer pipeline computing 7 emotion vectors and TF-IDF topic clusters

WebGL & Web Audio Synthesizer

Netlify Edge

Three.js SimplexNoise vertex deformation paired with procedural Web Audio synthesis

05 // ARCHITECTURAL TRADEOFFS

Deliberate Decisions & Pragmatic Engineering

Key technical choices made to balance deep semantic comprehension against operational cost, execution latency, and zero-maintenance reliability.

Chose: DistilRoBERTa (social media fine-tuned) + spaCy on CPUoverHosted LLM APIs (OpenAI / Claude / Gemini)

Rationale: Sending 160 snippets every 10 minutes (23,040 items/day) to frontier LLMs introduces API cost unpredictability, strict rate limits, and network latency jitter.

Resulting Impact: Predictable 2.8s total pipeline execution, 100% offline-executable inference, $0 continuous API bill.

Chose: Procedural Web Audio API sound synthesis (white/pink noise filters)overStreaming pre-recorded MP3 / audio assets

Rationale: Audio files require high bandwidth, introduce decoding latency, and sound repetitive over prolonged listening sessions.

Resulting Impact: Zero external audio downloads, infinite generative variation, and instant audio initialization under 2KB of code.

Chose: TF-IDF Vectorizer with Pairwise Cosine Similarity (>0.3 cutoff)overDense Embedding Clustering (HDBSCAN / ChromaDB / FAISS)

Rationale: Dense vector databases and embedding models add 1.2GB of memory overhead and heavy indexing machinery for short-lived 160-item rolling batches.

Resulting Impact: Sub-50ms clustering time, zero database dependency, and clean keyword extraction from largest cluster centroids.

06 // BENCHMARKS

Measured Latency, Footprint & Model Precision

Profiled on single-vCPU instance during live 160-snippet ingestion cycles.

Inference Latency

18ms

DistilRoBERTa per-snippet CPU evaluation

Global Placement

Top 15

Maximally Vibe-a-thon competitive field

Total Cycle Time

2.8s

Full scrape, NER, clustering & synthesis

Inference Latency vs Batch Size (ms)

Continuous Benchmarking

* Benchmarks measured using cProfile and Python timeit on 2.4GHz vCPU environment.

07 // 24-HOUR SPRINT & OVERHAUL

Hackathon Constraints, Scope Cuts & the v1.2 Engine Rewrite

Shipped in Window

Full-stack ambient radar with async multi-feed scrapers, DistilRoBERTa 7-class emotion engine, TF-IDF topic clustering, Three.js morphing mesh, and procedural Web Audio synthesis.

Scope Cut Under Crunch

  • ·Heavy vector databases (Chroma/FAISS): replaced with in-memory TF-IDF and cosine similarity matrix, cutting memory overhead to sub-50ms execution
  • ·Pre-recorded audio streaming: replaced with procedural Web Audio noise synthesizers, saving bandwidth and eliminating loading delays
  • ·Complex authentication and relational database: kept zero-auth and file-backed with atomic JSON caches to ensure zero downtime during review

With 48 More Hours

Implement real-time multilingual sentiment translation to parse non-English regional subreddits without relying on English-language feeds.

Crucial Takeaway

“In rapid hackathon prototyping, procedural generation and deterministic in-memory clustering beat heavy microservices and cloud APIs every single time.”

08 // PROOF & VERIFICATION

Verified Code, Live Endpoints & Competition Standing

Public production deployment, open-source repository, and competition distinction.