<?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: MANOJ KUMAR S LCSEC</title>
    <description>The latest articles on DEV Community by MANOJ KUMAR S LCSEC (@manoj_kumarslcsec_a3b08).</description>
    <link>https://dev.to/manoj_kumarslcsec_a3b08</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3979439%2F620e162b-9a9c-4402-b7dd-0933352c7145.png</url>
      <title>DEV Community: MANOJ KUMAR S LCSEC</title>
      <link>https://dev.to/manoj_kumarslcsec_a3b08</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/manoj_kumarslcsec_a3b08"/>
    <language>en</language>
    <item>
      <title>I Built a Gamified Carbon Footprint Platform for 1.4 Billion Indians in 14 Days — Using Only Prompts</title>
      <dc:creator>MANOJ KUMAR S LCSEC</dc:creator>
      <pubDate>Thu, 11 Jun 2026 11:39:47 +0000</pubDate>
      <link>https://dev.to/manoj_kumarslcsec_a3b08/i-built-a-gamified-carbon-footprint-platform-for-14-billion-indians-in-14-days-using-only-prompts-ci9</link>
      <guid>https://dev.to/manoj_kumarslcsec_a3b08/i-built-a-gamified-carbon-footprint-platform-for-14-billion-indians-in-14-days-using-only-prompts-ci9</guid>
      <description>&lt;p&gt;&lt;em&gt;A Build-in-Public story for PromptWars Virtual Challenge 3&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  The Problem Nobody Talks About
&lt;/h2&gt;

&lt;p&gt;India emits about 1.9 tonnes of CO2 per person per year. That number means absolutely nothing to most people.&lt;/p&gt;

&lt;p&gt;Tell someone "you emit 1.9 tonnes of CO2" and you'll get a blank stare. Tell them "your lifestyle is equivalent to taking 14 flights from Mumbai to Delhi every year" — and suddenly you've got their attention.&lt;/p&gt;

&lt;p&gt;That gap — between abstract data and human understanding — is exactly what I set out to close with &lt;strong&gt;EcoTrack India&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why Every Carbon Calculator I've Used Has Failed
&lt;/h2&gt;

&lt;p&gt;I've tried at least six carbon footprint calculators before building this. Every single one had the same problems:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;They used global emission averages. India's electricity grid in Jharkhand (coal-heavy, 0.95 kg CO2/kWh) is almost &lt;strong&gt;three times more carbon-intensive&lt;/strong&gt; than Himachal Pradesh (hydro-heavy, 0.30 kg CO2/kWh). Using a single national average is just wrong.&lt;/li&gt;
&lt;li&gt;They showed you a number and did nothing with it. "You emit 2.3 tonnes." Cool. Now what?&lt;/li&gt;
&lt;li&gt;They had zero retention mechanism. You calculated once, felt vaguely guilty, and never came back.&lt;/li&gt;
&lt;li&gt;They were designed for Western lifestyles — no LPG cylinders, no CNG autos, no train-heavy commutes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So I decided to build the calculator I actually wanted to exist.&lt;/p&gt;




&lt;h2&gt;
  
  
  Enter Google Antigravity: The Tool That Changed Everything
&lt;/h2&gt;

&lt;p&gt;Before PromptWars, my workflow was: idea → wireframe → code → debug → repeat. That loop took weeks.&lt;/p&gt;

&lt;p&gt;With Google Antigravity, the loop became: idea → &lt;strong&gt;prompt&lt;/strong&gt; → working prototype → refine.&lt;/p&gt;

&lt;p&gt;Here's the first significant prompt I wrote (condensed):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Build a multi-step carbon footprint calculator for India. 
Use state-specific electricity grid emission factors 
(coal-heavy states like Jharkhand: 0.95 kg CO2/kWh, 
renewables states like Himachal: 0.30 kg CO2/kWh). 
Include Scope 1 (petrol, LPG), Scope 2 (electricity), 
and Scope 3 (food, flights, shopping). 
Output a "Carbon Credit Score" from 0–850 styled like a 
financial credit score with tiers.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In under two minutes, I had a working calculator with all 29 state grid factors, the Scope 1/2/3 breakdown, and a score engine. Something that would have taken me 3–4 days of coding took 2 minutes of clear intent.&lt;/p&gt;




&lt;h2&gt;
  
  
  What Antigravity Got Wrong (And How I Fixed It)
&lt;/h2&gt;

&lt;p&gt;This is the part most Build-in-Public posts skip. Antigravity isn't magic — it's a powerful tool that needs direction.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Problem 1: The score formula was off.&lt;/strong&gt; The initial version scored everyone too low. A vegetarian in Karnataka with no car was getting 420/850 when they should be at 720+. I had to specify the exact formula: &lt;code&gt;Score = max(0, 850 - (userTonnes / 10 * 850))&lt;/code&gt; and cap it properly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Problem 2: The nudges were generic.&lt;/strong&gt; The first version showed the same tip to everyone. I reprompted:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;The AI coach tips must analyze the user's actual breakdown 
and identify their TOP emitting Scope category. 
If Scope 2 (electricity) is highest AND the user is in a 
coal-heavy state, show tips about rooftop solar and 
off-peak AC usage specific to that state's grid factor.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This turned generic advice into something that felt genuinely personal.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Problem 3: The Canvas share card was boring.&lt;/strong&gt; The first generated card was functional but looked like a receipt. I asked for a glassmorphism-styled card with a leaf pattern background, the user's tier emoji prominently displayed, and a QR code placeholder with "Scan to calculate yours!" — the kind of card someone would actually want to share on Instagram.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Five Features I'm Most Proud Of
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. State-Level Grid Intelligence
&lt;/h3&gt;

