Skip to content

Ahsaniss/delight-your-mind

Repository files navigation

Delight Your Mind 🧠✨

AI-powered therapeutic companions for emotional wellness and mental health support

Live Demo License: MIT Made with React Powered by Gemini AI

A collection of AI-powered therapeutic agents designed to help you navigate different emotional states and mental challenges. Each companion offers a unique approach to emotional wellness, combining modern AI technology with therapeutic principles.

🌟 Meet Your AI Companions

Agent Specialty Best For
πŸŒͺ️ Overthinking Buddy Anxiety & Thought Management Taming thought spirals, managing worry
🎨 Vibesmith Mood Enhancement Creative mood transformation, positivity
🌌 Void Whisperer Deep Emotional Work Exploring darkness, finding wisdom
🐸 MoodFrog Playful Support Light-hearted encouragement, joy

πŸš€ Quick Start

Prerequisites

Installation

# Clone the repository
git clone https://github.com/YOUR_USERNAME/delight-your-mind.git

# Navigate to project directory
cd delight-your-mind

# Install dependencies
npm install

# Set up environment variables
cp .env.example .env.local
# Add your Gemini API key to .env.local

# Start development server
npm run dev

πŸŽ‰ That's it! Visit http://localhost:5173 to see your app running.

πŸ› οΈ Technology Stack

Frontend

  • βš›οΈ React 18 - Modern UI library
  • πŸ“˜ TypeScript - Type-safe development
  • ⚑ Vite - Lightning-fast build tool
  • 🎨 Tailwind CSS - Utility-first styling
  • 🧩 shadcn/ui - Beautiful component library

AI & Backend

  • πŸ€– Google Gemini AI - Advanced language model
  • πŸ”„ TanStack Query - Data fetching & caching
  • 🌐 Web3Forms - Contact form handling

Deployment

  • β–² Vercel - Seamless deployment platform

πŸ“ Project Structure

delight-your-mind/
β”œβ”€β”€ πŸ“„ index.html                 # Main HTML template
β”œβ”€β”€ πŸ“ public/                    # Static assets
β”‚   β”œβ”€β”€ πŸ–ΌοΈ favicon.svg           # Custom favicon
β”‚   └── πŸ“„ site.webmanifest      # PWA manifest
β”œβ”€β”€ πŸ“ src/
β”‚   β”œβ”€β”€ πŸ“ components/            # Reusable UI components
β”‚   β”‚   β”œβ”€β”€ Navigation.tsx        # Main navigation
β”‚   β”‚   └── Footer.tsx           # Site footer
β”‚   β”œβ”€β”€ πŸ“ pages/                # Route components
β”‚   β”‚   β”œβ”€β”€ Index.tsx            # Homepage
β”‚   β”‚   β”œβ”€β”€ About.tsx            # About page
β”‚   β”‚   β”œβ”€β”€ Contact.tsx          # Contact form
β”‚   β”‚   └── πŸ“ agents/           # AI agent pages
β”‚   β”‚       β”œβ”€β”€ OverthinkingBuddy.tsx
β”‚   β”‚       β”œβ”€β”€ Vibesmith.tsx
β”‚   β”‚       β”œβ”€β”€ VoidWhisperer.tsx
β”‚   β”‚       └── MoodFrog.tsx
β”‚   β”œβ”€β”€ πŸ“ services/             # API integrations
β”‚   β”‚   └── geminiService.ts     # Gemini AI service
β”‚   β”œβ”€β”€ πŸ“ config/               # Configuration files
β”‚   β”‚   └── agentPersonalities.ts # AI agent prompts
β”‚   β”œβ”€β”€ πŸ“ hooks/                # Custom React hooks
β”‚   β”œβ”€β”€ πŸ“ lib/                  # Utility functions
β”‚   └── App.tsx                  # Root component
└── πŸ“„ package.json              # Dependencies

βš™οΈ Configuration

Environment Variables

Create a .env.local file in your project root:

# Google Gemini AI
VITE_GEMINI_API_KEY=your_gemini_api_key_here

# Optional: Analytics
VITE_GA_TRACKING_ID=your_google_analytics_id

API Setup

  1. Get Gemini API Key:

  2. Update Service Configuration:

    // src/services/geminiService.ts
    const apiKey = import.meta.env.VITE_GEMINI_API_KEY;

🎯 Features

