How hosseinhayati128/stopwatch works
Stopwatch Overlay is a desktop timer overlay and project time tracker. The main workflow is to create and control independent timers, associate them with projects, record work sessions, and inspect or edit those records in the dashboard. Notes capture, periodic reviews, monitoring, and third-party sync are substantial adjacent capabilities. The graph reflects README-described features where implementation excerpts were unavailable; those edges are dashed and uncited rather than asserting inspected call paths.
Main entry points: ControllerWindow.xaml.cs Timer controller · ObsidianNotesSync.cs Obsidian notes · AppSettings.cs App settings · ProjectTimeHistory.cs Work history
Components 26
Timers and overlays
- Timer controller
StopwatchOverlay/ControllerWindow.xaml.cs - Timer sessions
StopwatchOverlay.Core/TimerSession.cs - Workspace manager
StopwatchOverlay.Core/TimerSessionManager.cs - Workspace recovery
StopwatchOverlay.Core/TimerWorkspaceStore.cs - Floating overlays
StopwatchOverlay/OverlayWindow.xaml.cs
Project tracking
- Work history
StopwatchOverlay.Core/ProjectTimeHistory.cs - Project store
StopwatchOverlay.Core/ProjectTimeStore.cs - Project dashboard
StopwatchOverlay/ProjectDashboardWindow.xaml.cs
Notes and review
- Quick capture
StopwatchOverlay/NoteEntryWindow.xaml.cs - Obsidian notes
StopwatchOverlay.Core/ObsidianNotesSync.cs - Notes viewer
StopwatchOverlay/NotesViewerWindow.xaml.cs - Periodic review
StopwatchOverlay.Core/PeriodicReview/PeriodicReviewService.cs - Review interface
StopwatchOverlay/PeriodicReview/PeriodicReviewWindow.xaml.cs
Monitoring and sync
- Internet monitor
StopwatchOverlay.Core/Internet/InternetMonitorService.cs - ActivityWatch sync
StopwatchOverlay.Core/ActivityWatch/ActivityWatchSyncService.cs - Habitica sync
StopwatchOverlay.Core/Habitica/HabiticaSyncWorker.cs - Telegram notes
StopwatchOverlay.Core/TelegramNotesSync.cs
Desktop experience
- App settings
StopwatchOverlay.Core/AppSettings.cs - Platform services
StopwatchOverlay.Core/Platform/PlatformServices.cs - Page appearance
StopwatchOverlay.Desktop/DesktopPageAppearance.cs - Theme catalog
StopwatchOverlay.Core/AppThemeCatalog.cs
Other components
- User
- Obsidian vault
- Habitica
- Telegram
- ActivityWatch
Connections 27
- User → Timer controller: controls
- Timer controller → Workspace manager: manages timers
StopwatchOverlay/ControllerWindow.xaml.cs - Workspace manager → Timer sessions: creates sessions
StopwatchOverlay.Core/TimerSessionManager.cs - Timer controller → Workspace recovery: restores workspace
StopwatchOverlay/ControllerWindow.xaml.cs - Timer controller → Floating overlays: shows timers
StopwatchOverlay/ControllerWindow.xaml.cs - Timer controller → Work history: records work
StopwatchOverlay/ControllerWindow.xaml.cs - Timer controller → Project store: persists projects
StopwatchOverlay/ControllerWindow.xaml.cs - Project dashboard → Work history: reads history
- User → Project dashboard: reviews records
- User → Quick capture: captures notes
- Quick capture → Obsidian notes: saves entries
- Obsidian notes → Obsidian vault: writes dated notes
StopwatchOverlay.Core/ObsidianNotesSync.cs - Notes viewer → Obsidian notes: reads entries
- Timer controller → Periodic review: schedules reviews
StopwatchOverlay/ControllerWindow.xaml.cs - Periodic review → Review interface: requests prompt
- Review interface → Work history: aggregates activity
StopwatchOverlay/PeriodicReview/PeriodicReviewWindow.xaml.cs - Timer controller → Internet monitor: starts monitoring
StopwatchOverlay/ControllerWindow.xaml.cs - Internet monitor → ActivityWatch sync: syncs activity
- ActivityWatch sync → ActivityWatch: transfers activity
- Obsidian notes → Habitica sync: syncs tasks
StopwatchOverlay.Core/Habitica/HabiticaSyncWorker.cs - Habitica sync → Habitica: updates tasks
- Obsidian notes → Telegram notes: syncs notes
StopwatchOverlay.Core/ObsidianNotesSync.cs - Telegram notes → Telegram: forwards notes
- Timer controller → App settings: uses preferences
StopwatchOverlay/ControllerWindow.xaml.cs - App settings → Page appearance: configures pages
StopwatchOverlay.Desktop/DesktopPageAppearance.cs - App settings → Theme catalog: selects theme
StopwatchOverlay.Core/AppSettings.cs - Timer controller → Platform services: uses desktop services