AI-powered farming assistant for Tamil Nadu farmers — live weather, mandi prices, crop guide, pest detection, and bilingual (Tamil/English) support, all in a single offline-capable web app.
# 🌾 உழவர் மித்ரா — Uzhavar Mitra
> **Your AI-powered farming companion for Tamil Nadu**
---
## 🔗 Live Demo
> **👉 [Uzhavar-Mitra]**
>
> _e.g. `
uzhavar-mitra.vercel.app` — replace both this line and the_
> _"Live Demo" badge link above once you've deployed on Vercel._
---
## 📖 About
**Uzhavar Mitra (உழவர் மித்ரா)** is a bilingual (Tamil/English) AI-powered agricultural assistant web app built specifically for Tamil Nadu farmers. It provides real-time weather, live government mandi prices, crop guides, pest management, government schemes, and an AI chatbot — all in a single-file web app.
Built as a Mini Project by a Computer Science & Engineering student at **VSB Engineering College, Karur**.
---
## ✨ Features
| Feature | Description |
|---|---|
| 🔐 Sign In with Google | One-tap sign-in alongside email/password (needs your own free Google Client ID) |
| 🤖 AI Chatbot | Claude-powered farming assistant (Tamil & English) |
| 🌦️ Live Weather | GPS-based real-time weather via OpenWeatherMap, key hidden server-side (like the AI key) with an optional "⚙️ API key settings" panel for your own key |
| 📊 Market Prices | Live mandi prices from **data.gov.in AGMARKNET**, proxied through a Vercel serverless function for reliability, with an optional personal key via "⚙️ API key settings" (Official Govt) |
| 🌱 Crop Guide | 40+ Tamil Nadu crops with care tips & schedules |
| 🐛 Pest Guide | Common pests, symptoms & treatment for TN crops |
| 📅 Farm Diary | Personal farm activity tracker |
| 🧪 Soil Calculator | Fertilizer & soil health calculator |
| 📜 Govt Schemes | PM-KISAN, TNAU schemes & how to apply |
| 🌐 Bilingual | Full Tamil + English language toggle |
| 🗓️ Harvest Calendar | Season-wise crop planning for Tamil Nadu |
---
## 🛠️ Tech Stack
- **Frontend** — Pure HTML, CSS, JavaScript (single file)
- **Auth** — Email/password (stored in `localStorage`, demo-grade only) + optional Google Sign-In via Google Identity Services
- **AI** — Anthropic Claude API …