Skip to content

isoguv42/unmute

Repository files navigation

TL;DR:
Unmute is an anonymous mental health platform with AI-moderated group sessions and gamified support communities. Built with Next.js + Supabase.

unmute ๐Ÿง ๐Ÿ’š

โ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—
โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•
โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—  
โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•”โ•โ•โ•  
โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘ โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ•šโ•โ• โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•   โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—
 โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•  โ•šโ•โ•โ•โ•โ•šโ•โ•     โ•šโ•โ• โ•šโ•โ•โ•โ•โ•โ•    โ•šโ•โ•   โ•šโ•โ•โ•โ•โ•โ•โ•
                                                          
    ๐Ÿง  Mental Health โ€ข ๐Ÿ’ฌ Community Support โ€ข ๐ŸŽฎ Gamification โ€ข ๐Ÿ”’ Anonymous

Your voice matters. Your story heals. Your community awaits.


A Next.js mental health platform with Supabase backend that enables topic-based community support, real-time chat, gamification, and mood tracking for mental wellness.

Built with Next.js Powered by Supabase TypeScript Tailwind CSS

๐Ÿงช Live Demo

Try the project live: unmute.social

๐Ÿš€ NEW: Now with Supabase Backend! This version includes real-time chat, persistent data, user authentication, and mood tracking.

Features

๐ŸŽญ Anonymous Participation

Join sessions with complete anonymity using nicknames and custom avatars

๐Ÿค– AI-Powered Moderation

  • CategoryAwareModerator: Intelligent AI moderators with category-specific behaviors
  • Dual Mode Support: Both structured support circles and casual community chat
  • Real-time Analysis: Message analysis, distress detection, and safety interventions
  • Smart Timing: Silence detection and context-aware check-ins

๐Ÿง  Mental Health Focus

Support for 10+ mental health areas: anxiety, depression, grief, trauma, loneliness, self-esteem, and more

๐Ÿ’ฌ Two Types of Support

  • Scheduled Support Circles: 45-60 minute structured sessions with active moderation
  • Community Chat: 24/7 always-active support communities (Reddit-style)

๐ŸŽฎ Gamification

XP system and achievement badges to encourage engagement and progress

๐Ÿ”— Real-time Communication

Live chat and video capabilities for authentic connection

๐ŸŽจ Personalization

Choose from 12 unique avatars with distinct personalities

Tech Stack

Frontend

  • Framework: Next.js 15 with App Router
  • Language: TypeScript
  • Styling: Tailwind CSS
  • UI Components: Radix UI with shadcn/ui
  • State Management: Zustand
  • Real-time: WebRTC for video/audio + Supabase Realtime
  • Validation: Zod schemas

Backend & Database

  • Supabase - PostgreSQL database with real-time features
  • Supabase Auth - Anonymous authentication system
  • Supabase Realtime - Live chat and updates
  • Row Level Security - Database-level access control

Key Features

  • Real-time Chat - Topic-based community chat rooms
  • Mood Tracking - Daily mood logs with analytics
  • Gamification - XP, levels, and achievement badges
  • Anonymous Auth - Privacy-first user system

๐ŸŽฏ Market Opportunity

Mental health support is a $5.6B+ market with growing demand for accessible, anonymous, and community-driven solutions. unmute addresses key gaps in traditional therapy:

  • Accessibility: 24/7 support without scheduling barriers
  • Affordability: Community-based support reduces costs
  • Anonymity: Removes stigma and privacy concerns
  • Scalability: AI moderation enables global reach

๐Ÿ’ก Key Differentiators

๐Ÿค– Proprietary AI Moderation

  • Category-aware AI moderators with mental health expertise
  • Real-time crisis detection and intervention
  • Dual-mode adaptation (structured sessions vs. casual chat)

๐ŸŽฎ Gamified Wellness

  • XP system and achievement badges drive engagement
  • Mood tracking with personalized insights
  • Community challenges and milestones

๐Ÿ”’ Privacy-First Architecture

  • Anonymous authentication system
  • End-to-end encrypted communications
  • HIPAA-compliant data handling

Project Structure

