A Chrome extension designed to promote digital wellbeing by helping users manage their screen time and set healthy boundaries for website usage.
- Real-time tracking of time spent on each website
- Daily statistics and usage insights
- Visual progress bars showing time limits
- Set custom time limits for specific websites
- Automatic notifications when limits are reached
- Warning notifications at 80% of time limit
- Global daily screen time limits
- Break reminders at customizable intervals
- Encouraging break suggestions and activities
- Pause/resume functionality for flexible usage
- Daily usage statistics
- Number of sites visited
- Break tracking
- Visual progress indicators
- Clean, modern design
- Full page settings interface
- Keyboard shortcuts (Ctrl/Cmd + Shift + B for breaks)
- Dark mode support
-
Download the Extension
git clone <repository-url> cd digital-wellbeing-timer
-
Open Chrome Extensions Page
- Open Chrome and navigate to
chrome://extensions/
- Enable "Developer mode" in the top right corner
- Open Chrome and navigate to
-
Load the Extension
- Click "Load unpacked"
- Select the extension directory containing
manifest.json
- The extension should now appear in your extensions list
-
Pin the Extension
- Click the puzzle piece icon in Chrome's toolbar
- Find "Digital Wellbeing Timer" and click the pin icon
- Search for "Digital Wellbeing Timer" in the Chrome Web Store
- Click "Add to Chrome"
-
Access Settings
- Right-click the Digital Wellbeing Timer icon in your Chrome toolbar
- Select "Options" to open the full settings page
- The settings page will show your current site and usage statistics
-
Configure Global Settings
- Set your daily screen time limit (default: 8 hours)
- Configure break reminder intervals (default: 30 minutes)
- Click "Save Settings" to apply changes
-
Add Site-Specific Timers
- Enter a website URL (e.g., "youtube.com")
- Set a time limit in minutes
- Click "Add" to create the timer
- When you reach 80% of a site's time limit, you'll see a warning
- At 100%, a full-screen overlay will appear encouraging you to take a break
- You can choose to take a break or continue for 5 more minutes
- Receive notifications at your set intervals
- Click notifications to see break activity suggestions
- Track your break-taking habits
- Pause Timer: Temporarily stop tracking (useful for work-related browsing)
- Reset Timer: Clear the current site's accumulated time
- Statistics: View your daily usage patterns
- Ctrl/Cmd + Shift + B: Trigger a break suggestion overlay
- Escape: Dismiss any active overlays
digital-wellbeing-timer/
βββ manifest.json # Extension configuration
βββ settings.html # Main settings page interface
βββ settings.css # Settings page styling
βββ settings.js # Settings page functionality
βββ background.js # Background service worker
βββ content.js # Content script for page interactions
βββ content.css # Content script styling
βββ icons/ # Extension icons
β βββ icon16.png
β βββ icon48.png
β βββ icon128.png
βββ README.md # This file
- Uses the latest Chrome extension manifest format
- Service worker-based background script
- Modern permissions model
- Chrome Storage Sync: Settings and preferences
- Chrome Storage Local: Site timers and usage data
- Session Management: Real-time tracking state
- All data is stored locally on your device
- No external data transmission
- Minimal permissions required for functionality
Replace the placeholder icons in the icons/
directory:
icon16.png
(16x16 pixels)icon48.png
(48x48 pixels)icon128.png
(128x128 pixels)
- Edit
settings.css
for settings page styling - Edit
content.css
for page overlay styling - All styles support dark mode and accessibility features
- Add new features by modifying the background script
- Customize notifications in
background.js
- Enhance the settings page interface in
settings.js
- Ensure all files are present in the directory
- Check that
manifest.json
is valid JSON - Verify Chrome's developer mode is enabled
- Check that the extension has necessary permissions
- Refresh the extension in
chrome://extensions/
- Clear browser cache and reload
- Verify notification permissions in Chrome settings
- Check that the extension is not paused
- Ensure break reminders are properly configured
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is open source and available under the MIT License.
For issues, questions, or feature requests:
- Create an issue in the repository
- Check the troubleshooting section above
- Review the technical documentation
Built with β€οΈ for better digital wellbeing