MindAnchorPeace 🎯

A calming, AI-enhanced mental health companion for managing intrusive thoughts and anxiety

🌟 Inspirational Story

MindAnchorPeace began as a deeply personal project. My wife has long struggled with impulsive intrusive thoughts—especially fears of doing something harmful, even though she never would. These thoughts can be terrifying, isolating, and misunderstood even in mental health circles. I watched someone I love feel like a danger to herself or others when she was the kindest person I knew.

I built this app to help her—and others like her—feel less alone in those moments. Not by denying their fears, but by gently guiding them through it. MindAnchorPeace is rooted in Acceptance and Commitment Therapy and mindfulness principles, delivered through interactive, voice-guided text adventures. It's a calm companion for people who often can't trust their own minds.

In building this, I surprised myself with how much healing can come from storytelling and presence. What started as a technical idea became an act of love, care, and shared humanity.

What it does

MindAnchorPeace is a calming emergency toolkit disguised as a text-based therapeutic game. When someone is overwhelmed by intrusive thoughts or impulsive fears (like Harm OCD), they can launch MindAnchor and immerse themselves in an interactive, story-driven journey. Instead of offering empty reassurance, the app guides users to make choices aligned with their values, helping them ride the wave of anxiety and return to a grounded state. Additional tools include breathing exercises, grounding practices, a self-reflection journal, and quick access to supportive Conversational AI or a trusted contact.

🎯 Target Users

  • Individuals with intrusive thoughts seeking gentle, evidence-based support
  • People with anxiety disorders looking for accessible coping tools
  • Mental health advocates wanting comprehensive self-care resources
  • Therapy clients needing between-session support and practice tools
  • Anyone seeking mindfulness and emotional regulation techniques

📱 Features & Functionality

Core Mental Health Tools

  • 🎭 Interactive Calming Stories: Guided narrative experiences that teach coping strategies through gentle, choice-based scenarios
  • 🧘 Mindful Grounding Exercises: 10+ evidence-based techniques including 5-4-3-2-1 sensory grounding, box breathing, and progressive muscle relaxation
  • 📝 AI-Enhanced Thought Journal: Intelligent analysis of intrusive thoughts with personalized reframing suggestions and confidence boosters
  • 📞 Trusted Support Network: Emergency contact system with quick messaging and crisis resources

AI-Powered Features

  • 🤖 Gemini AI Integration: Advanced thought pattern analysis, cognitive distortion identification, and personalized therapeutic insights
  • 🎙️ ElevenLabs Voice Companion: Conversational AI support available 24/7 for emotional guidance and crisis intervention
  • 💡 Personalized Insights: AI-generated progress reports and pattern recognition across journal entries

Gamification & Progress

  • 🏆 Achievement System: 15+ unlockable badges for milestones, streaks, and progress markers
  • 📊 XP & Leveling: 6-tier progression system with meaningful rewards and benefits
  • 🔥 Streak Tracking: Daily check-ins, journaling, and activity streaks to build healthy habits
  • 📈 Progress Analytics: Detailed mood tracking, activity summaries, and improvement metrics

Educational Content

  • 🎓 CBT Techniques Library: Interactive tutorials on cognitive behavioral therapy methods
  • 📚 Coping Strategy Database: 20+ evidence-based techniques with step-by-step instructions
  • 🎬 Video Learning: Guided meditation and mindfulness video content
  • 📖 Educational Hub: Comprehensive mental health education and resources

Data & Privacy

  • 📊 Progress Reports: Generate detailed PDF reports for therapists and personal records
  • 💾 Data Export: Export all personal data in multiple formats (JSON, CSV, PDF)
  • 🔒 Privacy-First: All data stored securely with Supabase, AI processing with user consent only
  • 🛡️ Row-Level Security: Comprehensive database security ensuring users only access their own data

🏆 Challenge Requirements Met

🚀 Startup Challenge: Supabase Scaling

"Use Supabase to prep your Bolt.new project to scale to millions"

