A Chrome extension that combines a Pomodoro timer with mood-based Spotify music and a floating desktop widget.
- Type any duration from 1-120 minutes
- Real-time updates as you type
- Input disabled while timer is running
- Auto-reset when timer stops
- Automatically appears when you start the timer
- Bottom right corner of your screen
- Draggable - move it anywhere
- Music controls - play/pause music, pause timer, stop timer
- Auto-hides when timer completes
- Energetic - Rap, Jungle/Rally, Hip-hop
- Sleep - Slow, calming piano
- Ambient - Tree/forest sounds, rain, nature
- Chill Study - Chill study lofi playlist
- Black & white minimalist design
- Draggable sections - rearrange as you like
- Frosted glass effects and smooth animations
- Responsive design that works on any screen size
- Go to
chrome://extensions/ - Find "Archon - Focus Timer"
- Click 🔄 Reload button
- Wait for it to reload completely
- Click the extension icon to open popup
- Type any number in the timer input (e.g., 45 for 45 minutes)
- Watch the display update in real-time
- Click "Start" to begin your session
- When you click "Start", a desktop widget appears in bottom right
- Drag it around your screen
- Use the controls:
- ▶/⏸ - Play/pause music
- ⏸ - Pause timer
- ⏹ - Stop timer
- Close it with the × button
- Click any mood button (Energetic, Sleep, Ambient, Chill Study)
- Use music controls in the popup or desktop widget
- Watch the status update with current mood
- ✅ No more inline scripts
- ✅ All JavaScript in external files
- ✅ Proper event listeners
- Check console for errors
- Make sure timer actually started (button should say "RUNNING")
- Look in bottom right corner of your screen
- Try dragging the popup to see if widget is behind it
- Check console for error messages
- Verify Spotify connection (click "Connect" if needed)
- Make sure you're testing from the extension popup, not a regular webpage
- Check Spotify is open on your device
- Verify authentication in the extension
- Check console for API errors
- Try different mood playlists
├── popup.html # Main extension popup
├── popup.js # Popup functionality
├── background.js # Background service worker
├── manifest.json # Extension configuration
├── floating-timer.html # Standalone floating timer (for testing)
├── floating-timer.js # Floating timer functionality
└── test-floating-timer.html # Test page
- ✅ Custom timer input works (type any number 1-120)
- ✅ Desktop widget appears automatically when timer starts
- ✅ Widget is draggable around your screen
- ✅ Music controls work in both popup and widget
- ✅ No CSP errors in console
- ✅ Timer counts down properly
- ✅ Progress bar updates in real-time
- Test from extension popup, not regular web pages
- Spotify must be open for music to work
- Desktop widget appears on the webpage, not as a system overlay
- All sections are draggable - rearrange as needed
- Timer input disabled while running to prevent conflicts
When everything works correctly, you should see:
- No CSP errors in console
- Desktop widget appears in bottom right when timer starts
- Widget is fully functional with music controls
- Custom timer duration works as expected
- Smooth animations and responsive UI
Happy focusing! 🎯✨