How atharva-029/kisan-mitra works
Kisan Mitra is a farmer-facing agricultural information dashboard. Farmers select a region and explore weather, market prices, crop guidance, schemes, soil, and irrigation information; an optional chatbot can answer queries. The sampled application logic is concentrated in one large controller, so its documented capabilities are represented as distinct responsibilities sharing that source path. The location dataset and 3D weather renderer are separate modules. Their wiring to the controller is not visible in the excerpts, so those links are marked unverified; the Gemini request is visible in app.js.
Main entry points: app.js Dashboard Controller · indian_locations.js Location Dataset · weather3d.js 3D Weather View
Components 12
Dashboard
- Dashboard Controller
public/app.js - Regional Weather
public/app.js - Location Dataset
public/indian_locations.js - 3D Weather View
public/weather3d.js
Farm Guidance
- Crop Guidance
public/app.js - Government Schemes
public/app.js - Soil Information
public/app.js - Irrigation Guidance
public/app.js
Market Support
- Mandi Prices
public/app.js
Assistant
- Farming Chatbot
public/app.js
Other components
- Farmer
- Gemini API
Connections 11
- Farmer → Dashboard Controller: uses
README.md - Dashboard Controller → Regional Weather: presents
README.md - Dashboard Controller → Mandi Prices: presents
README.md - Dashboard Controller → Crop Guidance: presents
README.md - Dashboard Controller → Government Schemes: presents
README.md - Dashboard Controller → Soil Information: presents
README.md - Dashboard Controller → Irrigation Guidance: presents
README.md - Dashboard Controller → Farming Chatbot: provides
public/app.js - Farming Chatbot → Gemini API: requests content
public/app.js - Dashboard Controller → Location Dataset: uses locations
- Dashboard Controller → 3D Weather View: drives visualization