unmute/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ app/                     # Next.js 15 App Router
โ”‚   โ”‚   โ”œโ”€โ”€ api/                 # API routes (mood trends, etc.)
โ”‚   โ”‚   โ”œโ”€โ”€ chat/[room]/         # Dynamic chat room pages
โ”‚   โ”‚   โ””โ”€โ”€ page.tsx             # Main application page
โ”‚   โ”œโ”€โ”€ components/              # React components
โ”‚   โ”‚   โ”œโ”€โ”€ ui/                  # Shadcn/ui components
โ”‚   โ”‚   โ”œโ”€โ”€ onboarding/          # User onboarding flow
โ”‚   โ”‚   โ”œโ”€โ”€ community/           # Community chat interface
โ”‚   โ”‚   โ”œโ”€โ”€ dashboard/           # Dashboard views
โ”‚   โ”‚   โ”œโ”€โ”€ mood/                # Mood tracking components
โ”‚   โ”‚   โ”œโ”€โ”€ session/             # Live session interface
โ”‚   โ”‚   โ””โ”€โ”€ profile/             # User profile management
โ”‚   โ”œโ”€โ”€ lib/
โ”‚   โ”‚   โ”œโ”€โ”€ supabase/            # ๐Ÿ†• Supabase integration
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ client.ts        # Supabase client setup
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ queries.ts       # Database query functions
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ realtime.ts      # Real-time subscriptions
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ types.ts         # Database type definitions
โ”‚   โ”‚   โ”œโ”€โ”€ store/               # ๐Ÿ†• Zustand stores
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ user.ts          # User authentication & profile
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ chat.ts          # Real-time chat functionality
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ mood.ts          # Mood tracking
โ”‚   โ”‚   โ”œโ”€โ”€ moderator/           # AI moderator system
โ”‚   โ”‚   โ””โ”€โ”€ store.ts             # Legacy unified store
โ”‚   โ”œโ”€โ”€ types/                   # TypeScript definitions
โ”‚   โ””โ”€โ”€ data/                    # Static data (avatars, topics, badges)
โ”œโ”€โ”€ supabase-schema.sql          # ๐Ÿ†• Database schema setup
โ”œโ”€โ”€ SUPABASE_SETUP.md            # ๐Ÿ†• Detailed setup guide
โ””โ”€โ”€ public/                      # Static assets

๐Ÿ†• New Supabase Integration Features

  • Real-time chat with topic-based rooms
  • User authentication with anonymous login
  • Persistent mood tracking with analytics
  • Gamification system with XP and badges
  • Row-level security for data privacy

Key Components

CategoryAwareModerator System

  • Dual Mode AI: Adapts behavior for support circles vs. community chat
  • Category-Specific Prompts: Tailored responses for 10+ mental health topics
  • Safety-First: Crisis detection and professional support encouragement
  • Smart Timing: Configurable silence detection and check-in intervals

Onboarding Flow

  • Welcome introduction and privacy explanation
  • Nickname selection with validation
  • Mental health topic selection (10+ categories)
  • Session preferences (chat/video modes)
  • Avatar customization (12 unique options)

Dashboard

  • Dual Access: Both scheduled sessions and community chat
  • User statistics and progress tracking
  • Session queue management with wait times
  • Quick mood tracking and crisis support access

Live Sessions & Community Chat

  • Scheduled Sessions: Structured 45-60 minute support circles
  • Community Chat: 24/7 Reddit-style support groups
  • Real-time chat with AI moderation
  • Video participant grid for sessions
  • Anonymous participation with avatars

Feedback & Analytics

  • Multi-step rating interface
  • Detailed feedback collection
  • AI-generated session summaries
  • Participation analytics and insights

๐Ÿ—„๏ธ Database Schema

The Supabase backend includes four main tables:

  • users - User profiles with gamification data (XP, level, streaks)
  • messages - Chat messages organized by topic-based rooms
  • badges - Achievement system for user engagement
  • moods - Daily mood tracking with analytics and trends

All tables include Row Level Security (RLS) policies to ensure users can only access their own data while enabling public community chat.

๐Ÿ“Š Business Metrics & Traction

๐ŸŽฏ Target Metrics

  • User Engagement: Average session duration 25+ minutes
  • Retention: 70%+ weekly active user retention
  • Safety: <0.1% crisis escalation rate with AI moderation
  • Growth: Viral coefficient of 1.3+ through community referrals

๐Ÿ’ฐ Revenue Model

  • Freemium: Basic community access free, premium features paid
  • Enterprise: B2B2C partnerships with healthcare providers
  • Subscription: $9.99/month for advanced features and priority support

๐ŸŒ Market Expansion

  • Phase 1: English-speaking markets (US, UK, Canada, Australia)
  • Phase 2: European expansion with GDPR compliance
  • Phase 3: Global localization with cultural adaptation

๐Ÿค Partnership Opportunities

๐Ÿฅ Healthcare Integration

  • Telehealth Platforms: White-label community features
  • Mental Health Providers: Referral and follow-up support
  • Insurance Companies: Preventive care and cost reduction

๐ŸŽ“ Educational Partnerships

  • Universities: Campus mental health support
  • K-12 Schools: Teen-focused community programs
  • Corporate Wellness: Employee assistance programs

๐Ÿ’ผ Investment & Collaboration

  • Seed Funding: Currently raising $500K seed round
  • Strategic Advisors: Mental health professionals and tech leaders
  • Technical Partners: AI/ML expertise and infrastructure scaling

License

This project is private and proprietary.

โš ๏ธ Important Disclaimer

unmute is designed to supplement, not replace, professional mental health care.

  • This platform provides peer support and self-help tools
  • Always consult qualified mental health professionals for serious concerns
  • In crisis situations, contact emergency services immediately

Crisis Resources

๐Ÿ“ž Contact

Ready to transform mental health support together?


Building the future of accessible, anonymous, and AI-powered mental health support.

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors