| Feature | Description | Impact |
|---|---|---|
| 🌊 Gradient Drift | Mesmerizing color transitions | Creates depth & calmness |
| 📜 Reveal-on-Scroll | Elements gracefully appear | Premium feel & engagement |
| 🎯 Micro-interactions | Responsive hover effects | Professional polish |
| 🌓 Theme Transitions | Smooth light/dark switching | Seamless UX |
| ♿ Accessibility-First | Respects motion preferences | Inclusive design |
/* Example: Signature Gradient Animation */
@keyframes gradientDrift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.hero-gradient {
background: linear-gradient(-45deg, #5965e0, #0f766e, #f59e0b, #ef4444);
background-size: 400% 400%;
animation: gradientDrift 15s ease infinite;
}📦 Installation & Setup
# 🔥 Clone the repository
git clone https://github.com/OrbitWork/MindEase-AI-Companion.git
cd MindEase-AI-Companion
# 📚 Install dependencies
npm install
# 🔧 Environment setup
cp .env.example .env
# ✏️ Configure your API keys
# - OpenAI API Key (for AI conversations)
# - YouTube Data API Key (for wellness content)
# - Firebase Config (for user data & authentication)
# 🚀 Launch development server
npm run dev
# 🌐 Open http://localhost:3000
|
|
|
|
Backend: Node.js • Express.js • RESTful APIs
Frontend: Vanilla JS • CSS3 • HTML5 • ES6 Modules
Database: Firebase Firestore • Real-time sync
Authentication: Firebase Auth • Secure & scalable
AI Integration: OpenAI GPT • Natural conversations
Content: YouTube Data API v3 • Rich media
ML Features: face-api.js • Optional mood detection
| Security Feature | Implementation | Benefit |
|---|---|---|
| 🔒 User Data Control | Personal Firebase accounts | Complete ownership |
| 🎯 Scoped Access | User-specific Firestore rules | Data isolation |
| 🚫 Zero Tracking | No third-party analytics | True privacy |
| ✋ Explicit Consent | Permission-based features | User choice |
| 🔐 API Protection | Server-side key management | Secure integration |
⚠️ Medical Disclaimer: MindEase is a wellness companion, not medical software. Always consult healthcare professionals for serious mental health concerns.
🏗️ Detailed File Structure
MindEase-AI-Companion/
├── 📁 node_modules/ # Dependencies
├── 📁 public/ # Static assets
│ ├── 📁 assets/ # Images & media
│ │ ├── 🖼️ logo.png
│ │ ├── 📱 favicons/
│ │ ├── 🧠 models/ # Face detection models
│ │ ├── 🎵 sounds/ # Ambient audio
│ │ └── 📚 stories/ # Sleep stories
│ ├── 📁 css/ # Stylesheets
│ │ ├── 🏠 home.css
│ │ ├── 💬 chat.css
│ │ ├── 📊 dashboard.css
│ │ └── 📚 resource.css
│ ├── 📁 js/ # Client-side logic
│ │ ├── 🔥 firebase-config.js
│ │ ├── 🏠 home.js
│ │ ├── 💬 chat.js
│ │ ├── 📊 dashboard.js
│ │ └── 📚 resource.js
│ └── 📄 *.html # Pages
├── ⚙️ server.js # Express server
├── 📦 package.json # Dependencies
├── 🔐 .env # Environment variables
└── 📖 README.md # This file
Node.js 18+ • Git • Firebase Account • OpenAI API Key
OPENAI_API_KEY=your_openai_key_here
YOUTUBE_API_KEY=your_youtube_key_here
# Firebase config in firebase-config.jsnpm run dev # Start development server
npm run build # Build for production
npm run test # Run test suite
npm run deploy # Deploy to hosting📋 Contribution Guidelines
- Fork the repository
- Create feature branch:
git checkout -b feature/amazing-feature - Commit changes:
git commit -m 'Add amazing feature' - Push to branch:
git push origin feature/amazing-feature - Open Pull Request
- 🎨 UI/UX improvements
- 🤖 AI conversation enhancements
- 📱 Mobile responsiveness
- ♿ Accessibility features
- 🔧 Performance optimizations
- 📖 Documentation updates
- ESLint configuration
- Prettier formatting
- Semantic commit messages
- Comprehensive testing
- Documentation updates
MIT License - see LICENSE file for details
This project is open-source and available under the MIT License.
|
Report bugs and request features |
Community support and ideas |
Project lead and maintainer |
Made with ❤️ by @OrbitWork



