AgriTech is an innovative web platform designed to empower farmers and agricultural communities with AI-powered tools, real-time insights, and interactive collaboration features.
Crop Recommendation | Disease Detection | Community Chat |
---|---|---|
![]() |
![]() |
![]() |
- Web browser (Chrome, Firefox, Safari, or Edge)
- Local server (for full functionality)
- Clone the repository
git clone https://github.com/omroy07/AgriTech.git cd AgriTech
Run the application
Option A: Simple HTML Preview
# Open index.html in your browser
open index.html
Option B: Local Server (Recommended)
# Using Python
python -m http.server 8000
Then visit http://localhost:8000
# Or install live-server: npm install -g live-server
-
live-server
-
Access the application
-
Open your web browser
Navigate to http://localhost:8000 (or the port shown in terminal)
- Start exploring AgriTech features!
See our Contributing Guide for detailed setup instructions, coding standards, and pull request process.
π Features
-
Crop Recommendation Get suggestions for the best crops to cultivate based on soil and weather conditions.
-
Yield Prediction Predict expected yields using advanced AI models tailored to different crop types.
-
Disease Prediction Early detection of plant diseases along with treatment and preventive measures.
-
Farmer Connection Connect with fellow farmers to share experiences, resources, and advice.
-
Shopkeeper Listings Discover local agricultural product and service providers.
AgriTech/
βββ π docs/ # Documentation files\
β βββ CONTRIBUTING.md
β βββ TROUBLESHOOTING.md
β βββ API_DOCUMENTATION.md
β βββ SETUP_GUIDE.md
β
βββ π images/ # All images and visual assets
β βββ screenshots/
β β βββ dashboard.png
β β βββ crop-recommendation.png
β β βββ disease-detection.png
β β βββ community-chat.png
β β
β βββ gifs/ # Preview GIFs for README
β β βββ crop-recommendation.gif
β β βββ community-chat.gif
β β βββ yield-prediction.gif
β β
β βββ icons/
β β βββ favicon.ico
β β βββ logo.png
β β βββ apple-touch-icon.png
β β
β βββ mockups/
β βββ mobile-view.png
β βββ tablet-view.png
β
βββ π src/ # Main source code
β βββ π frontend/
β β βββ index.html # Main entry point
β β βββ π css/
β β β βββ style.css
β β β βββ components/
β β β β βββ navbar.css
β β β β βββ sidebar.css
β β β β βββ cards.css
β β β β βββ forms.css
β β β βββ pages/
β β β β βββ dashboard.css
β β β β βββ crop-recommendation.css
β β β β βββ disease-detection.css
β β β β βββ community.css
β β β βββ responsive.css
β β β
β β βββ π js/
β β β βββ app.js # Main application logic
β β β βββ π modules/
β β β β βββ auth.js
β β β β βββ utils.js
β β β β βββ animations.js
β β β βββ π features/
β β β β βββ crop-recommendation.js
β β β β βββ yield-prediction.js
β β β β βββ disease-detection.js
β β β β βββ community-chat.js
β β β βββ π components/
β β β βββ navbar.js
β β β βββ modal.js
β β β βββ charts.js
β β β
β β βββ π assets/
β β β βββ π fonts/
β β β βββ π icons/ # SVG icons
β β β βββ π data/ # Sample data for demos
β β β
β β βββ π pages/ # HTML pages for different features
β β βββ dashboard.html
β β βββ crop-recommendation.html
β β βββ yield-prediction.html
β β βββ disease-detection.html
β β βββ community.html
β β βββ shopkeepers.html
β β βββ plantation-guide.html
β β
β βββ π backend/ # Backend server code
β β βββ app.py # Flask main application
β β βββ requirements.txt
β β βββ π routes/
β β β βββ auth_routes.py
β β β βββ crop_routes.py
β β β βββ disease_routes.py
β β β βββ yield_routes.py
β β β βββ community_routes.py
β β βββ π models/
β β β βββ user_model.py
β β β βββ crop_model.py
β β β βββ disease_model.py
β β β βββ database.py
β β βββ π ml_models/ # AI/ML model files
β β β βββ crop_recommendation/
β β β β βββ model.pkl
β β β β βββ train_model.py
β β β β βββ preprocessing.py
β β β βββ yield_prediction/
β β β β βββ model.h5
β β β β βββ train_model.py
β β β β βββ data_processing.py
β β β βββ disease_detection/
β β β βββ model.h5
β β β βββ train_model.py
β β β βββ image_processing.py
β β βββ π utils/
β β β βββ helpers.py
β β β βββ validators.py
β β β βββ constants.py
β β βββ π config/
β β βββ database.py
β β βββ settings.py
β β
β βββ π database/ # Database related files
β βββ schema.sql
β βββ sample_data.sql
β βββ migrations/
β
βββ π tests/ # Test files
β βββ π frontend/
β β βββ unit/
β β βββ integration/
β βββ π backend/
β β βββ unit/
β β βββ integration/
β βββ π ml_models/
β βββ test_crop_model.py
β βββ test_yield_model.py
β βββ test_disease_model.py
β
βββ π scripts/ # Utility scripts
β βββ setup.sh # Quick setup script
β βββ deploy.sh
β βββ backup_database.sh
β βββ generate_gifs.py # Script to create preview GIFs
β
βββ π config/ # Configuration files
β βββ environment.yml
β βββ nginx.conf
β βββ gunicorn.conf.py
β
βββ π .github/ # GitHub workflows and templates
β βββ workflows/
β β βββ ci-cd.yml
β β βββ deploy.yml
β βββ ISSUE_TEMPLATE/
β β βββ bug_report.md
β β βββ feature_request.md
β βββ PULL_REQUEST_TEMPLATE.md
β
βββ π data/ # Datasets and training data
β βββ π crop_data/
β βββ π disease_images/
β βββ π yield_data/
β
βββ π logs/ # Application logs
β βββ app.log
β βββ error.log
β βββ access.log
β
βββ π .env.example # Environment variables template
βββ π .gitignore
βββ π README.md # Main documentation
βββ π package.json # Node.js dependencies (if using Node)
βββ π requirements.txt # Python dependencies
βββ π Dockerfile # Container configuration
βββ π docker-compose.yml # Multi-container setup
βββ π LICENSE # Project license\
Collaborate and discuss challenges, share solutions, and keep up with the latest in agriculture.
Plantation Guidance Access helpful plantation techniques and strategies for better crop growth.
Crop Planning Plan your season with confidence and unlock your farm's true potential for a more profitable and sustainable future.
-
Frontend: HTML, CSS, JavaScript
-
Backend: Flask / Node.js
-
AI/ML Models: For prediction modules (Crop, Yield, Disease)
-
Database: MySQL / MongoDB
-
Hosting: Localhost (127.0.0.1), with option for cloud deployment
-
Om Roy β Project Lead & Web Developer & Machine Learning Engineer
-
Kanisha Ravindra Sharma β Machine Learning Engineer & Backend Developer
-
Shubhangi Roy β Machine Learning Engineer & Backend Developer
We welcome contributions! Please read our Contributing Guide to get started. It includes:
Setting up the development environment
Code style guidelines
How to submit pull requests
Reporting issues
π Future Scope β Cloud deployment (e.g., Vercel, Heroku)
π± Mobile app integration
π¦ Real-time weather API
π€ AI chatbot for agriculture support
π£ Support for regional languages
π Support If you encounter any issues:
Check the Troubleshooting Guide
Search existing Issues
Create a new issue with details about your problem
π License This project is licensed under the MIT License.
text
markdown
Thank you for your interest in contributing to AgriTech! Here's how you can help:
- Fork the repository
- Clone your fork
git clone https://github.com/your-username/AgriTech.git cd AgriTech
Set up development environment
# Install dependencies (if any)
npm install
# or
pip install -r requirements.txt
Start development server
npm run dev
# or
python app.py
Making Changes
Create a new branch:
git checkout -b feature/your-feature-name
Make your changes and test thoroughly
Commit your changes:
git commit -m "Add: description of your changes"
Push to your fork:
git push origin feature/your-feature-name
Create a Pull Request
-
Use meaningful variable names
-
Comment complex logic
-
Follow existing code formatting
-
Test your changes across different browsers
-
Join our discussions in Issues
-
Contact maintainers for guidance
-
text
markdown
- Ensure you're running a local server, not just opening HTML files directly
- Check if port 8000 is available, try a different port if needed
- Check browser console for errors (F12 β Console)
- Ensure all dependencies are installed
- Verify your browser supports ES6+ features
- Check file paths are correct
- Ensure images are in the correct directory
- Verify file permissions
- Check this guide
- Search existing issues
- Create a new issue with:
- Your browser and version
- Error messages from console
- Steps to reproduce the issue For Creating Preview GIFs You can create the suggested GIFs using:
Windows: ScreenToGif, OBS Studio
Mac: QuickTime Player, GIPHY Capture
Linux: Peek, OBS Studio
Recommended workflow:
Record 5-10 second clips of key features
Optimize file size (keep under 5MB)
Show the most valuable interactions
Add to an /images or /gifs folder in your repo