Skip to content

Shahzaibdev355/plant-health-hub

Repository files navigation

🌱 Plant Health Hub

Version License TypeScript React

Intelligent Plant Disease Detection at Your Fingertips

Plant Health Hub is a modern web application that helps gardeners and plant enthusiasts identify and manage plant diseases using artificial intelligence. Upload a photo of your plant, and our AI-powered system instantly analyzes it to detect health issues and provide actionable recommendations.

🌐 Live Demo: https://plant-health-hub.vercel.app


✨ Features

  • πŸ“Έ Smart Image Upload – Easily capture or upload photos of your plants directly through the app
  • πŸ€– AI-Powered Analysis – Advanced machine learning instantly analyzes plant health conditions
  • πŸ“Š Detailed Diagnostics – Get comprehensive reports including disease detection, severity levels, and health metrics
  • πŸ” Secure Two-Factor Authentication – Protect your account with industry-standard 2FA security
  • πŸ“ Organized Plant Profiles – Create and manage separate folders for different plants or garden sections
  • πŸ’Ύ Cloud-Based Storage – Access your plant history and analysis anytime, anywhere
  • πŸ“± Responsive Design – Works seamlessly on desktop, tablet, and mobile devices
  • ⚑ Fast & Reliable – Built for performance with TypeScript and optimized state management

πŸš€ How It Works

Plant Health Hub makes plant care simple in just three steps:

Step 1: Create Your Plant Folder

Start by creating a dedicated folder for your plant or garden section. This keeps your plant profiles organized and allows you to track multiple plants over time. You can name folders by plant type, location, or any system that works for you.

Step 2: Upload a Plant Photo

When you notice something unusual about your plant, simply upload a clear photo of the affected area through the app. The intuitive upload interface lets you either take a new photo or select one from your device.

Step 3: Get AI-Powered Insights

Our advanced AI model analyzes your image instantly and provides:

  • βœ… Plant disease identification
  • βœ… Health status assessment
  • βœ… Severity evaluation
  • βœ… Recommended treatment options
  • βœ… Prevention tips for future care

πŸ”§ Technology Behind the Magic

State Management with Zustand

We use Zustand for lightweight, efficient state management. Think of it as the app's memory – it keeps track of your logged-in status, the plants you've added, and your analysis history without slowing things down. Unlike heavier solutions, Zustand stays out of the way so the app remains fast and responsive.

Secure Authentication & 2FA

Your account security is our priority. Plant Health Hub uses modern authentication protocols with an optional Two-Factor Authentication (2FA) system:

  • How 2FA Works: After entering your password, you'll receive a unique verification code on your phone (via SMS, authenticator app, or email). Enter this code to confirm your login. This extra layer ensures that only you can access your plant data.
  • Your Data is Safe: All communications are encrypted, and your personal information is never shared with third parties.

Image Upload & Processing

The app securely handles your plant photos with:

  • File validation to ensure only images are processed
  • Optimized image compression for fast uploading
  • Secure cloud storage of your photo history
  • HTTPS encryption for all data transfers

AI Analysis Engine

Our AI model processes your images using:

  • Deep learning algorithms trained on thousands of plant disease cases
  • Real-time processing to deliver results within seconds
  • Multi-factor analysis covering leaf patterns, color, texture, and damage indicators
  • Continuous learning to improve accuracy over time

πŸ“Έ Screenshots & Demo

Dashboard

Overview of your plants and recent analyses

Image Upload Interface

image

Simple, intuitive upload experience

AI Analysis Results

image

Detailed disease detection and recommendations

Plant Profile Management

image

Organize and track multiple plants

Two-Factor Authentication Setup

image

Secure your account with 2FA


πŸ› οΈ Built With

  • Frontend Framework: React + TypeScript
  • State Management: Zustand
  • Styling: Tailwind CSS
  • Build Tool: Vite
  • AI/ML: Advanced computer vision algorithms
  • Hosting: Vercel
  • Authentication: Secure token-based with 2FA support

πŸ“– Getting Started

For Users

  1. Visit plant-health-hub.vercel.app
  2. Sign up with your email or existing account
  3. (Optional) Enable Two-Factor Authentication for added security
  4. Create your first plant folder
  5. Upload a plant photo and get instant analysis

For Developers

# Clone the repository
git clone https://github.com/Shahzaibdev355/plant-health-hub.git
cd plant-health-hub

# Install dependencies
npm install
# or
bun install

# Start development server
npm run dev
# or
bun run dev

# Build for production
npm run build
# or
bun run build

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages