How ragul-gunasekaran/agriarivuruthal works
This is a browser-based crop advisory application for small and marginal farmers. Farmers enter growing conditions and receive crop suggestions, with additional fertilizer, pest-and-disease, weather, chat, and crop-calendar capabilities. The main application is a large JavaScript module; IndexedDB persists chat, field profiles, and crop schedules, while a service worker caches the app shell for offline use. The README documents product features, but sampled application excerpts are partial, so several feature-to-feature interactions are not represented.
Main entry points: app.js Application · db.js IndexedDB · service-worker.js Offline Cache
Components 14
Farm Advisory
- Application
app.js - Crop Recommendations
app.js - Fertilizer Guide
app.js - Pest & Disease Guide
app.js - Weather Data
app.js - AI Chat
app.js
Farm Planning
- Crop Calendar
app.js - Field Profiles
app.js
Browser Platform
- IndexedDB
db.js - Offline Cache
service-worker.js
Presentation
- SVG Icons
icons.js
Other components
- Farmer
- Open-Meteo
- Gemini API
Connections 14
- Farmer → Application: uses
README.md - Application → Crop Recommendations: presents
README.md - Application → Fertilizer Guide: presents
README.md - Application → Pest & Disease Guide: presents
app.js - Application → Weather Data: fetches
app.js - Weather Data → Open-Meteo: requests forecast
app.js - Application → AI Chat: supports
app.js - AI Chat → Gemini API: sends requests
app.js - Application → IndexedDB: initializes
app.js - Application → Crop Calendar: loads schedules
app.js - Crop Calendar → IndexedDB: reads cycles and tasks
app.js - Application → Field Profiles: loads profiles
app.js - Application → IndexedDB: loads chat logs
app.js - Offline Cache → Application: caches shell
service-worker.js