✨ Core Features

  • πŸ—£οΈ Real-time AI Conversations - Instant responses from specialized agents
  • πŸ“± Fully Responsive - Works seamlessly on all devices
  • 🎨 Modern UI/UX - Beautiful animations and professional design
  • πŸ”’ Privacy-Focused - No permanent conversation storage
  • β™Ώ Accessible - Following WCAG guidelines

πŸ€– AI Capabilities

  • Personalized Responses - Each agent has unique personality traits
  • Context Awareness - Maintains conversation flow and emotional context
  • Therapeutic Approach - Based on proven mental health principles
  • Fallback Responses - Offline-ready with curated backup responses

πŸ“± Technical Features

  • Progressive Web App (PWA) support
  • Offline Functionality with service workers
  • SEO Optimized with proper meta tags
  • Performance Optimized with code splitting and lazy loading

πŸš€ Deployment

Vercel (Recommended)

  1. Connect to GitHub:

    git add .
    git commit -m "Initial commit"
    git push origin main
  2. Deploy to Vercel:

    • Visit vercel.com
    • Import your GitHub repository
    • Add environment variables in dashboard
    • Deploy automatically! πŸŽ‰

Alternative Deployments

Netlify Deployment
# Build the project
npm run build

# Deploy to Netlify
npx netlify-cli deploy --prod --dir=dist
Manual Deployment
# Create production build
npm run build

# Upload dist/ folder to your hosting provider
# Make sure to configure your server for SPA routing

🀝 Contributing

We welcome contributions! Here's how to get started:

Development Workflow

  1. Fork & Clone:

    git clone https://github.com/YOUR_USERNAME/delight-your-mind.git
    cd delight-your-mind
  2. Create Feature Branch:

    git checkout -b feature/amazing-new-feature
  3. Make Changes & Test:

    npm run dev    # Development server
    npm run build  # Test production build
    npm run lint   # Check code quality
  4. Submit Pull Request:

    git add .
    git commit -m "Add amazing new feature"
    git push origin feature/amazing-new-feature

πŸ› Found a Bug?

  1. Check existing issues
  2. Create a new issue with:
    • Clear description
    • Steps to reproduce
    • Expected vs actual behavior
    • Screenshots if applicable

πŸ“Š Performance & Analytics

Lighthouse Scores

  • Performance: 95+ πŸš€
  • Accessibility: 100 β™Ώ
  • Best Practices: 100 βœ…
  • SEO: 100 πŸ”

Bundle Size

  • Initial Load: ~150KB gzipped
  • Code Splitting: Dynamic imports for agent pages
  • Tree Shaking: Unused code automatically removed

πŸ”’ Privacy & Security

  • πŸ” No Data Storage: Conversations aren't permanently stored
  • πŸ›‘οΈ Secure API: All AI requests use encrypted HTTPS
  • πŸͺ Minimal Cookies: Only essential functionality
  • πŸ“ Transparent: Open source code for full transparency

πŸ“š Documentation

πŸ†˜ Support & Community

Get Help

Community

  • ⭐ Star this repo if you find it helpful
  • 🍴 Fork to create your own version
  • 🐦 Share on social media to help others

πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

What this means:

  • βœ… Use commercially and personally
  • βœ… Modify and distribute
  • βœ… Private use allowed
  • ❗ Must include copyright notice

πŸ™ Acknowledgments

  • Google Gemini Team - For the amazing AI capabilities
  • Vercel - For seamless deployment platform
  • shadcn - For the beautiful UI component library
  • Mental Health Community - For inspiration and guidance

πŸ“ˆ Roadmap

πŸ”„ Current Version (v1.0)

  • βœ… Four specialized AI agents
  • βœ… Responsive web design
  • βœ… Real-time conversations

πŸš€ Coming Soon (v1.1)

  • πŸ”„ Conversation Memory - Remember past interactions
  • πŸ“Š Mood Tracking - Visual mood analytics
  • 🎡 Audio Support - Voice interactions
  • 🌍 Multi-language - Support for multiple languages

🌟 Future Ideas (v2.0)

  • πŸ“± Mobile App - Native iOS/Android versions
  • 🀝 Group Sessions - Multiple agents in one conversation
  • 🧠 Advanced AI - Custom trained therapeutic models
  • πŸ“š Resource Library - Curated mental health resources

Built with ❀️ for mental wellness and emotional support

GitHub stars GitHub forks

🌐 Live Demo β€’ πŸ“ Documentation β€’ πŸ› Report Bug β€’ πŸ’‘ Request Feature

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages