Skip to content

Ad1ty-Gupta23/TriFocus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MindBloom: A Web3-Powered Mental Health & Wellness Platform

Heal. Commit. Earn. Govern — with privacy-first AI, biometric meditation, and blockchain accountability.


Team Members:

  • 👩‍💼 Aditya Gupta – Team Lead, Full Stack Dev
  • 👩‍💼 Rajat Dubey – Full Stack Dev
  • 👩‍💼 Atharva More – Full Stack Dev
  • 👩‍💼 Niraj Sonawane – Full Stack Dev

📌 Problem Statement

Most mental health apps lack accountability and verifiability. Users often abandon self-care habits due to lack of motivation or reward. Additionally, there's no biometric verification of habits like meditation. Web2 platforms also don't prioritize user-controlled data sharing or anonymity in high-risk cases.


🎯 Objective

To create a full-stack mental health Web3 platform where:

  • Users commit to wellness habits via token staking
  • Meditation is verified via eye-tracked camera detection
  • AI provides personalized tasks, emotion analysis, and crisis detection
  • Token rewards are earned upon verified habit completion
  • Sessions with therapists are booked using earned tokens
  • All sensitive data is user-owned and securely shared

Track: 🧠 AI + Web3 Wellness
Users: Wellness seekers, therapists, and decentralized health advocates


🧠 1. AI-Driven Support

  • Real-time chatbot for mental health guidance
  • Personalized daily wellness tasks (e.g., journaling, breathwork, meditation)
  • Sentiment-aware goal setting based on chat history and emotion analysis

💪 2. Habit-Staking

  • Users stake tokens to commit to daily wellness routines
  • Verified completion (e.g., via eye-tracked meditation) earns token rewards
  • Streaks increase reward multiplier
  • Smart contracts log all staking, completion, and reward claims

👁️ 3. Camera-Based Meditation (with Eye Tracking)

  • Eye tracking detects open eyes = pause timer
  • Closed eyes = resume timer
  • Habit is only complete if uninterrupted meditation time is fulfilled

📷 Tech Stack:

  • Frontend: React / React Native
  • Eye Tracking: MediaPipe Face Mesh or TensorFlow.js
  • Timer Logic: JS timer tied to real-time eye state
  • Privacy: On-device only — no video stored or transmitted

🚨 4. AI Crisis Detection

  • Real-time sentiment analysis of user input
  • Flags messages with high-risk mental states
  • Alerts support team or sends anonymized emergency pings

👩‍⚕️ 5. Therapist Registration & Booking

  • Therapists register & get verified
  • Users book sessions using earned tokens
  • Smart contracts handle booking, payment, and dispute resolution

🤖 6. ChainBot (Smart Contract Wellness Engine)

Users interact with on-chain logic for:

  • 🪙 Staking wellness tokens
  • 📅 Tracking habit streaks
  • 🎁 Claiming rewards after completion
  • ✅ Verified meditation sessions trigger rewardUser() function

🗂️ 7. Medical Document Control

  • Upload reports and mental health records to IPFS
  • Share only with connected Volunteers using publickeys keys
  • Access governed by smart contract permissions


🌿 9. Stress Reduction Toolkit

  • 📓 AI-assisted journaling with mood analysis
  • 🧘‍♂️ Guided meditations with real-time eye-tracked validation
  • 🎮 Calming mini-games (non-competitive)
  • 🌬️ Daily affirmations, breathwork, and mood boosting content

🛠️ Tech Stack Overview

Layer Technology
Frontend React / React Native, Tailwind CSS
AI/ML TensorFlow.js, Hugging Face Models
Eye Tracking MediaPipe Face Mesh
Blockchain Solidity , Holesky Network
Storage IPFS + encrypted metadata
Fitbit Fitbit Developer API

🔮 Future Scope

  • 💠 Emotion-to-token incentive loop
  • 🕵️‍♀️ Anonymous mental health chatrooms with moderation AI
  • 🔒 zk-SNARKs for private habit proofs
  • 📱 PWA version with offline-first journaling and caching

🏁 Final Words

MindBloom turns mental health routines into an accountable, rewarding, and deeply personalized experience. With biometric verification, AI support, and decentralized wellness logic, users are finally in control of their own healing journey.

Commit. Meditate. Heal. Own your wellness.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors