🌿 Sage of the City - Urban Wellness Guide

A friendly AI wellness guru designed to help busy urbanites find balance between productivity and personal well-being in the fast-paced city environment.

Features

  • Personalized Wellness Tips: Work-life balance, healthy eating, and mindfulness advice
  • Urban Nature Discovery: Recommendations for nearby parks, walking routes, and nature retreats
  • Daily Wellness Challenges: Quick 30-second to 2-minute wellness activities
  • Motivational Content: Inspiring quotes and calming ambient sound suggestions
  • Soothing AI Personality: Part life coach, part friend - always supportive and understanding

Project Structure

ā”œā”€ā”€ backend/
│   ā”œā”€ā”€ index.ts           # Main Hono server
│   └── routes/
│       ā”œā”€ā”€ wellness.ts    # Wellness advice and tips
│       └── challenges.ts  # Daily wellness challenges
ā”œā”€ā”€ frontend/
│   ā”œā”€ā”€ index.html         # Main app interface
│   ā”œā”€ā”€ index.tsx          # React frontend
│   ā”œā”€ā”€ components/
│   │   ā”œā”€ā”€ App.tsx        # Main app component
│   │   ā”œā”€ā”€ WellnessCard.tsx
│   │   └── ChallengeCard.tsx
│   └── style.css          # Custom styling
└── shared/
    └── types.ts           # Shared TypeScript types

Usage

The Sage provides:

  • Personalized Wellness Advice: Chat with the Sage about your stress, work-life balance, or wellness needs
  • Daily Wellness Challenges: Get quick, actionable wellness activities (30 seconds to 5 minutes)
  • Urban Nature Discovery: Find parks, walking routes, and nature spots in your city
  • Customizable Preferences: Set your stress level, available time, and work environment
  • Motivational Support: Receive inspiring quotes and ambient sound suggestions

Key Features:

  • 🌿 Sage Chat Interface: Natural conversation with AI wellness guide
  • 🌱 Quick Action Buttons: Instant access to challenges and nature recommendations
  • āš™ļø Preference Settings: Customize experience based on your needs
  • šŸŽÆ Step-by-Step Challenges: Interactive wellness activities with progress tracking
  • šŸ’« Ambient Sound Suggestions: Recommendations for calming background audio

Tech Stack

  • Backend: Hono.js with TypeScript
  • Frontend: React with TypeScript
  • Styling: TailwindCSS with custom glass-morphism effects
  • AI: OpenAI GPT-4o-mini for personalized wellness advice
  • Fonts: Inter + Crimson Text for modern + sage-like typography
  • Animations: CSS keyframes for floating and fade-in effects

API Endpoints

  • POST /api/sage/advice - Get personalized wellness advice
  • POST /api/sage/challenge - Receive a daily wellness challenge
  • POST /api/sage/nature - Find urban nature spots and walking routes