How timowse/dropforge works
DropForge is a local-first macOS file conversion and workflow app. Users provide files through the menu bar, drag-and-drop, or the wheel; the app resolves available operations, runs jobs, tracks progress, and commits safe output copies. The graph preserves the documented image, media, document, archive, and file-action capabilities. Source-index references support the main UI-to-job and resolver relationships, but sampled excerpts do not expose the full dispatch path from jobs to each engine, so those links are omitted.
Main entry points: AppCoordinator.swift App coordinator · JobExecutor.swift Job executor · CapabilityResolver.swift Capability resolver · WheelModel.swift Wheel model
Components 28
App entry
- App coordinator
Sources/DropForgeUI/App/AppCoordinator.swift - Menu bar
Sources/DropForgeUI/App/StatusItemController.swift - Drag monitor
Sources/DropForgeUI/Drag/DragMonitor.swift - App settings
Sources/DropForgeUI/Settings/AppSettings.swift - App launch
Sources/DropForge/main.swift
Selection and choice
- File selection
Sources/DropForgeCore/Model/Selection.swift - Wheel model
Sources/DropForgeUI/Wheel/WheelModel.swift - Wheel view
Sources/DropForgeUI/Wheel/WheelView.swift - Wheel controller
Sources/DropForgeUI/Wheel/WheelController.swift - File picker
Sources/DropForgeUI/Picker/PickerWindow.swift
Jobs and output
- Job center
Sources/DropForgeUI/Progress/JobCenter.swift - Job executor
Sources/DropForgeCore/Jobs/JobExecutor.swift - Output committer
Sources/DropForgeCore/Files/OutputCommitter.swift - Output naming
Sources/DropForgeCore/Files/OutputNaming.swift
Workflow engines
- Image workflows
Sources/DropForgeEngines/ImageEngine.swift - Audio video
Sources/DropForgeEngines/MediaEngine.swift - Document workflows
Sources/DropForgeEngines/DocumentEngine.swift - Office workflows
Sources/DropForgeEngines/OfficeEngine.swift - PDF workflows
Sources/DropForgeEngines/PDFEngine.swift - Archive workflows
Sources/DropForgeEngines/ArchiveEngine.swift - File actions
Sources/DropForgeEngines/FileActions.swift
Shared core
- Operation catalog
Sources/DropForgeCore/Catalog/Catalog.swift - Capability resolver
Sources/DropForgeCore/Catalog/CapabilityResolver.swift - File formats
Sources/DropForgeCore/Model/FileFormat.swift - Engine locator
Sources/DropForgeEngines/EngineLocator.swift - FFmpeg commands
Sources/DropForgeCore/Media/FFmpegCommands.swift - Process runner
Sources/DropForgeCore/Process/ProcessRunner.swift
Other components
- User
Connections 33
- User → Menu bar: chooses files
Sources/DropForgeUI/App/StatusItemController.swift - Menu bar → App coordinator: opens selection
Sources/DropForgeUI/App/StatusItemController.swift - User → Drag monitor: drags files
README.md - Drag monitor → App coordinator: signals drag
Sources/DropForgeUI/App/AppCoordinator.swift - App launch → App coordinator: starts app
Sources/DropForge/main.swift - App coordinator → App settings: observes settings
Sources/DropForgeUI/App/AppCoordinator.swift - App coordinator → Wheel controller: opens wheel
Sources/DropForgeUI/App/AppCoordinator.swift - App coordinator → File picker: opens picker
Sources/DropForgeUI/App/AppCoordinator.swift - App coordinator → Capability resolver: resolves choices
Sources/DropForgeUI/App/AppCoordinator.swift - App coordinator → Job center: submits jobs
Sources/DropForgeUI/App/AppCoordinator.swift - App coordinator → Job executor: uses executor
Sources/DropForgeUI/App/AppCoordinator.swift - Wheel controller → Wheel model: updates model
Sources/DropForgeUI/Wheel/WheelController.swift - Wheel controller → Wheel view: displays wheel
Sources/DropForgeUI/Wheel/WheelController.swift - Wheel model → Capability resolver: resolves options
Sources/DropForgeUI/Wheel/WheelModel.swift - Wheel model → File selection: uses selection
Sources/DropForgeUI/Wheel/WheelModel.swift - Job center → Job executor: runs jobs
Sources/DropForgeUI/Progress/JobCenter.swift - Job executor → Capability resolver: checks capability
Sources/DropForgeCore/Jobs/JobExecutor.swift - Job executor → Output committer: commits outputs
Sources/DropForgeCore/Jobs/JobExecutor.swift - Output committer → Output naming: chooses names
Sources/DropForgeCore/Files/OutputCommitter.swift - Capability resolver → Operation catalog: filters operations
Sources/DropForgeCore/Catalog/CapabilityResolver.swift - Operation catalog → File formats: uses formats
Sources/DropForgeCore/Catalog/Catalog.swift - Audio video → FFmpeg commands: builds commands
Sources/DropForgeEngines/MediaEngine.swift - Engine locator → FFmpeg commands: locates helper
Sources/DropForgeEngines/EngineLocator.swift - Image workflows → Engine locator: locates helpers
Sources/DropForgeEngines/ImageEngine.swift - Office workflows → Engine locator: locates apps
Sources/DropForgeEngines/OfficeEngine.swift - Document workflows → File formats: uses formats
Sources/DropForgeEngines/DocumentEngine.swift - Archive workflows → File formats: uses formats
Sources/DropForgeEngines/ArchiveEngine.swift - Archive workflows → Process runner: runs commands
- User → Image workflows: requests conversion
README.md - User → Audio video: requests conversion
README.md - User → Document workflows: requests conversion
README.md - User → Archive workflows: requests action
README.md - User → File actions: requests action
README.md