Inspiration
📉 The Market Failure: Good Intentions, Bad UX
Every single day, 3.2 billion digital transactions occur across ride-hailing, food delivery, and e-commerce platforms. Modern consumers want to make sustainable choices. In fact, studies show that 73% of Gen Z consumers are willing to pay more for sustainable products.
However, the current tech infrastructure is failing them:
- Carbon Data is Invisible: The environmental cost of a transaction is hidden at the point of decision.
- Checkout Friction: When platforms do try to add carbon offsets, they add extra checkboxes and friction to the checkout flow. This creates 12-18% conversion drops for the business.
- No Standardization: There is no universal, drop-in SDK that platforms can integrate without spending months of engineering time.
The Result: $2.3 trillion in annual e-commerce transactions happen with zero environmental awareness because companies refuse to sacrifice checkout conversion rates for sustainability.
💡 The Solution: EcoNudge SDK
EcoNudge is an AI-powered, drop-in React SDK that intercepts user decisions at the exact point of action, calculates the environmental impact in under 50ms, and presents gamified, greener alternatives — all without disrupting the native checkout experience.
We aren't building a consumer app that people have to remember to download. We are building the infrastructure layer that plugs directly into the apps they already use (like Uber, Zomato, and Amazon).
Instead of guilt-tripping users, EcoNudge uses behavioral psychology, gamification, and generative AI to make the green choice feel rewarding, not restrictive.
🚀 Key Architectural Features
🧠 1. AI-Powered Smart Analogies (Google Gemini)
Nobody understands what "1.2 kg of CO₂" means. Our Gemini-powered AI engine intercepts the carbon data and generates hyper-personalized, funny, and highly shareable analogies in real-time.
"Choosing the SUV emits the same amount of CO₂ as charging your PlayStation 5 for 14 hours straight! 🎮"
⚡ 2. Sub-50ms Carbon Predictive Engine
To ensure we never hurt a client's checkout conversion rate, our engine runs on the edge. It queries over 1,000+ emission factors across transport, food, and shopping to calculate dynamic sustainability scoring (0-100) with zero perceived latency.
🎮 3. Behavioral Gamification Loop
We turn sustainability into a multiplayer game:
- EcoPoints System: Users earn points for every green choice they make on a partner platform.
- Dynamic 3D Biome: Using
react-three-fiberand custom GLSL shaders, users have a WebGL "Virtual Tree" that physically grows and reacts to their real-world eco-decisions. - Carbon Offset Marketplace: Users can spend their aggregated EcoPoints on real-world sustainability projects (tree planting, solar farms) with verified offset certificates.
📊 4. Enterprise B2B ESG Dashboard
EcoNudge provides immense value to the B2B platforms integrating our SDK. Our enterprise dashboard gives them real-time carbon offset analytics, automated UN SDG alignment tracking, and one-click exports for global ESG compliance reporting.
⚙️ How We Built It
- Framework: Next.js 16 (App Router) with strict TypeScript
- AI/ML: Google Gemini 2.0 Flash API for low-latency contextual analogies
- 3D/WebGL:
react-three-fiber, Three.js, and Custom GLSL Shaders for the interactive biome - State & Streaming: React Context paired with Server-Sent Events (SSE) for live leaderboard data
- Deployment: Vercel Edge Network for global sub-50ms latency
🚧 Challenges We Faced
The most significant engineering challenge was latency. Because our SDK injects itself into the critical path of a checkout flow (e.g., booking a ride), it could not add blocking network requests. We had to architect a highly optimized edge-computing pipeline where the Carbon Predictive Engine and the Gemini AI API resolve in parallel, streaming the UI response via Next.js Edge Functions before the user's thumb even finishes clicking the button.
📈 What's Next for EcoNudge
- Voice-Activated Bookings: Expanding our experimental Web Speech API integration to allow continuous speech recognition for booking eco-friendly rides entirely hands-free.
- Blockchain Audit Trails: Tokenizing the EcoPoints and offset certificates on a Layer 2 blockchain to ensure complete transparency and prevent double-counting of carbon credits.
- Open API Portal: Finalizing our developer portal so any startup in the world can generate an API key and drop EcoNudge into their checkout flow in under 5 minutes.
Built With
- gemini
- next.js
- tailwind
- three.js
- typescript
- webgl
Log in or sign up for Devpost to join the conversation.