How atharvasrivastava09/focus-room works
This repository appears to be a browser-based focus and productivity app: its files cover a Pomodoro timer, task tracking, ambient sound mixing, and focus statistics. The timer, tasks, and sound controls persist state in browser storage; the statistics code builds charts from placeholder data. The source excerpts do not show how the HTML pages load or connect to their scripts, so those links are left out.
Main entry points: audio.js Sound Mixer · timer.js Pomodoro Timer · tasklist.js Task Manager · storage.js Statistics Charts
Components 12
Focus Timer
- App Home
index.html - Pomodoro Timer
js/timer.js
Task Tracking
- Task Page
assets/tasks.html - Task Manager
js/tasklist.js
Ambient Audio
- Sound Page
assets/sounds.html - Sound Mixer
js/audio.js - Sound Tracks
assets/sounds
Focus Insights
- Statistics Page
assets/stats.html - Statistics Charts
js/storage.js
Other components
- Browser Storage
- Browser Audio
- Chart Library
Connections 6
- Pomodoro Timer → Browser Storage: persists timer state
js/timer.js - Task Manager → Browser Storage: saves tasks
js/tasklist.js - Sound Mixer → Browser Storage: saves mixer state
js/audio.js - Sound Mixer → Browser Audio: plays tracks
js/audio.js - Sound Mixer → Sound Tracks: loads tracks
js/audio.js - Statistics Charts → Chart Library: creates charts
js/storage.js