How krezio/roomy works
Roomy is an offline Windows disk-space analyzer and safe cleanup desktop app. The main workflow is a user-triggered scan, review of categorized cleanup candidates, confirmation, and cleanup; a separate space map drills into drive contents. Optional background checks report low space or cache candidates without deleting anything. The graph also preserves settings, startup/tray control, notifications, and safety-related cleanup services. Edges are limited to calls visible in excerpts or references documented by the source index; unsampled features are represented without speculative connections.
Main entry points: MainVM.cs Cleanup view model · Scanner.cs Cleanup scanner · DesktopController.cs Desktop controller · App.xaml.cs App startup
Components 23
Desktop interaction
- App startup
src/Roomy/App.xaml.cs - Main window
src/Roomy/MainWindow.xaml.cs - Cleanup view model
src/Roomy/ViewModels/MainVM.cs - Category view model
src/Roomy/ViewModels/CategoryVM.cs - Settings window
src/Roomy/Views/SettingsWindow.xaml.cs - Custom controls
src/Roomy/Controls/Controls.cs
Space analysis
- Cleanup scanner
src/Roomy/Core/Scanner.cs - Space map view model
src/Roomy/ViewModels/SpaceMapVM.cs - Drive space scanner
src/Roomy/Core/SpaceScanner.cs - Steam library reader
src/Roomy/Core/Steam.cs
Cleanup and safety
- Cleanup executor
src/Roomy/Core/Cleaner.cs - File safety operations
src/Roomy/Core/FileOps.cs - Safe filesystem
src/Roomy/Core/SafeFs.cs - Windows shell APIs
src/Roomy/Core/Native.cs
Background features
- Desktop controller
src/Roomy/Services/DesktopController.cs - Background monitor
src/Roomy/Services/BackgroundMonitor.cs - Toast notifications
src/Roomy/Services/NotificationService.cs - Startup registration
src/Roomy/Services/StartupRegistration.cs
Shared services
- Preferences store
src/Roomy/Core/Preferences.cs - Localization
src/Roomy/Localization/Loc.cs - Demo data
src/Roomy/Core/DemoData.cs
Other components
- User
- Windows environment
Connections 31
- User → App startup: launches
README.md - App startup → Cleanup view model: creates
src/Roomy/App.xaml.cs - App startup → Desktop controller: creates
src/Roomy/App.xaml.cs - User → Main window: uses
- Main window → Cleanup view model: binds
src/Roomy/MainWindow.xaml.cs - Cleanup view model → Cleanup scanner: runs steps
src/Roomy/ViewModels/MainVM.cs - Cleanup view model → Category view model: creates
src/Roomy/ViewModels/MainVM.cs - Category view model → Cleanup view model: updates selection
src/Roomy/ViewModels/CategoryVM.cs - Cleanup view model → Cleanup executor: cleans selections
src/Roomy/ViewModels/MainVM.cs - Cleanup scanner → Steam library reader: reads library
src/Roomy/Core/Scanner.cs - Cleanup scanner → Windows environment: reads cache paths
src/Roomy/Core/Scanner.cs - Cleanup view model → Space map view model: provides map
src/Roomy/ViewModels/MainVM.cs - Space map view model → Drive space scanner: scans folders
src/Roomy/ViewModels/SpaceMapVM.cs - Space map view model → Demo data: loads sample tree
src/Roomy/ViewModels/SpaceMapVM.cs - Cleanup executor → File safety operations: delegates file ops
src/Roomy/Core/Cleaner.cs - File safety operations → Safe filesystem: checks paths
src/Roomy/Core/FileOps.cs - File safety operations → Windows shell APIs: uses shell APIs
src/Roomy/Core/FileOps.cs - Cleanup scanner → Windows shell APIs: queries recycle bin
src/Roomy/Core/Scanner.cs - App startup → Preferences store: loads settings
src/Roomy/App.xaml.cs - Desktop controller → Preferences store: saves settings
src/Roomy/Services/DesktopController.cs - Desktop controller → Background monitor: refreshes checks
src/Roomy/Services/DesktopController.cs - Desktop controller → Toast notifications: manages alerts
src/Roomy/Services/DesktopController.cs - Background monitor → Cleanup scanner: checks candidates
src/Roomy/Services/BackgroundMonitor.cs - Desktop controller → Settings window: opens settings
src/Roomy/Services/DesktopController.cs - Settings window → Desktop controller: applies preferences
src/Roomy/Views/SettingsWindow.xaml.cs - Settings window → Startup registration: configures startup
src/Roomy/Views/SettingsWindow.xaml.cs - App startup → Startup registration: handles uninstall
src/Roomy/App.xaml.cs - Toast notifications → Windows environment: shows Windows toasts
src/Roomy/Services/NotificationService.cs - Cleanup scanner → Localization: labels candidates
src/Roomy/Core/Scanner.cs - Custom controls → Windows environment: renders desktop UI
- Demo data → Steam library reader: uses library types
src/Roomy/Core/DemoData.cs