An open API service indexing awesome lists of open source software.

https://github.com/useraar/smart-fertilizer

AI-powered fertilizer recommendation system for modern agriculture
https://github.com/useraar/smart-fertilizer

Last synced: 11 months ago
JSON representation

AI-powered fertilizer recommendation system for modern agriculture

Awesome Lists containing this project

README

          

# 🌱 Smart Fertilizer - AI-Powered Agriculture Assistant

![Smart Fertilizer Logo](https://img.shields.io/badge/Smart%20Fertilizer-AI%20Agriculture-green?style=for-the-badge&logo=leaf)

**Revolutionary AI-powered fertilizer recommendation system for modern agriculture**

[![GitHub Stars](https://img.shields.io/github/stars/UserAAR/smart-fertilizer?style=social)](https://github.com/UserAAR/smart-fertilizer/stargazers)
[![GitHub Forks](https://img.shields.io/github/forks/UserAAR/smart-fertilizer?style=social)](https://github.com/UserAAR/smart-fertilizer/network/members)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![GitHub Issues](https://img.shields.io/github/issues/UserAAR/smart-fertilizer)](https://github.com/UserAAR/smart-fertilizer/issues)

[Live Demo](https://smart-fertilizer.vercel.app) • [Documentation](https://github.com/UserAAR/smart-fertilizer/wiki) • [Report Bug](https://github.com/UserAAR/smart-fertilizer/issues) • [Request Feature](https://github.com/UserAAR/smart-fertilizer/issues)

---

## 🚀 Overview

Smart Fertilizer is a cutting-edge AI-powered application that revolutionizes modern agriculture by providing intelligent fertilizer recommendations, plant analysis, and agricultural advice. Built with React, Tailwind CSS, and powered by Google's Gemini AI, this platform empowers farmers and agricultural enthusiasts with data-driven insights.

### ✨ Key Features

- 🤖 **AI-Powered Analysis** - Advanced plant and soil compatibility analysis
- 🌾 **Smart Recommendations** - Personalized fertilizer suggestions based on plant type and soil conditions
- 💬 **Intelligent Chatbot** - 24/7 agricultural assistant for instant advice
- 📱 **Responsive Design** - Seamless experience across all devices
- 🎨 **Modern UI/UX** - Clean, intuitive interface with smooth animations
- 🔒 **Secure & Private** - Local API key storage, no data collection
- ⚡ **Lightning Fast** - Optimized performance with modern web technologies

---

## 🛠️ Tech Stack

| Category | Technologies |
|----------|-------------|
| **Frontend** | ![React](https://img.shields.io/badge/React-20232A?style=flat&logo=react&logoColor=61DAFB) ![JavaScript](https://img.shields.io/badge/JavaScript-F7DF1E?style=flat&logo=javascript&logoColor=black) ![HTML5](https://img.shields.io/badge/HTML5-E34F26?style=flat&logo=html5&logoColor=white) |
| **Styling** | ![TailwindCSS](https://img.shields.io/badge/Tailwind_CSS-38B2AC?style=flat&logo=tailwind-css&logoColor=white) ![CSS3](https://img.shields.io/badge/CSS3-1572B6?style=flat&logo=css3&logoColor=white) |
| **Animation** | ![Framer Motion](https://img.shields.io/badge/Framer_Motion-black?style=flat&logo=framer&logoColor=blue) |
| **AI/ML** | ![Google Gemini](https://img.shields.io/badge/Google_Gemini-4285F4?style=flat&logo=google&logoColor=white) |
| **Build Tools** | ![Vite](https://img.shields.io/badge/Vite-646CFF?style=flat&logo=vite&logoColor=white) ![npm](https://img.shields.io/badge/npm-CB3837?style=flat&logo=npm&logoColor=white) |
| **Development** | ![ESLint](https://img.shields.io/badge/ESLint-4B32C3?style=flat&logo=eslint&logoColor=white) ![Git](https://img.shields.io/badge/Git-F05032?style=flat&logo=git&logoColor=white) |

---

## 🚀 Quick Start

### Prerequisites

- Node.js 18+
- npm or yarn
- Google Gemini API Key ([Get yours here](https://aistudio.google.com/app/apikey))

### Installation

1. **Clone the repository**
```bash
git clone https://github.com/UserAAR/smart-fertilizer.git
cd smart-fertilizer
```

2. **Install dependencies**
```bash
npm install
```

3. **Start development server**
```bash
npm run dev
```

4. **Open your browser**
Navigate to `http://localhost:5173`

5. **Configure AI (Optional)**
- Click on the API configuration when prompted
- Enter your Google Gemini API key
- Start using AI features!

---

## 📖 Usage

### Plant Analysis
1. Navigate to **Plant Analysis** page
2. Select your plant type from the dropdown
3. Choose your soil type
4. Click **Analyze** for AI-powered recommendations
5. Get detailed fertilizer suggestions and application schedules

### AI Chatbot
1. Visit the **AI Assistant** page
2. Ask questions about agriculture, fertilizers, or plant care
3. Receive instant expert advice
4. Use quick question suggestions to get started

### Build Commands

```bash
# Build for production
npm run build

# Preview production build
npm run preview

# Run linting
npm run lint
```

---

## 🏗️ Project Structure

```
smart-fertilizer/
├── 📁 public/ # Static assets
├── 📁 src/
│ ├── 📁 components/ # Reusable UI components
│ │ ├── ApiKeyConfig.jsx # API configuration modal
│ │ └── HomePage.jsx # Landing page component
│ ├── 📁 pages/ # Main application pages
│ │ ├── ChatBot.jsx # AI assistant interface
│ │ └── PlantAnalysis.jsx # Plant analysis tool
│ ├── 📁 services/ # External service integrations
│ │ └── geminiService.js # Google Gemini AI service
│ ├── App.jsx # Main app component
│ ├── main.jsx # Application entry point
│ └── index.css # Global styles
├── package.json # Project configuration
├── vite.config.js # Vite configuration
└── README.md # Project documentation
```

---

## 🤝 Contributing

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

### Development Setup

1. Fork the repository
2. Create a feature branch: `git checkout -b feature/amazing-feature`
3. Make your changes
4. Run tests: `npm run lint`
5. Commit changes: `git commit -m "Add amazing feature"`
6. Push to branch: `git push origin feature/amazing-feature`
7. Open a Pull Request

### Contribution Guidelines

- Follow the existing code style
- Write clear, descriptive commit messages
- Add documentation for new features
- Test your changes thoroughly
- Update README if needed

---

## 📜 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

---

## 👨‍💻 Author

**DevAAR**

[![GitHub](https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white)](https://github.com/UserAAR)
[![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/aar-amil)
[![Portfolio](https://img.shields.io/badge/Portfolio-000000?style=for-the-badge&logo=About.me&logoColor=white)](https://amil.rf.gd)
[![Email](https://img.shields.io/badge/Email-D14836?style=for-the-badge&logo=gmail&logoColor=white)](mailto:amil.abdullazada@gmail.com)

*Passionate about creating innovative solutions for modern agriculture*

---

## 🌟 Acknowledgments

- [Google Gemini AI](https://ai.google.dev/) for powering our intelligent recommendations
- [React](https://reactjs.org/) for the amazing frontend framework
- [Tailwind CSS](https://tailwindcss.com/) for beautiful, utility-first styling
- [Framer Motion](https://www.framer.com/motion/) for smooth animations
- [Heroicons](https://heroicons.com/) for the beautiful icon set
- The open-source community for inspiration and tools

---

## 📊 Project Performance

- ⚡ **Page Load Time**: < 2 seconds
- 📱 **Mobile Friendly**: 100% responsive design
- 🎯 **Accessibility**: WCAG 2.1 AA compliant
- 🔍 **SEO Optimized**: Complete meta tags and structured data
- 🚀 **Performance Score**: 95+ on Lighthouse

---

**⭐ Star this repository if you find it helpful!**

**Made with ❤️ by [DevAAR](https://github.com/UserAAR)**