Skip to content

Nitya-003/InnerHue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

277 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

๐ŸŒˆ InnerHue - Emotional Reflection Web App

A beautifully animated emotional wellness platform that helps users explore, visualize, and understand their feelings through interactive mood tracking, 3D visualizations, and personalized insights.

Apertre 3.0 Open Source Love


โœจ Features

๐ŸŽจ Mood Selection

  • 20+ Emotional States: From happiness to melancholy, each with unique colors and personalities
  • Floating Card Interface: Disney-inspired 3D animations with shimmer and hover effects
  • Intuitive Design: Beautiful gradient backgrounds and smooth transitions

๐Ÿ”ฎ 3D Orb Visualizer

  • Dynamic Visualization: Interactive orbs that change color, glow, and animation based on selected mood
  • Particle Effects: Floating particles and ripple rings for immersive experience
  • Responsive Animations: Smooth Framer Motion animations with customizable states

๐Ÿ’ฌ AI-Powered Suggestions

  • Journal Prompts: Thoughtful questions tailored to your emotional state
  • Inspirational Quotes: Curated quotes from renowned authors and thinkers
  • Keyword Clouds: Emotion-related words to expand emotional vocabulary
  • Music Recommendations: Spotify-style playlists matching your mood

๐Ÿ“Š Analytics Dashboard

  • Mood Tracking: Visual charts showing emotional patterns over time
  • Statistics: Daily, weekly, and overall mood insights
  • Recent Activity: Timeline of your emotional journey
  • Progress Visualization: Beautiful bar and pie charts

๐ŸŽต Music Integration

  • Curated Playlists: Genre-specific music recommendations for each mood
  • Interactive Player: Play/pause functionality with beautiful UI
  • Mood-Based Organization: Easy switching between emotional soundscapes

๐Ÿ› ๏ธ Tech Stack

  • Frontend: Next.js 13 with App Router
  • Styling: TailwindCSS with custom design system
  • Animations: Framer Motion for smooth, professional animations
  • Icons: Lucide React for consistent iconography
  • Data Storage: Local Storage for client-side persistence
  • TypeScript: Full type safety throughout the application

๐Ÿ—บ๏ธ System Architecture

To understand how InnerHue processes your emotional data, here is the high-level logic flow:

graph TD
    A[User Selection] -->|Select Mood| B(Mood Engine)
    B --> C{Dynamic Mapping}
    C -->|Update| D[3D Orb Visualizer]
    C -->|Fetch| E[AI Suggestions & Quotes]
    C -->|Filter| F[Curated Music Playlists]
    D --> G[Local Storage Persistence]
    E --> G
    F --> G
    G --> H[Analytics Dashboard]
    
    style A fill:#f9f,stroke:#333,stroke-width:2px
    style D fill:#6272a4,stroke:#333,stroke-width:2px,color:#fff
    style H fill:#50fa7b,stroke:#333,stroke-width:2px
Loading

๐ŸŽฏ Design Philosophy

InnerHue follows Apple-level design aesthetics with:

  • Glassmorphism: Backdrop blur effects and translucent cards
  • Micro-interactions: Subtle hover states and tap feedback
  • Color Psychology: Carefully chosen colors that match emotional states
  • Responsive Design: Mobile-first approach with perfect cross-device experience
  • Accessibility: High contrast ratios and intuitive navigation

๐Ÿš€ Getting Started

  1. Clone the repository
git clone https://github.com/Nitya-003/innerhue.git
cd innerhue
  1. Install dependencies
npm install
  1. Run the development server
npm run dev

๐Ÿณ Docker Deployment

InnerHue is fully containerized for consistent deployment across environments.

Prerequisites

  • Docker Engine 20.10+
  • Docker Compose 2.0+ (optional but recommended)

Quick Start with Docker Compose

  1. Production deployment (recommended)
docker-compose up innerhue
  1. Development with hot reload
docker-compose --profile dev up innerhue-dev

Manual Docker Commands

  1. Build the Docker image
docker build -t innerhue .
  1. Run the container
docker run -p 3000:3000 innerhue
  1. Access the application Open http://localhost:3000 in your browser

Docker Image Details

  • Base Image: node:18-alpine for optimal size and security
  • Multi-stage Build: Separate stages for dependencies, building, and runtime
  • Image Size: < 300MB (optimized for production)
  • Architecture: Supports both AMD64 and ARM64 (Apple Silicon)

Environment Variables

NODE_ENV=production          # Set environment mode
NEXT_TELEMETRY_DISABLED=1   # Disable Next.js telemetry
PORT=3000                   # Application port (default: 3000)
HOSTNAME=0.0.0.0           # Bind to all network interfaces

Docker Development Workflow

# Pull the latest image from GitHub Container Registry
docker pull ghcr.io/nitya-003/innerhue:latest

# Or build locally with caching
docker build --target runner -t innerhue:local .

# Run with custom environment
docker run -d \
  --name innerhue-prod \
  --restart unless-stopped \
  -p 3000:3000 \
  -e NODE_ENV=production \
  innerhue:local

Health Checks

The Docker container includes health checks to ensure reliability:

# Check container health
docker inspect innerhue-app --format='{{.State.Health.Status}}'

# View health check logs
docker inspect innerhue-app --format='{{range .State.Health.Log}}{{.Output}}{{end}}'

CI/CD Integration

Every push and PR automatically:

  • โœ… Runs linting and security audits
  • โœ… Builds and tests Docker images
  • โœ… Validates image size (< 300MB)
  • โœ… Performs security vulnerability scanning
  • โœ… Deploys to GitHub Container Registry

๐ŸŽจ Color System

InnerHue uses a comprehensive emotional color palette:

  • Happy: Golden yellows (#FFD93D)
  • Calm: Peaceful greens (#66BB6A)
  • Sad: Soothing blues (#42A5F5)
  • Excited: Vibrant purples (#AB47BC)
  • Anxious: Warm oranges (#FF7043)

๐Ÿ”„ Future Enhancements

  • Backend Integration: Express.js API with MongoDB
  • Real NLP: OpenAI or Cohere integration for dynamic suggestions
  • Social Features: Share insights with friends and family
  • Voice Journaling: Audio recordings with sentiment analysis
  • Meditation Timer: Guided meditation based on current mood
  • Wearable Integration: Apple Watch and Fitbit mood tracking

๐Ÿ‘ฅ Contributors

Thanks to these amazing people for contributing ๐Ÿ’™

๐Ÿค Contributing

We welcome contributions! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

๐Ÿ“„ License

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

๐Ÿ™ Acknowledgments

  • Framer Motion for incredible animation capabilities
  • TailwindCSS for the flexible design system
  • Next.js for the amazing developer experience
  • Inspiration from emotional wellness platforms and modern design trends

InnerHue - Discover the colors of your emotions ๐ŸŒˆโœจ

About

Your own mood tracking system

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors 24

Languages