Skip to content

shriom17/KisanMitra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

181 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AgriGuru Logo

🌾 AgriGuru

AI-Powered Smart Farming Platform for Indian Agriculture

Made with ❀️ for Farmers Live Demo License Contributors


πŸ“– About AgriGuru

AgriGuru is a comprehensive AI-powered farming platform designed specifically for Indian farmers, agricultural officers, and rural tech users. Our mission is to bridge the gap between traditional farming and modern technology, providing instant access to agricultural expertise, real-time data, and smart farming solutions.

"Empowering farmers with AI-driven insights for better crops, better yields, and better lives."


✨ Key Features

🌀️ Real-time Weather Forecasts
Hyperlocal weather data with farming-specific alerts
🌱 Soil Health Analysis
Comprehensive soil testing and crop recommendations
πŸ” AI Crop Disease Detection
Computer vision-powered disease identification and treatment
πŸ§ͺ Organic Fertilizer Guidance
Eco-friendly fertilizer recommendations and schedules
πŸ’° Live Market Prices
Real-time commodity prices and trend analysis
πŸ›οΈ Government Schemes
Easy access to agricultural subsidies and programs
πŸ€– AI Agricultural Expert
24/7 farming guidance in multiple Indian languages
πŸ“± WhatsApp Disaster Alerts
Emergency notifications for weather and crop threats
πŸ“° Live Agricultural News
Latest farming news and policy updates

πŸš€ Live Demo

πŸ”— Experience AgriGuru Live

Try our platform with sample data or create a free account to explore all features.


πŸ“± Screenshots

Dashboard
🏠 Smart Dashboard
Soil Analysis
🌱 Soil Health Analysis
AI Chat
πŸ€– AI Agricultural Expert
Disease Detection
πŸ” Crop Disease Detection

πŸ› οΈ Tech Stack

Frontend

React JavaScript HTML5 CSS3

Backend & APIs

Python Flask Firebase

Cloud & Services

Vercel Google Cloud

APIs & Integrations

  • 🌀️ OpenWeatherMap API - Weather data
  • 🌱 Custom Soil API - Soil analysis
  • πŸ€– Groq AI - Agricultural AI assistance
  • πŸ’° Agmarknet API - Market prices
  • πŸ“± Twilio/Gupshup - WhatsApp integration
  • πŸ“° News API - Agricultural news

⚑ Quick Start

Prerequisites

  • Node.js (v14 or higher)
  • Python (v3.8 or higher)
  • Git

πŸ”§ Installation

  1. Clone the repository

    git clone https://github.com/shriom17/AgriGuru.git
    cd AgriGuru
  2. Frontend Setup

    cd frontend
    npm install
    npm start

    Open http://localhost:3000 in your browser.

  3. Backend Setup

    cd backend
    pip install -r requirements.txt
    python farming_expert_app_ai.py

    Backend runs on http://localhost:5000

πŸ”‘ Environment Variables

Create .env files in both frontend and backend directories:

Frontend .env

REACT_APP_WEATHER_API_KEY=your_openweather_api_key
REACT_APP_FIREBASE_API_KEY=your_firebase_api_key
REACT_APP_NEWS_API_KEY=your_news_api_key

Backend .env

GROQ_API_KEY=your_groq_api_key
WEATHER_API_KEY=your_weather_api_key
TWILIO_API_KEY=your_twilio_api_key

Note: Contact the maintainers for API key access or refer to individual service documentation.


πŸ—οΈ Project Structure

AgriGuru/
β”œβ”€β”€ πŸ“ frontend/                 # React frontend application
β”‚   β”œβ”€β”€ πŸ“ public/              # Static assets
β”‚   β”œβ”€β”€ πŸ“ src/
β”‚   β”‚   β”œβ”€β”€ πŸ“ components/      # Reusable UI components
β”‚   β”‚   β”œβ”€β”€ πŸ“ pages/           # Page components
β”‚   β”‚   β”œβ”€β”€ πŸ“ services/        # API service layers
β”‚   β”‚   └── πŸ“ i18n/            # Internationalization
β”‚   └── πŸ“„ package.json
β”œβ”€β”€ πŸ“ backend/                  # Flask backend API
β”‚   β”œβ”€β”€ πŸ“„ farming_expert_app_ai.py
β”‚   β”œβ”€β”€ πŸ“„ requirements.txt
β”‚   └── πŸ“„ .env
β”œβ”€β”€ πŸ“„ README.md
└── πŸ“„ vercel.json              # Deployment configuration

🌟 Core Modules

Module Description Status
🏠 Dashboard Main farming analytics dashboard βœ… Complete
πŸ€– AI Chat Multilingual agricultural expert βœ… Complete
🌱 Soil Analysis Comprehensive soil health monitoring βœ… Complete
πŸ” Disease Detection AI-powered crop disease identification βœ… Complete
πŸ’° Market Prices Real-time commodity price tracking βœ… Complete
🌀️ Weather Widget Hyperlocal weather forecasts βœ… Complete
πŸ›οΈ Government Schemes Agricultural subsidy information βœ… Complete
πŸ“± WhatsApp Alerts Emergency disaster notifications 🚧 In Progress
πŸ“° News Feed Live agricultural news updates βœ… Complete

πŸ“Š API Documentation

Core Endpoints

Endpoint Method Description
/api/expert-advice POST Get AI farming recommendations
/api/crop-analysis POST Analyze crop disease from image
/api/weather GET Get weather forecast data
/api/soil-analysis GET Retrieve soil health metrics
/api/market-prices GET Fetch live commodity prices
/api/news GET Get latest agricultural news

🀝 Contributing

We welcome contributions from the community! Here's how you can help:

πŸ”„ How to Contribute

  1. Fork the repository
  2. Create a feature branch
    git checkout -b feature/amazing-feature
  3. Make your changes
  4. Commit with clear messages
    git commit -m "Add: amazing new feature for farmers"
  5. Push to your branch
    git push origin feature/amazing-feature
  6. Open a Pull Request

πŸ“‹ Contribution Guidelines

  • Follow existing code style and conventions
  • Write clear commit messages
  • Add documentation for new features
  • Test your changes thoroughly
  • Focus on farmer-centric improvements

πŸ‘₯ Contributors

πŸ™ Special Thanks

  • Indian Farmers - Our inspiration and primary users
  • Agricultural Universities - Domain expertise and validation
  • Open Source Community - Tools and frameworks that make this possible

πŸ“ž Contact & Support

πŸ“§ Get in Touch

Platform Contact
πŸ“§ Email support@agriguru.com
πŸ’¬ Discord Join our Community
🐦 Twitter @AgriGuruApp
πŸ“± WhatsApp +91-XXXX-XXXX-XX
🌐 Website www.agriguru.com

πŸ› Bug Reports & Feature Requests


πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

MIT License - Feel free to use, modify, and distribute
Built with ❀️ for the farming community

⭐ Show Your Support

If AgriGuru helps you or someone you know, please consider:

  • ⭐ Star this repository
  • πŸ› Report bugs to help us improve
  • πŸ’‘ Suggest features that farmers need
  • 🀝 Contribute code to make farming smarter
  • πŸ“’ Share with farmers who could benefit

🌾 Together, let's revolutionize agriculture with technology! 🚜

Star History Chart


Made with 🧑 for Indian Farmers | © 2025 AgriGuru Team

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors