Skip to content

vaishnavkhushbu538-dotcom/FocusLock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🔒 FocusLock

FocusLock is a smart parental control app that helps students stay focused during exams by limiting game and app usage.

It tracks selected applications and automatically closes them when the time limit is exceeded.


📸 App Preview

FocusLock Screenshot


🚀 Features

  • ⏱️ Set time limit for apps
  • 🎮 Select specific apps (multi-select)
  • 📊 Real-time usage tracking
  • 🔒 Auto-close apps after time limit
  • ⚠️ Warning when time is over
  • 🎨 Clean dark UI

🧠 How It Works

  1. User sets a time limit
  2. Selects apps (games, etc.)
  3. FocusLock tracks usage
  4. When time is over → apps are automatically closed

▶️ How to Use

  1. Open the apps/games you want to track

  2. Run:

python focuslock.py
  1. Click Load Running Apps

  2. Select apps (CTRL + Click)

  3. Enter time (minutes)

  4. Click Start Focus

  5. App will track and lock apps after time limit


⚠️ Important Notes

  • Only running apps will be shown
  • Open apps before loading list
  • Closing FocusLock will stop tracking

🛠️ Tech Stack

  • Python 🐍
  • Tkinter (GUI)
  • psutil (process tracking)

▶️ Installation

pip install psutil

📂 Project Structure

FocusLock/
│── focuslock.py
│── README.md
│── screenshot.png

🎯 Future Improvements

  • 🔐 Password protection
  • ⛔ Stronger blocking system
  • 📊 Usage analytics
  • 📱 Android version

👨‍💻 Author

Harsh Vaishnav 🚀 Future Software Engineer