How kush85252-dotcom/smart-file-manager works
Smart File Manager is a local-first PyQt6 desktop application for browsing, scanning, and organizing files through deterministic categories, custom rules, and Smart Sense suggestions. The principal workflow starts at the desktop UI, where users inspect folders, review organization suggestions, and invoke file operations; eligible changes can be recorded and undone. Scanning is a separate read-only workflow, with UI controls delegating work to a background worker and scanner. The README documents additional capabilities such as monitoring, favorites, themes, and history. Relationships are limited to README statements and source-index references; unsampled implementation details are not inferred.
Main entry points: main_window.py Main Window · custom_rules.py Custom Rules · app.py Application Startup · organizer.py Organization Planner
Components 21
Application
- Application Startup
smart_file_manager/app.py - Logging Setup
smart_file_manager/logging_config.py
Desktop Interface
- Main Window
smart_file_manager/ui/main_window.py - Scan Panel
smart_file_manager/ui/scan_panel.py - Scan Worker
smart_file_manager/ui/workers.py - Folder Lists UI
smart_file_manager/ui/folder_list_page.py - Monitor UI
smart_file_manager/ui/monitor_page.py - Rule Builder UI
smart_file_manager/ui/rule_dialog.py - Themes and Scaling
smart_file_manager/ui/styles.py
Organization Services
- File Categories
smart_file_manager/categorization.py - Organization Planner
smart_file_manager/services/organizer.py - Custom Rules
smart_file_manager/services/custom_rules.py - Smart Sense
smart_file_manager/services/smart_sense.py
Filesystem Services
- Filesystem Scanner
smart_file_manager/services/scanner.py - File Operations
smart_file_manager/services/file_operations.py - Live Monitoring
smart_file_manager/services/monitor.py
Settings and History
- App Configuration
smart_file_manager/config.py - Folder List Helpers
smart_file_manager/services/folder_lists.py - Activity History
smart_file_manager/services/activity_history.py - JSON Persistence
smart_file_manager/services/json_store.py
Other components
- Desktop User
Connections 31
- Desktop User → Application Startup: launches
README.md - Application Startup → App Configuration: loads settings
smart_file_manager/app.py - Application Startup → Logging Setup: configures
smart_file_manager/app.py - Application Startup → Main Window: opens
smart_file_manager/app.py - Desktop User → Main Window: uses
README.md - Main Window → File Categories: uses categories
smart_file_manager/ui/main_window.py - Main Window → Organization Planner: requests planning
smart_file_manager/ui/main_window.py - Main Window → Custom Rules: manages rules
smart_file_manager/ui/main_window.py - Main Window → Smart Sense: uses suggestions
smart_file_manager/ui/main_window.py - Main Window → File Operations: invokes operations
smart_file_manager/ui/main_window.py - Main Window → Activity History: tracks eligible changes
smart_file_manager/ui/main_window.py - Main Window → App Configuration: reads settings
smart_file_manager/ui/main_window.py - Main Window → Scan Panel: shows scan controls
smart_file_manager/ui/main_window.py - Main Window → Folder Lists UI: shows folder lists
smart_file_manager/ui/main_window.py - Main Window → Monitor UI: shows monitoring
smart_file_manager/ui/main_window.py - Main Window → Rule Builder UI: opens rule builder
smart_file_manager/ui/main_window.py - Main Window → Themes and Scaling: applies styling
smart_file_manager/ui/main_window.py - Scan Panel → Scan Worker: starts scan
smart_file_manager/ui/scan_panel.py - Scan Worker → Filesystem Scanner: runs scan
smart_file_manager/ui/workers.py - Filesystem Scanner → File Categories: categorizes results
smart_file_manager/services/scanner.py - Folder Lists UI → Folder List Helpers: manages folders
smart_file_manager/ui/folder_list_page.py - Monitor UI → Live Monitoring: controls monitoring
smart_file_manager/ui/monitor_page.py - Rule Builder UI → Custom Rules: edits rules
smart_file_manager/ui/rule_dialog.py - Organization Planner → File Operations: executes moves
smart_file_manager/services/organizer.py - Organization Planner → File Categories: uses categories
smart_file_manager/services/organizer.py - Organization Planner → Custom Rules: evaluates rules
smart_file_manager/services/organizer.py - Custom Rules → File Categories: uses categories
smart_file_manager/services/custom_rules.py - App Configuration → Folder List Helpers: uses list helpers
smart_file_manager/config.py - Activity History → JSON Persistence: persists records
smart_file_manager/services/activity_history.py - Custom Rules → JSON Persistence: persists rules
smart_file_manager/services/custom_rules.py - Activity History → App Configuration: gets data path
smart_file_manager/services/activity_history.py