███╗ ███╗██╗███╗ ██╗██████╗ ███████╗██╗ ██████╗ ██╗ ██╗
████╗ ████║██║████╗ ██║██╔══██╗██╔════╝██║ ██╔═══██╗██║ ██║
██╔████╔██║██║██╔██╗ ██║██║ ██║█████╗ ██║ ██║ ██║██║ █╗ ██║
██║╚██╔╝██║██║██║╚██╗██║██║ ██║██╔══╝ ██║ ██║ ██║██║███╗██║
██║ ╚═╝ ██║██║██║ ╚████║██████╔╝██║ ███████╗╚██████╔╝╚███╔███╔╝
╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚═════╝ ╚═╝ ╚══════╝ ╚═════╝ ╚══╝╚══╝
MindFlow
AI-Powered Personalized Meditation
Generated meditation sessions tailored to your mood, goals, and time.
AI generates personalized meditation scripts based on mood, goals, and available time. ElevenLabs synthesizes calming voice audio. Gamification with streaks and challenges. Stripe payments for premium features.
AI-powered personalized meditation app with voice synthesis
Generate unique meditation sessions tailored to your mood, goals, and available time. Each session is crafted by AI and delivered with natural voice synthesis.
# Install dependencies
npm install
# Copy env and fill in your keys
cp .env.example .env.local
# Run development server
npm run dev- Frontend: Next.js 14, React, Tailwind CSS
- Database: Supabase (PostgreSQL)
- AI Text: Kimi (Moonshot) / DeepSeek
- Voice: ElevenLabs TTS
- Payments: Stripe
- Create project at supabase.com
- Run migration in SQL Editor:
supabase/migrations/001_initial.sql - Create storage bucket named
meditations - Copy URL and keys to
.env.local
- Get API key from moonshot.cn
- Add
KIMI_API_KEYto.env.local
- Get API key from elevenlabs.io
- Add
ELEVENLABS_API_KEYto.env.local - Set
GENERATE_AUDIO=trueto enable
- Get keys from stripe.com
- Create products and prices
- Setup webhook endpoint:
/api/webhooks/stripe
mindflow/
├── app/
│ ├── page.tsx # Landing
│ ├── layout.tsx # Root layout
│ ├── globals.css # Styles
│ ├── onboarding/ # 5-step onboarding
│ ├── meditate/ # Meditation player
│ ├── history/ # Past meditations & stats
│ └── api/
│ ├── generate/ # AI meditation generation
│ ├── voice/ # TTS synthesis
│ └── webhooks/stripe/ # Stripe webhooks
├── lib/
│ ├── kimi.ts # Kimi/DeepSeek AI client
│ ├── elevenlabs.ts # ElevenLabs TTS client
│ └── supabase.ts # Database client
├── supabase/
│ └── migrations/ # Database schema
├── package.json
├── next.config.js
├── tailwind.config.ts
└── .env.example
- 5-step onboarding (stress level, goals, duration, time, triggers)
- AI-generated personalized meditation scripts
- Natural voice synthesis (Polish language)
- Mood tracking before/after
- History and statistics
- Freemium model with Stripe
Based on advanced techniques:
- Heart-centered awareness (shifting perception from head to heart)
- Chakra work (root/red, heart/green, crown/white)
- Smiling to atoms - visualizing body cells responding to inner smile
- Bubbles of love - wrapping thoughts and experiences in love
- Gratitude/love amplification ("How would it feel 2x stronger?")
- Earth/Universe energy connection
- Infinity mindset - abundance for all
MIT
Built by Exhuman