SafeMate: Protect. Comfort. Connect.

Test Credentials

Email:2005261@kiit.ac.in password:Test@2025

🧠 Inspiration

SafeMate was born from a simple yet powerful realization: everyone deserves to feel safe and supported, no matter where they are or what they're going through.

In a world where personal safety concerns continue to rise and mental health challenges affect millions, we saw an opportunity to leverage cutting-edge AI technology to create not just another safety app — but a true companion that walks alongside users in their moments of vulnerability.

The inspiration came from countless real-life stories:

  • People walking home at night feeling uneasy
  • Students navigating empty campuses
  • Healthcare workers on late shifts
  • Individuals struggling with anxiety or loneliness

We asked ourselves:

What if technology could provide both physical protection and emotional support in these moments?
What if an AI companion could be present when human connection isn't available?


🚀 What It Does

SafeMate is a comprehensive, AI-powered safety and emotional support companion, featuring two distinct modes:

🛡️ Safe Walk Mode

  • Real-time GPS tracking with secure location sharing
  • AI voice/video chat companion powered by Tavus persona technology
  • Emergency SOS system with auto-alerts via Telegram
  • Enhanced emergency messages including location and contact info
  • Periodic safety check-ins (audio + location awareness)
  • Route optimization with safety scoring
  • Geofencing support for safe zone monitoring

❤️ HeartMate Mode

  • Conversational AI for emotional support (Gemini 2.5 Flash)
  • Mood tracking and personalized mental health insights
  • Guided wellness: meditation, breathing, mindfulness
  • Soulful Rhythms: calming soundscapes for relaxation
  • Integrated mental health resources
  • Video call support for face-to-face AI comfort

🎮 Gamification Enhancements

  • Earn XP, unlock achievements, build consistent safety habits
  • Daily streak rewards and milestone progression
  • Shareable achievement cards
  • Coming soon: Leaderboards and community challenges

🛠️ How We Built It

🌐 Frontend

  • React 18 + TypeScript for robust, maintainable development
  • Tailwind CSS + Aceternity UI for modern, responsive design
  • Framer Motion for smooth, accessible animations
  • Vite for fast builds and local dev performance

🧩 Backend

  • Supabase: Auth, database, edge functions
  • PostgreSQL with Row-Level Security (RLS)
  • Supabase Edge Functions: serverless & secure APIs
  • Telegram Bot API for emergency alerts and contact notifications

🤖 AI & Real-time Communication

  • Tavus: Real-time AI avatars and persona interactions
  • LiveKit: High-performance voice/video streaming
  • ElevenLabs: Lifelike text-to-speech audio
  • Deepgram: Real-time speech-to-text recognition
  • Gemini 2.5 Flash: Conversational AI for emotional intelligence

🔒 Security Features

  • Secure Telegram-based emergency notification system
  • Enhanced emergency messages with full contact & location info
  • Multiple emergency modes: silent, discreet, loud
  • Customizable emergency presets
  • RLS-enforced data protection via Supabase
  • Geofenced alerts and safe zone monitoring

📊 Analytics & Insights

  • Wellness and safety analytics dashboard
  • Mood trend tracking and daily log
  • Streaks, XP calendar, and activity tracking
  • Safety scoring engine with actionable feedback

⚠️ Challenges We Faced

  • Multi-AI Integration: Coordinating Tavus, Gemini, ElevenLabs, and Deepgram smoothly
  • Mobile Audio Restrictions: Overcame autoplay restrictions with custom handlers
  • Real-Time GPS Accuracy: Balanced privacy, battery usage, and tracking fidelity
  • Cross-Browser Audio Issues: Unified experience across varying platform constraints
  • Stress-Safe UX: Designed for use in emergency and high-anxiety conditions
  • Security & Privacy: Implemented encryption, RLS, and privacy-first defaults
  • Telegram Integration: Built robust emergency routing via Supabase Edge Functions

🏆 Accomplishments We're Proud Of

  • Dual-mode AI architecture for physical & emotional safety
  • ✅ Smart AI fallback system ensuring consistent availability
  • ✅ Fully gamified safety UX with XP, levels, and rewards
  • ✅ Seamless video + voice integration across devices
  • ✅ Secure, Telegram-powered emergency notification flow
  • ✅ Responsive and accessible design for all devices
  • ✅ Privacy-first architecture with user-controlled data

📚 What We Learned

  • How to orchestrate complex multi-AI systems with seamless UX
  • Overcoming voice & browser limitations on mobile
  • Building real-time systems that work even in unreliable networks
  • Designing with empathy for users in high-stress situations
  • Creating privacy-first systems using serverless edge functions
  • Building accessible UI for emergency scenarios
  • Engineering secure Telegram bot flows and alert systems

🔮 What's Next for SafeMate

  • 📱 Native iOS & Android apps
  • 👥 Trusted Network: friend/family check-in sharing
  • 🧠 Personalized AI: adaptive communication & support
  • 🧘 Wellness Library Expansion: more content, deeper AI tracking
  • 🚓 Emergency Services Integration
  • ⌚ Wearable compatibility (smartwatches, fitness trackers)
  • 🌐 Global rollout with localization
  • 🏥 Enterprise version for schools, hospitals, and night workers

💙 Final Thought

SafeMate isn’t just an app — it’s a guardian and a friend.
It listens when others can’t, walks with you when you're alone, and empowers you to move through life with confidence.

“The guardian you trust. The companion you need.”


🔗 Explore more at getsafemate.store
📬 Contact us: wishsagarks@gmail.com

Built With

Share this project:

Updates