Skip to content

Alhayek7/mental-load

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

43 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Mental Load Logo

🧠 Mental Load

Understand Your Mental Load

AI-Powered Daily Check-in Assistant for Cognitive Overload Detection


Overview β€’ Screenshots β€’ Architecture β€’ Tech Stack β€’ Getting Started β€’ Team


πŸ“– About The Project

Mental Load is an AI-powered daily check-in assistant that helps heavy AI tool users β€” ChatGPT, Gemini, Claude, Midjourney, Copilot β€” detect and manage cognitive overload before they ever feel it.

🎯 The Problem

According to a Harvard Business Review study (March 2026) of 1,488 full-time employees, 14% of AI tool users suffer from "Brain Fry" β€” cognitive fog, difficulty concentrating, and decision-making slowdown caused by intensive AI usage.

Most users don't realize the cause. They keep the same habits, and the overload quietly worsens β€” until it shows up as missed deadlines, irritability, or burnout.

πŸ’‘ The Solution

Feature Description AI Technology
🟒 Early Detection Analyzes user text to detect cognitive load before the user feels it BERT-base-uncased
🟑 Proactive Intervention Generates personalized, actionable recommendations Gemini 1.5 Flash API
πŸ”΅ Future Forecast Predicts burnout score 3 days ahead ARIMA (statsmodels)
🟣 Recovery Tracker Compares scores with/without following recommendations Statistical Analysis
🟠 Voice Support Voice recording as an alternative to typing Whisper API
πŸ”΄ Privacy First Encrypted data, no third-party sharing, right to be forgotten Row Level Security (RLS)

🎨 Screenshots

πŸ“Œ For the team: save each screenshot using the exact filename below into the assets/screenshots/ folder at the project root. Once added, the images below will render automatically β€” no other changes needed.

mental-load/
└── assets/
    └── screenshots/
        β”œβ”€β”€ splash_screen.png
        β”œβ”€β”€ onboarding_screen.png
        β”œβ”€β”€ login_screen.png
        β”œβ”€β”€ signup_screen.png
        β”œβ”€β”€ privacy_consent_screen.png
        β”œβ”€β”€ home_dashboard.png
        β”œβ”€β”€ checkin_screen.png
        β”œβ”€β”€ result_screen.png
        β”œβ”€β”€ patterns_screen.png
        β”œβ”€β”€ analytics_screen.png
        └── history_screen.png

Recommended specs: PNG, real device frame removed, portrait 1080Γ—2400 (or your device's native resolution), light mode.

πŸš€ Onboarding & Auth

Splash Screen
Splash Screen
Onboarding Screen
Onboarding
Login Screen
Login

πŸ“ Daily Check-in Flow

Home Dashboard
Home Dashboard
Check-in Screen
Check-in
Result Screen
Result & Score

πŸ“Š Insights & Analytics

Patterns Screen
Patterns
Report Screen
Analytics
History Screen
History

🧠 AI Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                           USER INTERFACE                                β”‚
β”‚                         (Flutter – Mental Load)                         β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                   β”‚
                                   β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                          PROCESSING LAYER                               β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚  β”‚   Whisper API    │──▢│       BERT        │──▢│     Gemini API       β”‚β”‚
β”‚  β”‚  (Voice β†’ Text)  β”‚   β”‚  (Text β†’ Score)   β”‚   β”‚   (Score β†’ Advice)   β”‚β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                   β”‚
                                   β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    DATABASE (Supabase – PostgreSQL)                     β”‚
β”‚                   β€’ Users  β€’ Check-ins  β€’ Recommendations               β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

AI Pipeline (for Devpost)

INPUTS  β†’  Free text + (optional) voice + AI tools count + usage pattern
   β”‚
   β”œβ”€β–Ά  Whisper API            (voice β†’ text)
   β”‚
   β”œβ”€β–Ά  BERT-base-uncased      (text β†’ Cognitive Load Score 1–5 + confidence %)
   β”‚
   β”œβ”€β–Ά  Gemini 1.5 Flash       (score + history β†’ personalized recommendation)
   β”‚
   └─▢  OUTPUT  β†’  Score (1–5) + Recommendation Text + 3-Day Forecast

πŸ› οΈ Built With

Layer Technology Purpose
🎨 Frontend Flutter Cross-platform UI (Android, iOS, Web)
πŸ–ŒοΈ UI Design Glassmorphism, Google Fonts Calm, focused visual language
πŸ—„οΈ Backend & Database Supabase (PostgreSQL) Authentication, real-time sync
🧩 NLP Classification BERT-base-uncased (Hugging Face) Cognitive Load Score (1–5)
πŸ’¬ Recommendations Google Gemini 1.5 Flash API Personalized recommendations
πŸŽ™οΈ Speech-to-Text OpenAI Whisper API Voice recording β†’ text
πŸ“ˆ Forecasting ARIMA (statsmodels) 3-day burnout forecast
πŸ“Š Charts fl_chart Analytics dashboard

πŸ† USAII Global AI Hackathon 2026

Category Details
Track Undergraduate
Challenge Productivity β€” "Second Brain for Real Life"
Team Name GOAI
Hackathon Dates June 14 – 21, 2026

πŸ›‘οΈ Responsible AI & Guardrails

Risk Mitigation
Replacing professional care Clear disclaimer + professional helplines for high scores
Data privacy End-to-end encryption (TLS 1.3 + AES-256) + no third-party sharing
Underage users Parental consent + weekly reports to parents
Model bias Manual user corrections + multi-language models planned

πŸ‘₯ Human-in-the-Loop Design

Layer Description
Correction User can correct the score if the AI was inaccurate
Follow-up Next day: "Did you follow the recommendation?"
Consent Professional help requires an explicit button click
Parental Users under 18 require parent consent

πŸ“ Project Structure

mental-load/
β”œβ”€β”€ lib/
β”‚   β”œβ”€β”€ main.dart
β”‚   β”œβ”€β”€ screens/              # 13 screens
β”‚   β”‚   β”œβ”€β”€ splash_screen.dart
β”‚   β”‚   β”œβ”€β”€ onboarding_screen.dart
β”‚   β”‚   β”œβ”€β”€ login_screen.dart
β”‚   β”‚   β”œβ”€β”€ signup_screen.dart
β”‚   β”‚   β”œβ”€β”€ privacy_consent_screen.dart
β”‚   β”‚   β”œβ”€β”€ initial_questionnaire.dart
β”‚   β”‚   β”œβ”€β”€ home_dashboard.dart
β”‚   β”‚   β”œβ”€β”€ checkin_screen.dart
β”‚   β”‚   β”œβ”€β”€ result_screen.dart
β”‚   β”‚   β”œβ”€β”€ patterns_screen.dart
β”‚   β”‚   β”œβ”€β”€ analytics_screen.dart
β”‚   β”‚   β”œβ”€β”€ history_screen.dart
β”‚   β”‚   └── settings_screen.dart
β”‚   β”œβ”€β”€ widgets/               # Reusable components
β”‚   β”œβ”€β”€ services/              # Supabase, AI, Audio services
β”‚   β”œβ”€β”€ models/                # Data models
β”‚   └── utils/                 # Constants, helpers, theme
β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ icons/                 # App icons
β”‚   β”œβ”€β”€ fonts/                 # Tajawal, Inter fonts
β”‚   β”œβ”€β”€ screenshots/           # πŸ“Έ README screenshots (see above)
β”‚   └── images/                # App images
β”œβ”€β”€ SQL/                       # Database schema & RLS policies
β”œβ”€β”€ android/                   # Android-specific files
β”œβ”€β”€ ios/                       # iOS-specific files
β”œβ”€β”€ web/                       # Web-specific files
β”œβ”€β”€ pubspec.yaml                # Dependencies
└── README.md                   # This file

πŸš€ Getting Started

Prerequisites

Requirement Version
Flutter SDK 3.19+
Dart SDK 3.3+
Android Studio / VS Code Latest
Supabase Account Free
Google AI Studio Account Free

Installation

# 1. Clone the repository
git clone https://github.com/Alhayek7/mental-load.git
cd mental-load

# 2. Install dependencies
flutter pub get

# 3. Set up environment variables
cp .env.example .env

Then fill in your .env:

SUPABASE_URL=your_supabase_url
SUPABASE_ANON_KEY=your_supabase_anon_key
GEMINI_API_KEY=your_gemini_api_key
OPENAI_API_KEY=your_openai_api_key
# 4. Run the app
flutter run

πŸ“… Development Timeline (7 Days)

Day Tasks Lead
Day 1 Project setup, Supabase, Auth screens Wesam + Ahmed
Day 2 Dashboard, Check-in screen, Database integration Wesam + Ratul
Day 3 BERT integration + Gemini API Ahmed + Ratul
Day 4 Human-in-the-Loop + Guardrails Ayat + Raghad
Day 5 Forecast (ARIMA) + Analytics Ratul + Ayat
Day 6 UI improvements + Testing Raghad + Team
Day 7 Video recording + Devpost submission Entire Team

πŸ‘₯ Team GOAI

Name Role Contact
Ahmed Eid Abo Baid AI Engineer eidez1252002@gmail.com
Ayat Zaky Shehada Hamed Software Engineer ayat.zaky.hamed@gmail.com
Ratul Hasan Ruhan Machine Learning Engineer ratulhasan1644@gmail.com
Ahmed Wesam Alhayek Software Developer aalhayek7@smail.ucas.edu.ps
Raghad Mohammad Jawad AlSerhy AI Engineer raghadmohammad804@gmail.com

πŸ“„ License

Distributed under the MIT License. See LICENSE for details.

πŸ™ Acknowledgments

  • USAII β€” for organizing the Global AI Hackathon 2026
  • Harvard Business Review β€” for the "When AI Overloads Your Brain" study (March 2026)
  • Hugging Face β€” for BERT models
  • Google β€” for the Gemini API
  • OpenAI β€” for the Whisper API
  • Supabase β€” for backend infrastructure
  • Flutter β€” for the amazing framework

πŸ”— Repository: github.com/Alhayek7/mental-load Β |Β  πŸ”’ Privacy Policy: PRIVACY.md

Built with ❀️ for the USAII Global AI Hackathon 2026

⭐ Star this repository if you like the project!

Β© 2026 Team GOAI

About

AI-powered daily check-in assistant for cognitive overload detection

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages