A comprehensive React Native mobile application powered by AI to help users identify plants, detect diseases, and get personalized plant care advice.
- Smart Plant Search: Search through an extensive database of plants
- Visual Plant Cards: Beautiful, detailed plant information cards
- Care Instructions: Comprehensive care guides for each plant
- AI-Powered Analysis: Upload plant photos for disease detection
- Symptom Enhancement: AI-enhanced symptom descriptions
- Treatment Recommendations: Detailed treatment and prevention advice
- Gemini AI Integration: Powered by Google's Gemini AI
- Plant Care Advice: Get instant, personalized plant care tips
- 24/7 Support: Always available to answer your plant questions
- Authentication: Secure user registration and login
- Profile Management: Update personal information and preferences
- Plant Collection: Track your personal plant collection
- Plant Statistics: Track your plant health and care progress
- Category Management: Organize plants by categories
- Wishlist: Save plants you want to add to your collection
- Node.js (v16 or higher)
- npm or yarn
- Expo CLI (install globally)
- Expo Go app on your mobile device
-
Clone the repository
git clone https://github.com/ShravanGupta07/GDG-GreenThumb-AI.git cd GDG-GreenThumb-AI -
Install dependencies
npm install # or yarn install -
Start the development server
npx expo start
-
Run on your device
- Install Expo Go app on your mobile device
- Scan the QR code displayed in the terminal
- The app will load on your device
-
Create environment file
cp .env.example .env
-
Configure your environment variables
SUPABASE_URL=your_supabase_url SUPABASE_ANON_KEY=your_supabase_anon_key
-
Set up Supabase
- Create a new project at supabase.com
- Run the SQL scripts in the
database/folder - Update your environment variables
-
Run database migrations
# Execute the SQL files in your Supabase dashboard # or use the Supabase CLI
GDG-GreenThumb-AI/
βββ app/ # Expo Router app directory
β βββ (tabs)/ # Tab navigation screens
β β βββ index.tsx # Home screen
β β βββ disease.tsx # Disease detection
β β βββ identify.tsx # Plant identification
β β βββ profile/ # Profile management
β βββ auth/ # Authentication screens
β βββ _layout.tsx # Root layout
βββ components/ # Reusable components
β βββ FloatingChatbot.tsx
β βββ PlantCard.tsx
β βββ PlantDetail.tsx
β βββ ...
βββ services/ # API services
β βββ authService.ts
β βββ plantService.ts
β βββ supabase.ts
βββ data/ # Static data
βββ assets/ # Images and icons
βββ database/ # Database schemas
The app uses several external services:
- Supabase: Database and authentication
- Gemini AI: Chatbot functionality
- Plant.id: Disease detection
- Theme: Modify colors in
app.jsonand component styles - Data: Update plant database in
data/plantsData.ts - Features: Add new features in the respective directories
- Welcome interface with search functionality
- Daily plant care tips and advice
- Quick access to all features
- Search and browse plant database
- Detailed plant information cards
- Care instructions and tips
- Photo upload for disease analysis
- AI-powered disease identification
- Treatment recommendations
- Gemini AI-powered plant care assistant
- Real-time responses to plant questions
- Quick reply suggestions
-
Build for production
npx expo build:android npx expo build:ios
-
Submit to app stores
npx expo submit:android npx expo submit:ios
-
Build for web
npx expo export:web
-
Deploy to hosting service
- Vercel, Netlify, or any static hosting
- Fork the repository
- Create a feature branch
git checkout -b feature/amazing-feature
- Commit your changes
git commit -m 'Add some amazing feature' - Push to the branch
git push origin feature/amazing-feature
- Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Expo for the amazing development platform
- Supabase for backend services
- Google Gemini AI for intelligent chatbot
- Plant.id for disease detection API
- React Native community for excellent documentation
- Issues: GitHub Issues
- Email: Shravan3333m@gmail.com
- LinkedIn: Bhavna Solanki
Made with β€οΈ by the GreenThumb AI Team
π± Helping you grow better plants with AI π±