Skip to content
Mansoor1122Public

About

Unlike traditional screen-time apps, DoomGuard uses generative AI to provide personalized behavioral insights rather than static statistics.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

🛡️ DoomGuard — AI Scroll Addiction Detector

Fight Doomscrolling. Reclaim Your Focus.

DoomGuard is an AI-powered Android application that detects unhealthy scrolling behavior and provides personalized digital wellness insights using the Google Gemini API.

Built for the Hack Days Ankara hackathon challenge, DoomGuard combines behavioral analytics, screen-time monitoring, and generative AI to help users better understand and reduce excessive social media usage.


🚀 Features

📊 Smart Usage Tracking

DoomGuard tracks:

  • Social media usage duration
  • Continuous scrolling sessions
  • Late-night phone activity
  • Most-used applications
  • Screen-time patterns

Supported platforms include:

  • Instagram
  • TikTok
  • YouTube
  • Facebook
  • Twitter/X
  • Snapchat

🧠 AI-Powered Insights (Google Gemini)

Using the Gemini API, DoomGuard generates:

  • Behavioral analysis
  • Doomscrolling severity assessment
  • Productivity impact insights
  • Sleep impact analysis
  • Personalized wellness recommendations
  • Motivational focus guidance

Example AI Insight:

“You spent enough time scrolling today to complete two study chapters.”


⚠️ Smart Wellness Warnings

DoomGuard intelligently detects unhealthy usage and displays real-time warnings:

  • “You’ve been scrolling for 45 minutes continuously.”
  • “Late-night scrolling may affect your sleep quality.”

🎯 Focus Mode

A distraction-reduction mode that helps users:

  • Start focus sessions
  • Reduce interruptions
  • Improve productivity
  • Stay mindful of usage habits

📈 Doomscrolling Score

DoomGuard calculates a personalized addiction score based on:

  • Session duration
  • Usage frequency
  • Nighttime activity
  • Social media exposure

Risk Levels:

  • 🟢 Healthy
  • 🟡 Moderate
  • 🟠 High
  • 🔴 Severe

🏗️ Tech Stack

Android

  • Kotlin
  • Jetpack Compose
  • MVVM Architecture

AI Integration

  • Google Gemini API

Background Monitoring

  • UsageStatsManager
  • Accessibility Services

Networking

  • Retrofit
  • OkHttp

Async Processing

  • Kotlin Coroutines

📱 Screens

  • Splash Screen
  • Onboarding
  • Permission Setup
  • Home Dashboard
  • Usage Analytics
  • AI Insights
  • Focus Mode
  • Smart Warnings
  • Weekly Progress
  • Settings

🧠 How It Works

User Scrolls Social Media
        ↓
DoomGuard Tracks Usage
        ↓
Behavior Data is Processed
        ↓
Gemini AI Analyzes Patterns
        ↓
Personalized Insights Generated
        ↓
User Receives Wellness Guidance

About

Unlike traditional screen-time apps, DoomGuard uses generative AI to provide personalized behavioral insights rather than static statistics.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages