Theme

Cropia is an intelligent agricultural platform designed to bridge the gap between farmers and administrative bodies. It empowers farmers with real-time, offline-first disease detection and decision support, while providing government officials and NGOs with a "God View" of regional crop health to prevent outbreaks. Built as a high-performance monorepo using Turborepo, Bun, and Hono, it leverages Google's Gemini 2.5 Flash Lite for speed and accuracy in low-resource environments.

React (Vite)AstroHonoMongoDBPrismaGemini AITailwindCSSTypeScriptTurborepo
  • AI Crop Scanner using Google Gemini 2.5 Flash Lite for real-time, offline-first disease detection with confidence scores and severity ratings.
  • Decision Support Dashboard with Smart Spray Planner, Root Health X-Ray, and Water Balance Calculator for farmers.
  • God View (Live Map) for government officials — interactive geospatial map visualizing every crop scan with color-coded health markers.
  • Regional Analysis Agent that aggregates thousands of scans to generate actionable natural language insights and outbreak alerts.
  • Cropia Assistant — a conversational AI chatbot for weather forecasts, scan results, and agronomy advice.
  • Astro-powered landing page achieving a perfect 100/100 PageSpeed score with zero JS runtime overhead.

Architecture

├── apps
│   ├── farmer        # Farmer PWA (Vite + React)
│   ├── admin         # Government Dashboard (Vite + React)
│   ├── landing-page  # Marketing Website (Astro)
│   └── api           # Hono Backend (AI Agents)
├── packages
│   ├── db            # Prisma Schema & MongoDB Client
│   ├── ui            # Shared Shadcn UI Components
│   └── config        # Shared Configs
└── turbo.json