+
Skip to content

e-ndorfin/luma

Repository files navigation

Luma - AI-Powered Meditation Generator

Create personalized 10-minute guided meditation sessions based on daily experiences using AI.

✨ Features

  • Personalized Meditation Scripts - Generates custom guided meditations from daily journal input
  • AI-Powered Insights - Uses Cohere's NLP to analyze mood and stress levels
  • Clean, Modern UI - Beautiful purple gradient interface with loading animations
  • Responsive Design - Works across all devices

📁 Project Structure

luma/
├── frontend/              # React frontend application
│   ├── public/            # Static assets
│   ├── src/               # Source code
│   │   ├── components/    # React components
│   │   │   ├── Loading.jsx       # Loading animation component
│   │   │   ├── Loading.css       # Styling for loading animation
│   │   │   ├── MeditationInput.jsx # Input form component
│   │   ├── App.jsx        # Main application component
│   │   ├── App.css        # Application styling
│   │   ├── main.jsx       # Entry point
│   │   ├── index.css      # Global styling
│   ├── index.html         # HTML template
│   ├── package.json       # Frontend dependencies
│   └── vite.config.js     # Vite configuration
├── backend/               # Flask backend (planned)
└── README.md             # Documentation

🚀 Quick Start

Frontend

cd frontend
npm install
npm run dev

Backend (Coming Soon)

cd backend
pip install -r requirements.txt
python app.py

🔜 Roadmap

  • MP3 Generation (Coming Soon): Convert scripts to audio with text-to-speech
  • Voice Customization: Choose guide voice tone (calm/soothing/energetic)
  • Web Interface: React frontend with meditation player
  • Session History: Browse previous meditations

⚙️ Requirements

  • Cohere API Key (free tier available)
  • Python 3.10+
  • Flask backend (current)
  • React frontend (planned)

🔒 Environment: Create .env with COHERE_API_KEY in backend folder

Note: Current version outputs text scripts - audio MP3 generation coming in next version!

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend using TypeScript and enable type-aware lint rules. Check out the TS template to integrate TypeScript and typescript-eslint in your project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载