How motalim-ai/adawat works
Adawat is a local, cross-platform file conversion and editing app. Its main workflow is to detect a file drag, open a modifier-key wheel, let the user choose a conversion, tool, or file action, then save or present the result. The graph combines the documented workflow with sampled macOS, Windows, and Linux entry points and shared operation capabilities. Some platform-specific and operation internals were not sampled, so their links are limited to documented behavior or omitted where ownership is unclear.
Main entry points: OperationCatalog.swift Operation catalog · Output.swift Output routing · WheelController.swift Choice wheel · MediaEngine.swift Audio video
Components 18
Desktop interaction
- Drag detection
Sources/Adawat/Drag/DragMonitor.swift - Windows app
windows/src/Adawat.App/Program.cs - Linux app
linux/src/Adawat.Linux/Program.cs - Choice wheel
Sources/Adawat/Wheel/WheelController.swift - File-manager launch
linux/src/Adawat.Linux/Desktop/FileManagers.cs
Choice and dispatch
- Operation catalog
Sources/Adawat/Operations/OperationCatalog.swift - File actions
Sources/Adawat/Operations/FileActions.swift
File operations
- Image conversion
Sources/Adawat/Operations/ImageEngine.swift - Audio video
Sources/Adawat/Operations/MediaEngine.swift - PDF tools
Sources/Adawat/Operations/PDFOps.swift - Document tools
Sources/Adawat/Operations/DocumentOps.swift - Archive tools
Sources/Adawat/Operations/ArchiveOps.swift - QR codes
Sources/Adawat/Operations/QRCode.swift
Results and settings
- Output routing
Sources/Adawat/Support/Output.swift - User settings
Sources/Adawat/App/AppSettings.swift - Floating files
Sources/Adawat/Float/FloatManager.swift
Other components
- User
- Media tools
Connections 25
- User → Drag detection: drags files
README.md - Drag detection → Choice wheel: opens on key
- User → Choice wheel: chooses mode
README.md - Windows app → Choice wheel: opens wheel
windows/src/Adawat.App/Program.cs - Linux app → Choice wheel: presents files
linux/src/Adawat.Linux/Program.cs - File-manager launch → Linux app: launches wheel
linux/src/Adawat.Linux/Desktop/FileManagers.cs - Choice wheel → Operation catalog: loads choices
Sources/Adawat/Wheel/WheelController.swift - Choice wheel → File actions: runs actions
README.md - Operation catalog → Image conversion: offers conversion
- Operation catalog → Audio video: offers conversion
- Operation catalog → PDF tools: offers tools
- Operation catalog → Document tools: offers tools
- Operation catalog → Archive tools: offers tools
- Operation catalog → QR codes: offers tools
- User → Image conversion: selects image output
- User → Audio video: selects media output
- Image conversion → Output routing: saves result
Sources/Adawat/Operations/ImageEngine.swift - Audio video → Output routing: saves result
- PDF tools → Output routing: saves result
- Document tools → Output routing: saves result
- Archive tools → Output routing: saves result
- QR codes → Output routing: saves result
- User settings → Output routing: configures location
- Audio video → Media tools: uses codecs
- File actions → Floating files: opens Float