Back to Projects

Cricket Commentary Generator

Helping my visually impaired uncle enjoy cricket independently

150+
Matches Followed
4
Languages
100%
Independence
8 Mo
In Use

The Story

My uncle loves cricket but became visually impaired 3 years ago. TV commentary is good, but he couldn't follow scores during the day when he's at his shop. Radio commentary isn't always available for all matches, and he felt disconnected from his favorite sport.

I built a simple app using Cricbuzz's API and Google Text-to-Speech that reads out ball-by-ball commentary in Hindi. It runs on his phone with large buttons he can feel. Now he listens to every India match while working, and for the first time in years, he's hosting cricket discussions with customers again.

why this exists: March 2023 - my uncle Rajesh chacha, who's been a cricket fanatic for 40+ years, started losing his vision due to diabetes complications. he owns a small mobile repair shop and used to listen to radio commentary all day. but with fewer matches on radio now (everything's on streaming), he was missing cricket terribly. saw him sitting quietly during the India-Australia series, and it broke my heart. so i built this. now he listens to every match in Hindi while fixing phones. customers say he's back to his old cheerful self. 🏏❤️

choose a match to simulate

live commentary player

India vs Australia

245/4 (42.3 overs)
Striker
Virat Kohli - 87 (92)
Non-Striker
KL Rahul - 45 (63)
Bowler
Pat Cummins - 2/48 (8.3)
42.3 overs
FOUR! Magnificent cover drive by Kohli!

Click play to hear automated cricket commentary

chacha's actual usage (8 months)

153
matches listened
4.2hr
avg daily use
Hindi
preferred language
100%
independence

Best moment: During India vs Pakistan match (October 2023), 12 customers stayed at his shop listening together. Chacha was explaining every ball like he could see it. One customer said "Rajesh bhai sees cricket better than all of us!" 🥹

how it works technically

📊 Live Score Updates
Real-time scores parsed from Cricbuzz API every 30 seconds
🎙️ Text-to-Speech
Natural commentary in 4 Indian languages using browser TTS
⚡ Ball-by-Ball
Every delivery described in detail with context and excitement
📱 Mobile Friendly
Works on chacha's basic Android phone with large buttons

Key Features

API Integration

Fetches live scores from Cricbuzz every 30 seconds

Smart Commentary

Generates natural-sounding commentary from score data

Multi-language Support

Hindi, English, Tamil, Telugu using Google TTS

Accessibility First

Large touch targets, voice commands, no complex UI

Technical Implementation

Score Parsing

Python script fetches JSON from Cricbuzz API, extracts key events (boundaries, wickets, milestones)

Commentary Generation

Template-based system creates contextual commentary. "Kohli hits FOUR" becomes natural sentences with excitement for boundaries.

Text-to-Speech

Google Cloud TTS API with Indian English and Hindi voices. Adjusted speed and pitch for better listening experience.

Offline Mode

Caches last 100 balls so commentary continues even with spotty internet connection at the shop.

Want to Build Something Similar?

Every great project starts with a personal problem. What's yours?

Get Started