GitHunt
S4

s4nym/FocusGuard

Focus Guard is a Chrome extension that helps students stay focused by filtering out YouTube videos unrelated to JEE or NEET, blocking distractions and boosting productivity.

๐Ÿ”’ Focus Guard

Focus Guard is a Chrome extension designed to help students stay focused by monitoring and filtering YouTube videos. It automatically flags or closes tabs containing content unrelated to competitive exams like JEE or NEET, helping users avoid distractions and stay productive.

๐ŸŽฏ Features

  • ๐Ÿ” Analyzes YouTube video titles in real-time.
  • โœ… Allows only JEE/NEET-related content.
  • ๐Ÿšซ Flags or closes irrelevant YouTube tabs.
  • โš™๏ธ Runs in the background with minimal system usage.

๐Ÿง  Use Case

Ideal for:

  • Students preparing for JEE/NEET.
  • Parents or mentors managing children's online study habits.
  • Productivity-focused Chrome users.

๐Ÿš€ Installation

  1. Clone or download this repository.
  2. Open Chrome and go to chrome://extensions/.
  3. Enable Developer Mode.
  4. Click Load Unpacked and select the extension folder.
  5. The Focus Guard icon will appear in your toolbar.
  6. Select the exam you are targeting.

๐Ÿ“ How It Works

Focus Guard uses AI to:

  • Check if the video title contains exam-related terms.
  • Automatically act on tabs not matching the criteria.

๐Ÿ“ท Screenshots

*image
*

๐Ÿ› ๏ธ Tech Stack

  • JavaScript
  • Groq API
  • Regex-based filtering
  • Chrome Extensions

๐Ÿฑโ€๐Ÿ’ป Developer Notes

You can use your own Groq API key by replacing the default key in the script with yours.

๐Ÿ“„ License

This project is not open source.

All rights to the source code, design, and concept of Focus Guard are reserved by the author.

You may not copy, distribute, modify, or use any part of this project or its ideas without explicit written permission from the author.

For licensing inquiries, contact: sanyamsood14@gmail.com