Block distractions. Start focus sessions. Stay locked in.
DeepFocus is a minimalist Chrome extension designed to help you stay focused by blocking distracting websites during timed sessions. Choose your discipline level—Easy Mode for flexibility or Hard Mode for zero compromises.
-
Timed Focus Sessions
Set a duration and stay locked in until the timer ends. -
Custom Site Blocking
Add any websites you want to block (e.g., YouTube, Instagram, etc.). -
Easy Mode
Allows temporary overrides using "End Session" button -
Hard Mode
No bypass. No excuses. Stay committed till the end. -
Real-time Progress Tracking
Visual timer and session progress in the popup. -
Clean Block Screen UI
Minimal and motivating interface when you hit a blocked site.
-
Go to the Releases section of this repository
-
Download the latest
.zipfile -
Extract the zip file
-
Open Chrome and go to:
chrome://extensions/ -
Enable Developer Mode (top right)
-
Click Load Unpacked
-
Select the project folder
- Start a focus session from the popup
- Select:
- Mode (Easy / Hard)
- Duration
- Sites to block
- During the session:
- Blocked sites redirect to a focus screen
- Easy mode allows temporary override
- Hard mode enforces strict blocking
- Chrome Extension (Manifest V3)
- JavaScript (Vanilla)
- Chrome APIs:
- storage
- tabs
- alarms
├── manifest.json
├── background.js # Service worker (core logic)
├── popup.js # Popup UI logic
├── popup.css # CSS
├── popup.html # Extension screen
├── blocked.html # Block screen UI
├── rules.json # (Reserved for future use)
├── icons/ # Extension icons
- Sync across devices
- Statistics / focus analytics
- Custom motivational messages
- Whitelist mode
- Dark/Light theme toggle
MIT License
Pull requests are welcome. For major changes, please open an issue first to discuss what you'd like to change.
If you find this useful, consider giving the repo a star.