How dr-at0mic/og-converter works
OG Converter is a Windows desktop utility that turns a drag-and-drop gesture into a radial menu for conversion, file tools, or quick actions. The main flow is file selection through the global hook and wheel, option selection, then MainWindow job handling and ConversionEngine processing into local output. The README also documents compression, archive/protection, OCR, web/document rendering, themes, settings, and tray/install capabilities. Some subsystem links are documented rather than verified in sampled implementation; those are marked dashed.
Main entry points: ConversionEngine.cs Conversion engine · MainWindow.xaml.cs Main window · RadialWheelCanvas.cs Radial wheel · GlobalHookService.cs Gesture hook
Components 23
Desktop interaction
- File selection
Services/ShellSelectionService.cs - Gesture hook
Services/GlobalHookService.cs - Radial wheel
Controls/RadialWheelCanvas.cs - Wheel rendering
Wheel/WheelPainter.cs - Main window
MainWindow.xaml.cs
File processing
- Conversion engine
Services/ConversionEngine.cs - Format registry
Services/FormatRegistry.cs - Compression
Services/CompressionService.cs - Media editing
Services/MediaEditService.cs - Document conversion
Services/DocumentEngine.cs
Specialized tools
- Browser rendering
Services/BrowserRenderService.cs - Archive creation
Services/ArchiveWriter.cs - Archive operations
Services/ArchiveService.cs - File protection
Services/ProtectionService.cs - OCR
Services/OcrService.cs
App and customization
- Wheel templates
Services/TemplateManager.cs - Job and settings models
Models/Models.cs - Settings
Services/SettingsService.cs - System tray
Services/TrayIconService.cs - Installation
Services/InstallService.cs
Other components
- Windows user
- Microsoft Edge
- Local files
Connections 23
- Windows user → File selection: selects files
- Windows user → Gesture hook: presses key
- File selection → Gesture hook: provides selection
- Gesture hook → Radial wheel: opens wheel
- Radial wheel → Wheel rendering: renders
Controls/RadialWheelCanvas.cs - Radial wheel → Wheel templates: uses template
Controls/RadialWheelCanvas.cs - Radial wheel → Main window: requests action
MainWindow.xaml.cs - Main window → Conversion engine: runs job
MainWindow.xaml.cs - Main window → Job and settings models: configures job
MainWindow.xaml.cs - Main window → Settings: loads settings
MainWindow.xaml.cs - Conversion engine → Format registry: checks formats
Services/ConversionEngine.cs - Conversion engine → Compression: delegates compression
Services/ConversionEngine.cs - Conversion engine → Media editing: delegates edits
Services/ConversionEngine.cs - Conversion engine → Document conversion: delegates documents
Services/ConversionEngine.cs - Document conversion → Browser rendering: renders pages
Services/DocumentEngine.cs - Conversion engine → Archive creation: writes archives
Services/ConversionEngine.cs - Conversion engine → Archive operations: extracts archives
Services/ConversionEngine.cs - Conversion engine → File protection: protects files
Services/ConversionEngine.cs - Conversion engine → OCR: extracts text
Services/ConversionEngine.cs - Browser rendering → Microsoft Edge: runs browser
- Conversion engine → Local files: writes results
- Main window → System tray: initializes tray
MainWindow.xaml.cs - Main window → Installation: offers install