A modern glassmorphism-styled website with an integrated Google Gemini AI-powered life coach chatbot.
- Modern Glassmorphism Design - Beautiful, modern UI with glassmorphism effects
- Responsive Layout - Works on all devices from mobile to desktop
- AI-Powered Life Coach - Real-time communication with the Gemini AI model
- Complete Website - Includes header, hero section, about section, testimonials, and footer
- Smooth Transitions - Scroll animations and smooth navigation
- Interactive Chat Interface - Timestamp for each message and loading indicators
- Backend: Flask (Python)
- AI Model: Google Gemini AI
- Frontend: HTML, CSS, JavaScript
- Design: Glassmorphism with responsive layout
- Python 3.7 or higher
- Flask
- Google Generative AI Python SDK
-
Clone or download this repository.
-
Install the required dependencies:
pip install -r requirements.txt -
Set up your Google AI API key:
- The API key is already included in the code, but for security in a production environment, you should replace it with an environment variable
-
Add avatar images:
- Place your desired avatar images in the
staticfolder:ai-avatar.png- Image for the AI avataruser-avatar.png- Image for the user avatar
- You can use any PNG images with a 1:1 aspect ratio (square images work best)
- Place your desired avatar images in the
-
Run the Flask application:
python lifeCoach.py -
Open your web browser and navigate to:
http://127.0.0.1:5000/ -
You should see the complete website with the chat interface where you can interact with the AI life coach.
- Header - Navigation menu with links to different sections
- Hero Section - Introduction and call-to-action button
- About Section - Features and benefits of using LifeCoach AI
- Chat Section - Interactive chat interface to communicate with the AI
- Testimonials - User reviews and success stories
- Footer - Additional links and information
- Styling: Modify the CSS in
static/style.css - Content: Update text and sections in
templates/index.html - AI Behavior: Adjust the Gemini model parameters in
lifeCoach.py - Colors: Change the gradient and color scheme in the CSS variables
- Animation: Add or modify animations and transitions
The glassmorphism design was inspired by modern web applications like Reflect and follows the trend of glass-like UI elements with blur effects.
This project is open-source and available for personal and commercial use.
-
Google Gemini AI for powering the chatbot
-
Flask for the lightweight web framework
-
Glassmorphism UI trend for design inspiration