Moyacchi ; Your AI Eco Companion
Source: Dev.to
This is a submission for the Weekend Challenge: Earth Day Edition
What I Built
Most people have no idea what their daily choices are actually doing to the environment—not because they don’t care, but because nothing makes it visible, personal, or worth coming back to.
Moyacchi is my answer to that. It is an AI‑powered eco companion that tracks your daily habits across three dimensions—transportation, food, and energy use—analyzes their cumulative environmental impact using Google Gemini, and reflects that progress through a companion that literally evolves with you: Seed → Sprout → Bloom → Glow.
The goal was never to build another carbon calculator; it was to build something that feels alive—something you actually want to open tomorrow.
Beyond the core habit loop, Moyacchi includes:
- Green‑Sight – a real‑time OCR scanner that reads any product label, flags harmful ingredients, identifies packaging material, and provides waste‑classification guidance.
- AI Eco Coach – a conversational AI coach powered by Gemini.
- Sky Dashboard – live air‑quality data for any city on Earth.
- Journal – a personal environmental diary with shareable impact cards for every entry.
Demo

Features
Daily Stack Analysis
Log your day across transportation, food, and energy use. Moyacchi analyses the entire day at once using Google Gemini Flash and returns a score, performance grade, behavioral swaps, and a real‑world impact metaphor.
Evolving Companion
Moyacchi grows with your progress through four stages—Seed, Sprout, Bloom, Glow. The better your habits, the more it evolves.
Green‑Sight OCR
Snap any product label. Moyacchi identifies harmful ingredients, packaging material, waste classification, and disposal guidance in real time.
AI Eco Coach
A conversational AI coach powered by Gemini. Ask anything about sustainable living—no lectures, no guilt.
Sky Dashboard
Live air‑quality for any city on Earth (AQI, six pollutants, pollen levels) powered by Open‑Meteo, completely free and open.
Journal
A chronological record of your environmental footprint, grouped by day, with shareable impact cards.
How I Built It
- Frontend: React 19 with TypeScript, styled using Tailwind CSS v4.
- Backend & Auth: Firebase handles Google authentication and real‑time Firestore persistence. Security rules strictly scope every read/write to the authenticated user. Guest users get full functionality via
localStoragewith seamless cloud sync on sign‑in. - AI Inference: All model calls run through Google Gemini Flash. Each call follows a strict JSON schema (habit analysis, image OCR, chat, air‑quality interpretation) to ensure typed, validated, reliable output—no hallucinated formats.
- Sky Dashboard: Pulls live AQI, pollutant, and pollen data from the Open‑Meteo API (no API key required).
- Mascot: A pure SVG rendered directly in JSX with path morphing and mood animations handled by Framer Motion—no external image files.
- Timeline: Designed, built, and shipped in one day.
Prize Categories
Best Use of Google Gemini – Gemini Flash powers every intelligent layer of Moyacchi: habit analysis with structured JSON schemas, Green‑Sight OCR for real‑time product label scanning, a multi‑turn conversational eco coach, and image‑based habit identification from photos. Gemini is not just a feature; it is the backbone.
Built by Dev Vishwas – @devishwas