Comprehensive Database Architecture

  • 11 interconnected tables with proper foreign key relationships
  • Row-Level Security (RLS) on all tables ensuring data isolation
  • Optimized indexes for high-performance queries
  • Database functions for complex operations (XP calculation, streak management)

Scalable Authentication System

  • Supabase Auth with email/password and Google OAuth
  • Automatic user profile creation with database triggers
  • Secure session management and token refresh

Performance Optimizations

  • Database functions to reduce client-server round trips
  • Efficient data fetching with proper joins and filtering
  • Caching strategies for frequently accessed data
  • Optimized queries with proper indexing

Real-time Capabilities

  • Real-time progress updates and achievement notifications
  • Live data synchronization across user sessions
  • Scalable pub/sub architecture ready for millions of users

🌐 Deploy Challenge: Netlify Deployment

"Use Netlify to deploy your full-stack Bolt.new application"

Production-Ready Deployment

  • Fully deployed on Netlify with custom domain support
  • Optimized build process with Vite for fast loading
  • Environment variable management for secure API keys
  • Continuous deployment from Git repository

Performance Optimizations

  • Code splitting and lazy loading for optimal bundle sizes
  • Image optimization and responsive design
  • Progressive Web App (PWA) capabilities
  • CDN distribution for global performance

Scalable Architecture

  • Serverless functions ready for high traffic
  • Static site generation for lightning-fast loading
  • Edge computing capabilities for global users

🎙️ Voice AI Challenge: ElevenLabs Integration

"Use ElevenLabs to make your Bolt.new app conversational"

Conversational AI Companion

  • Integrated ElevenLabs ConvAI for natural voice interactions
  • 24/7 emotional support through voice conversations
  • Crisis intervention and coping strategy guidance
  • Personalized voice responses based on user context

Seamless Voice Experience

  • One-click voice activation from trusted contacts page
  • Natural conversation flow with therapeutic training
  • Voice-guided breathing exercises and grounding techniques
  • Emotional state recognition and appropriate responses

Therapeutic Voice Features

  • Trained AI responses for mental health support
  • Crisis detection and appropriate resource provision
  • Gentle, non-judgmental conversational tone
  • Integration with existing mental health tools

How we built it

We built MindAnchor using bolt.new, a powerful tool for rapidly prototyping React apps. The app is structured around:

  • A text-based story engine to simulate real-life anxiety triggers
  • Choice-based interaction flows that mirror CBT and ACT therapy approaches
  • Breathing and grounding modules built with timers and animations
  • A journal with guided prompts to help users reframe intrusive thoughts
  • Soft, minimal UI design optimized for mobile and emotional ease-of-use
  • Conversational AI agent using elevenlabs for user comfort

The prototype runs entirely in-browser and focuses on simplicity, accessibility, and emotional safety.

Challenges we ran into

  • First use of Bolt.new
  • First use of Supabase and Elevenlabs as well as Netlify
  • Designing storylines that are realistic without being triggering was emotionally challenging. We had to find the line between therapeutic simulation and sensitivity.
  • Building a useful tool that doesn't fall into the trap of providing constant reassurance
  • Time limitations made it hard to implement dynamic AI responses or deeper personalization (developed in one day).

Accomplishments that we're proud of

  • Creating something deeply personal and purpose-driven within a short time frame
  • Making mental health support feel less clinical and more human through storytelling
  • Building an experience that feels safe, soft, and emotionally intelligent for those going through very real internal storms
  • A helpful conversational agent

What we learned

  • Even simple interactions—like choosing a calming response in a story—can make a big difference during moments of distress
  • There's a huge gap in mental health tools that are both emotionally resonant and clinically thoughtful
  • Creating for someone you love transforms the development process from coding into care
  • Developing No-Code Apps using Bolt.new is fun and interactive

What's next for MindAnchorPeace

  • Therapist Dashboard: Professional interface for monitoring client progress
  • Community Features: Anonymous peer support and shared experiences
  • Advanced AI: Predictive mental health insights and personalized interventions
  • Wearable Integration: Heart rate and stress monitoring for real-time support
  • Multi-language Support: Accessibility for global mental health needs

Built With

Share this project:

Updates