&lt;p&gt;Every Indian state has a different electricity mix. EcoTrack knows this. Selecting Maharashtra vs. Himachal Pradesh with the same electricity consumption gives you meaningfully different scores — because the underlying carbon reality &lt;em&gt;is&lt;/em&gt; different.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. The "Making the Invisible Visible" Engine
&lt;/h3&gt;

&lt;p&gt;After your score, the app shows you six relatable equivalents:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"Your footprint = charging your phone 487,000 times"&lt;/li&gt;
&lt;li&gt;"Your footprint = 14 Mumbai–Delhi flights"&lt;/li&gt;
&lt;li&gt;"You need 43 trees to offset your annual emissions"&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These aren't decorative. They're the moment the number stops being a number and starts being something real.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Real-Time Behavioral Nudges
&lt;/h3&gt;

&lt;p&gt;Selecting "Omnivore" diet immediately triggers: &lt;em&gt;"Shifting to vegetarian could save ~1,000 kg CO2/year — that's like parking your car for 5 months."&lt;/em&gt; These aren't pop-ups. They're contextual, non-intrusive toasts that fire at the exact decision-making moment.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. The 5-Step Onboarding Tour
&lt;/h3&gt;

&lt;p&gt;Built entirely in vanilla JS with zero external libraries. Uses &lt;code&gt;scrollIntoView()&lt;/code&gt; + CSS &lt;code&gt;z-index&lt;/code&gt; stacking + a custom overlay engine. First-time users get a guided walkthrough of every key insight. Returns to &lt;code&gt;localStorage&lt;/code&gt; so it never repeats.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. The Shareable Carbon Card (Canvas API)
&lt;/h3&gt;

&lt;p&gt;A fully programmatic image generator using HTML5 Canvas. Every card is unique — it paints the user's exact score, tier, state, and city benchmark in a downloadable PNG. Built from scratch. No Canva, no template.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Numbers Behind the App
&lt;/h2&gt;

&lt;p&gt;The emission factor database I compiled for this:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;29 Indian states&lt;/strong&gt;, each with a unique grid emission factor&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;5 diet types&lt;/strong&gt; with scientifically sourced annual emission values&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;8 transport modes&lt;/strong&gt; with India-specific factors (CNG autos, 3-wheelers, etc.)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;8 city benchmarks&lt;/strong&gt; for peer comparison&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;3 Scope categories&lt;/strong&gt; following enterprise carbon accounting standards&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  What I Learned About Vibe Coding vs. Traditional Dev
&lt;/h2&gt;

&lt;p&gt;Traditional development is like being an architect who also lays every brick. Vibe coding with Antigravity is like being the architect with a skilled crew — you still need to know exactly what you want, you still need to catch mistakes, but you're no longer bottlenecked by execution speed.&lt;/p&gt;

&lt;p&gt;The biggest shift: &lt;strong&gt;your bottleneck moves from "can I code this?" to "can I describe this clearly enough?"&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Writing a precise prompt is now a technical skill. Knowing &lt;em&gt;why&lt;/em&gt; a formula is wrong and how to correct it is still a technical skill. Antigravity amplifies competence — it doesn't replace it.&lt;/p&gt;




&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;p&gt;EcoTrack India is live on GitHub Pages. The next features I want to build:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A community leaderboard showing anonymized state-vs-state comparisons&lt;/li&gt;
&lt;li&gt;Monthly recalculation reminders via browser push notifications&lt;/li&gt;
&lt;li&gt;Integration with UPI transaction data to auto-detect shopping and food delivery spending&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Try It Yourself
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;strong&gt;Live Demo:&lt;/strong&gt; &lt;a href="https://manojs923.github.io/Carbon-Footprint-Awareness-Platform/" rel="noopener noreferrer"&gt;https://manojs923.github.io/Carbon-Footprint-Awareness-Platform/&lt;/a&gt;&lt;br&gt;
💻 &lt;strong&gt;Source Code:&lt;/strong&gt; &lt;a href="https://github.com/manojs923/Carbon-Footprint-Awareness-Platform.git" rel="noopener noreferrer"&gt;https://github.com/manojs923/Carbon-Footprint-Awareness-Platform.git&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you calculate your score, share your Carbon Card and tag me — I want to see how India's leaderboard looks.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Built for PromptWars Virtual Challenge 3 | Powered by Google Antigravity&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;#PromptWars #BuildInPublic #GoogleAntigravity #Climatetech #EcoTrackIndia #Hack2Skill #VibeCoding&lt;/em&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>buildinpublic</category>
      <category>webdev</category>
      <category>climatetech</category>
    </item>
  </channel>
</rss>
