A smart farming assistant for Indian farmers with voice interaction, image analysis, and AI-powered agricultural advice.
- 🎤 Voice Interaction: Hindi voice commands and responses
- 📸 Image Analysis: Plant health, pest, and disease detection
- 🌾 Farm Co-Pilot: Personalized farming plans and schedules
- 📊 Market Prices: Real-time crop price information
- 📱 SMS Alerts: Important farming alerts via SMS
- 🌤️ Weather Integration: Location-based weather data
- 📝 Farm Memory: Track farming activities and advice history
- Frontend: React 18, Vite, Tailwind CSS
- Backend: Firebase (Auth, Firestore)
- AI: Google Gemini API for text and voice generation
- APIs: OpenWeatherMap, Fast2SMS
- Icons: Lucide React
git clone <repository-url>
cd kisanvisionnpm installCopy .env.example to .env and fill in your API keys:
cp .env.example .envRequired API keys:
- Firebase configuration
- Google Gemini API key
- OpenWeatherMap API key
- Fast2SMS API key
npm run devnpm run buildkisanvision/
├── src/
│ ├── main.jsx # Main application component
│ └── index.css # Global styles and Tailwind imports
├── public/ # Static assets
├── index.html # HTML template
├── package.json # Dependencies and scripts
├── vite.config.js # Vite configuration
├── tailwind.config.js # Tailwind CSS configuration
└── postcss.config.js # PostCSS configuration
- Hindi speech recognition
- Text-to-speech responses
- Real-time audio visualization
- Plant health assessment
- Pest and disease identification
- Crop condition evaluation
- Personalized farming schedules
- Risk assessment
- Alert system with SMS integration
- Real-time crop prices
- Market trend analysis
- Google Gemini: AI text and voice generation
- Firebase: Authentication and data storage
- OpenWeatherMap: Weather data
- Fast2SMS: SMS notifications
- Chrome 80+
- Firefox 75+
- Safari 13+
- Edge 80+
- Environment variable protection
- Firebase security rules
- Input sanitization
- Error boundary handling
- Fork the repository
- Create a feature branch
- Make your changes
- Run linting:
npm run lint - Submit a pull request
This project is licensed under the MIT License.
For support and questions, please contact the development team.