Skip to content

Anurag300705/Hocus-Focus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hocus-Focus

HocusFocus

📃 Overview

We are building HocusFocus, a flow State Guardian app. The problem we're addressing is the constant struggle with digital distractions—like social media, notifications, and wandering attention—which makes it hard for people to maintain deep focus and productivity. Many existing tools block websites but don’t help users understand or improve their focus. Our goal is to create a system that monitors attention and provides real-time feedback and actionable insights to help users achieve and sustain a flow state.


🔮 Features

We aim to expand Hocus-Focus with the following features:

  • Real-time eye-tracking to monitor user focus and attention.
  • Browser extension for distraction detection and focus score.
  • An analytics dashboard visualizes focus sessions and distraction patterns.
  • Clean, accessible UI for easy session management and progress tracking.
  • Personalized focus recommendations based on user behavior.

🛠 Tech Stack

React TailwindCSS

JavaScript

React Router

NodeJS Firebase Vercel

TensorFlow

  • webgazer.js

🚀 How to Run Locally

Follow these steps to set up the project locally:

  1. Fork the Repository and go to your fork

  2. Clone the Repository

change you-repo with your github username

git clone https://github.com/your-repo/Hocus-Focus.git
cd Hocus-Focus
  1. Install Dependencies
cd frontend
npm install
cd ..
cd backend
npm install
  1. Open your browser and navigate to http://localhost:3000.

  2. Set Up Firebase

  • Create a Firebase project.
  • Enable Authentication (Email/Password).
  • Add your Firebase config in src/services/firebase.js.
  1. Start the Development Server
cd frontend
npm run dev
  1. Build the extension
npm run build
  • Now go to your browser, turn on developer mode and load the extension folder from the project.

📸 Snapshots

  • Flow Diagram

    architecture

  • Landing Page

    1-landing-page

  • Sign-up

    2-signup

  • HocusFocus Web Extension

    4-hocusfocus-extension

  • FlowState Tracking

    5 1-eye-tracking-focus 5 2-eye-tracking-distract

  • Block Sites

    3-block

  • Analytics Dashboard

    6-analytics-dashboard

  • Focus Session Dashboard

    7-focus-session


👥 Our Contributors

Feel free to contribute or report issues via GitHub! Together, we can make disaster response smarter and faster.

About

An AI - based flow state Guardian which combines three powerful elements: the psychological flow state of optimal creativity, AI technology's capabilities, and protective governance mechanisms.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors