How souvik-dey-2029/automation_bot works
Smart Automation Bot is a desktop-task automation CLI. A user selects an action in the menu, and main.py dispatches it; full automation additionally opens Notepad, launches a coding environment, organizes downloads, and starts the download monitor and screenshot logger in threads. Those services read settings, manipulate files or the desktop, and record events. The README also documents monitoring, screenshots, configurable settings, and multithreaded operation. Edges reflect the shown calls and documented capabilities; external desktop and filesystem effects are modeled at a high level.
Main entry points: main.py CLI and orchestration · screenshot_logger.py Screenshot logger · monitor.py Download monitor · organizer.py Downloads organizer
Components 15
CLI and orchestration
- CLI and orchestration
main.py
Desktop tasks
- Notepad opener
modules/opener.py - Environment launcher
modules/launcher.py - Screenshot logger
modules/screenshot_logger.py
File automation
- Download monitor
modules/monitor.py - Downloads organizer
modules/organizer.py
Configuration and logging
- Configuration loader
modules/config_loader.py - Automation settings
config.json - Event logger
modules/logger.py - Automation log
logs/automation_log.txt
Other components
- CLI user
- Desktop controls
- ChatGPT and GitHub
- Downloads folder
- Screenshot files
Connections 23
- CLI user → CLI and orchestration: selects action
README.md - CLI and orchestration → Notepad opener: opens Notepad
main.py - CLI and orchestration → Environment launcher: launches
main.py - CLI and orchestration → Downloads organizer: organizes downloads
main.py - CLI and orchestration → Download monitor: starts thread
main.py - CLI and orchestration → Screenshot logger: starts thread
main.py - Notepad opener → Desktop controls: types and presses
modules/opener.py - Environment launcher → Desktop controls: controls applications
modules/launcher.py - Environment launcher → ChatGPT and GitHub: opens sites
modules/launcher.py - Download monitor → Configuration loader: loads settings
modules/monitor.py - Download monitor → Downloads folder: checks files
modules/monitor.py - Download monitor → Downloads organizer: organizes on detection
modules/monitor.py - Download monitor → Event logger: logs detections
modules/monitor.py - Downloads organizer → Configuration loader: loads settings
modules/organizer.py - Downloads organizer → Downloads folder: moves files
modules/organizer.py - Downloads organizer → Event logger: logs moves
modules/organizer.py - Screenshot logger → Configuration loader: loads settings
modules/screenshot_logger.py - Screenshot logger → Desktop controls: captures screen
modules/screenshot_logger.py - Screenshot logger → Screenshot files: saves images
modules/screenshot_logger.py - Screenshot logger → Event logger: logs saves
modules/screenshot_logger.py - Configuration loader → Automation settings: reads settings
modules/config_loader.py - Event logger → Automation log: appends events
modules/logger.py - CLI and orchestration → Event logger: logs startup
main.py