<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rahul Raj</title>
    <description>The latest articles on DEV Community by Rahul Raj (@rj_1412).</description>
    <link>https://dev.to/rj_1412</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4023966%2Fb75d35ed-daa2-448f-a22f-50f6bbafaed8.jpg</url>
      <title>DEV Community: Rahul Raj</title>
      <link>https://dev.to/rj_1412</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rj_1412"/>
    <language>en</language>
    <item>
      <title>CLUTCH — I Made AI Commentators Turn Any Rivalry Into a Dramatic Sports Broadcast</title>
      <dc:creator>Rahul Raj</dc:creator>
      <pubDate>Fri, 10 Jul 2026 14:02:32 +0000</pubDate>
      <link>https://dev.to/rj_1412/clutch-i-made-ai-commentators-turn-any-rivalry-into-a-dramatic-sports-broadcast-4g8a</link>
      <guid>https://dev.to/rj_1412/clutch-i-made-ai-commentators-turn-any-rivalry-into-a-dramatic-sports-broadcast-4g8a</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for &lt;a href="https://dev.to/challenges/weekend-2026-07-09"&gt;Weekend Challenge: Passion Edition&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Passion isn't quiet. It argues, it hypes, it declares winners. So instead of building another tracker to &lt;em&gt;log&lt;/em&gt; passion, I built something that &lt;em&gt;performs&lt;/em&gt; it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CLUTCH&lt;/strong&gt; takes any two things you're passionate about — rival players, two frameworks, your side project vs. your 9-to-5, two World Cup teams, literally anything — and generates a live, dramatic sports-commentator-style audio battle between them, complete with a shareable match-card graphic declaring a winner.&lt;/p&gt;

&lt;p&gt;Pick a tone (Boxing Ring Announcer, Wrestling Hype Man, Football Pundit, Shakespearean Drama, Nature Documentary Narrator), type in your two contenders, and CLUTCH writes the script, voices it, and hands you a poster-ready match card in under 30 seconds.&lt;/p&gt;

&lt;p&gt;The goal wasn't to build a novelty toy — it was to capture that specific feeling of &lt;em&gt;obsession turning into theater&lt;/em&gt;: the way rivalry makes even mundane things (tabs vs. spaces, React vs. Vue) feel like a championship fight.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Live app:&lt;/strong&gt; &lt;a href="https://clutch-iota-ashy.vercel.app/" rel="noopener noreferrer"&gt;https://clutch-iota-ashy.vercel.app/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Try it yourself — type in any two rivals and hit "Start the Clash." (Recommend trying "Shakespearean Drama" mode at least once, it's unreasonably funny.)&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/RJ1412/clutch" rel="noopener noreferrer"&gt;https://github.com/RJ1412/clutch&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Stack:&lt;/strong&gt; Next.js 14 (App Router) + TypeScript + Tailwind, deployed on Vercel.&lt;/p&gt;

&lt;p&gt;The core flow is three steps: script generation → voice synthesis → shareable output.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Google AI (Gemini)&lt;/strong&gt; writes the commentary. I fed it a structured prompt that forces short, punchy sports-broadcast phrasing — buildup, tension, a decisive final line — rather than generic paragraph text, and had it return a structured winner + tagline alongside the script so the rest of the app doesn't need to parse free text.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ElevenLabs&lt;/strong&gt; turns that script into audio. This was the part that actually sells the concept — text on a screen doesn't feel like a rivalry, but a voice that sounds like it's mid-broadcast does. I also built a graceful fallback: if the TTS call fails or hits a rate limit, the app degrades to a text-only mode instead of breaking the whole experience, since a live demo can't afford a hard failure.&lt;/p&gt;

&lt;p&gt;On the architecture side, I kept provider logic behind interfaces (&lt;code&gt;ICommentaryProvider&lt;/code&gt;, &lt;code&gt;ITTSProvider&lt;/code&gt;) rather than calling Gemini/ElevenLabs directly from routes — so swapping either provider later is a one-file change, not a rewrite. API keys never touch the client, inputs are validated and length-capped before hitting either API, and routes are rate-limited per IP.&lt;/p&gt;

&lt;p&gt;The last piece was the match-card generator — an SVG "VS poster" rendered client-side and exported to PNG, so every battle produces something actually shareable, not just an audio file sitting in the app.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Built solo&lt;/strong&gt; — design, both API integrations, and deployment, over the challenge weekend.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;Submitting for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Google AI&lt;/strong&gt; — Gemini drives 100% of the commentary generation, including structured winner/tagline output that the whole UI depends on.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of ElevenLabs&lt;/strong&gt; — Text-to-Speech is the core sensory payoff of the app — it's the difference between "reading about a rivalry" and "feeling like you're at one."&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thanks for reading — go start a clash. &lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
    </item>
  </channel>
</rss>
