Premium AI-powered plant intelligence platform Diagnose plant diseases, generate care plans, track growth, and manage your botanical ecosystem with a modern, immersive SaaS experience.
E4rth is a full-stack SaaS application designed to bring AI-driven plant care into a clean, production-grade web platform.
It combines:
- 🌱 AI plant diagnosis
- 📊 growth & health analytics
- 🧠 AI chatbot assistant
- 🔔 real-time notifications
- 📈 lifecycle tracking
All wrapped in a premium, nature-inspired UI with scalable architecture.
- Upload plant images for instant analysis
- Detect diseases with confidence scores
- Get severity insights and treatment suggestions
- Maintain scan history
- Add and manage plants
- Categorize with tags (Indoor, Outdoor, etc.)
- Detailed plant profiles with lifecycle tracking
- AI-generated watering, sunlight, and fertilizer schedules
- Dynamic updates based on plant condition
- Track height, leaf count, and health scores
- Visualize trends using interactive charts
- Analyze plant health over time
- Maintain plant logs and progress
- Visual timeline of growth and recovery
- Ask plant-related questions
- Context-aware responses based on your plants
- Markdown-rendered responses with structured answers
- Care reminders
- Disease alerts
- Real-time updates (WebSocket-ready)
- Smooth animations with Framer Motion
- Glassmorphism UI with botanical design
- Responsive and mobile-friendly
- Optimized data fetching via hooks/services
- Next.js (App Router)
- TypeScript
- Tailwind CSS v4
- Motion
- Chart.js
- Next.js Route Handlers
- Drizzle ORM
- PostgreSQL via Neon
- Clerk Authentication
- Cloudinary
- Google Gemini API
- Redis (Upstash)
- WebSockets (Socket.io)
E4rth follows a clean, scalable layered architecture:
Frontend Component
↓
Hook
↓
Frontend Service
↓
API Route
↓
Server Service Layer
↓
Repository Layer
↓
Database- Separation of concerns
- Strong typing across layers
- Reusable services & hooks
- Minimal business logic in UI
- Modular feature-based structure
Create a .env file:
# GEMINI
GEMINI_API_KEY=
# CLERK
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
CLERK_WEBHOOK_SECRET=
# DATABASE
DATABASE_URL=
# WEBSOCKET
WEBSOCKET_PORT=4001
# REDIS
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=
REDIS_URL=
# STRIPE
STRIPE_SECRET_KEY=
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
STRIPE_WEBHOOK_SECRET=
# CLOUDINARY
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=
CLOUDINARY_CLOUD_NAME=
# NEXT APP
NEXT_PUBLIC_APP_URL=
NEXT_PUBLIC_WS_URL=# Install dependencies
npm install
# Run development server
npm run dev
# Run Websocket
npm run websocketRecommended:
- Vercel for Main App
- Render / Railway for WebSocket
E4rth is designed to feel like:
- 🌿 calm & nature-first
- ✨ premium SaaS
- 🧠 intelligent and responsive
- 🎯 highly usable and polished
- Activate Stripe subscription system
- AI response streaming
- Advanced analytics insights
- Mobile app version
- Multi-user plant sharing
MIT License
Built by a full-stack developer focused on:
- modern frontend systems
- scalable architecture
- premium UI/UX
Give it a star ⭐ — it helps a lot!