AgriMind is an AI-powered, multilingual farming assistant built to help Indian farmers with smart plant disease detection, fertilizer recommendations, voice support, and a community space — all accessible from a simple web interface.
🌐 Live Demo: AgriMind (Demo)
📁 Status: Prototype / MVP
🧪 AI: Teachable Machine + TensorFlow.js
- ✅ Plant Disease Detection: Upload leaf images and get disease predictions using a custom-trained AI model (Teachable Machine + TensorFlow.js).
- ✅ Fertilizer Suggestion: Smart recommendations based on crop and soil type.
- ✅ Voice Help: Text-to-speech guidance available in multiple languages.
- ✅ Multilingual Support: Hindi, Punjabi, Tamil, and English.
- ✅ Community Forum: Post questions and reply to other farmers using Firebase Firestore.
- ✅ Responsive Design: Works on mobile and desktop.
- ✅ Offline Friendly UI: Static-first approach with lightweight JS.
| Page | File | Description |
|---|---|---|
| Home | index.html |
Project overview and language selector |
| Disease Detector | disease.html |
Upload and analyze leaf images with AI |
| Fertilizer Suggestion | fertilizer.html |
Select crop & soil type to get recommendations |
| Community Forum | community.html |
Post and reply to discussions via Firebase |
| Login Page | login.html |
Placeholder login for future auth system |
- HTML5, CSS3, JavaScript (Vanilla)
- TensorFlow.js (for AI inference)
- Teachable Machine (Model hosting)
- Google Fonts & Font Awesome
- Firebase Firestore (for storing community posts and replies)
- Text-to-Speech (Web Speech API)
- Multilingual support via in-page dictionary
This project is frontend-only except for Firebase backend. You can clone and run it as a static project.
git clone https://github.com/yourusername/agrimind.git
cd agrimind
open index.html # or double-click itagrimind/
├── index.html
├── disease.html
├── fertilizer.html
├── community.html
├── login.html
├── assets/ # (Optional) images and icons
└── README.md
| Language | Status | Pages Supported |
|---|---|---|
| English | ✅ Default | |
| Hindi 🇮🇳 | ✅ Disease, Home | |
| Punjabi 🇮🇳 | ✅ Disease, Home | |
| Tamil 🇮🇳 | ✅ Home only (in progress) |
To enable the Community feature:
- Create a Firebase project.
- Enable Firestore in test mode.
- Replace the Firebase config inside
community.htmlwith your own credentials.
const firebaseConfig = {
apiKey: "...",
authDomain: "...",
projectId: "...",
...
};- 🌧 Weather prediction integration (currently under development)
- 📩 Contact form with mailer backend (e.g., using Node/Nodemailer)
- 🔒 Secure login & registration (Firebase Auth)
- 📱 Convert to full PWA with offline detection
- 🧑🌾 Dashboard for farmers
Pull requests are welcome! Please open an issue first to discuss major changes.
This project is licensed under the MIT License.