# maxaccurate/zestdrop architecture

> Architecture diagram of the GitHub repository maxaccurate/zestdrop, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/maxaccurate/zestdrop
- Repository: https://github.com/maxaccurate/zestdrop

## Overview

ZestDrop is a Windows tray-based file converter. Users drag files, choose a format or tool from a keyboard-activated wheel, and receive output beside the originals; settings windows configure tools, while background job cards expose progress and controls. Native .NET engines cover many structured formats, and a Python backend provides additional conversion/tool capabilities. The README documents the end-user workflow and major capability areas; source excerpts show native dispatch and selected engine behavior, but do not expose all UI-to-job or backend wiring, so uncertain links are omitted.

Main entry points: [`work/ZestDrop/Engines/NativeEngines.cs`](https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/NativeEngines.cs) (Native dispatch), [`work/ZestDrop/Catalog.cs`](https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Catalog.cs) (Format and tools wheel), [`work/ZestDrop/backend/worker.py`](https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/backend/worker.py) (Backend worker), [`work/ZestDrop`](https://github.com/maxaccurate/zestdrop/tree/main/work/ZestDrop) (Tool windows)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interaction["Tray interaction"]
  node_wheel["Format and tools wheel<br/>[Catalog.cs]"]
  node_toolwindows["Tool windows"]
  node_settings[("Preferences<br/>[Settings.cs]")]
  node_tray["Tray controls<br/>[TrayMenu.cs]"]
end

subgraph group_jobs["Jobs and results"]
  node_jobrunner["Native dispatch<br/>[NativeEngines.cs]"]
  node_jobcards["Progress and job controls<br/>[JobCard.cs]"]
  node_output["Output path handling"]
end

subgraph group_engines["Conversion engines"]
  node_documents["Document conversion<br/>[DocxEngine.cs]"]
  node_documentreaders["Document readers<br/>[DocumentReaders.cs]"]
  node_ebooks["E-book conversion<br/>[EbookEngine.cs]"]
  node_spreadsheets["Spreadsheet conversion"]
  node_models3d["3D model conversion<br/>[Model3DEngine.cs]"]
  node_cad["CAD conversion<br/>[CadEngine.cs]"]
  node_data["Structured data<br/>[DataEngine.cs]"]
  node_email["Email conversion<br/>[EmailEngine.cs]"]
  node_fonts["Font conversion<br/>[FontEngine.cs]"]
  node_subtitles["Subtitle conversion<br/>[SubtitleEngine.cs]"]
  node_nativeother["Image and vector engines"]
end

subgraph group_backend["Python tools"]
  node_backendworker["Backend worker<br/>[worker.py]"]
  node_backendtools["Media, document, image and archive tools"]
end

node_user(("File user"))
node_result["Saved conversion result"]

node_user -->|"drags and selects"| node_wheel
node_wheel -->|"reads wheel preferences"| node_settings
node_wheel -.->|"starts conversion"| node_jobrunner
node_user -->|"opens configured tools"| node_toolwindows
node_toolwindows -.->|"starts tool job"| node_jobrunner
node_tray -->|"shows and cancels jobs"| node_jobcards
node_jobrunner -->|"dispatches conversion"| node_documents
node_jobrunner -->|"dispatches conversion"| node_ebooks
node_jobrunner -->|"dispatches conversion"| node_spreadsheets
node_jobrunner -->|"dispatches conversion"| node_models3d
node_jobrunner -->|"dispatches conversion"| node_cad
node_jobrunner -->|"dispatches conversion"| node_data
node_jobrunner -->|"dispatches conversion"| node_email
node_jobrunner -->|"dispatches conversion"| node_fonts
node_jobrunner -->|"dispatches conversion"| node_subtitles
node_jobrunner -->|"dispatches conversion"| node_nativeother
node_documents -->|"reads input"| node_documentreaders
node_ebooks -->|"reads document formats"| node_documentreaders
node_jobrunner -->|"invokes backend"| node_backendworker
node_backendworker -.->|"dispatches tools"| node_backendtools
node_jobrunner -.->|"resolves output paths"| node_output
node_jobrunner -->|"reports progress"| node_jobcards
node_jobrunner -->|"writes converted files"| node_result
node_backendworker -->|"writes tool output"| node_result

click node_wheel "https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Catalog.cs"
click node_toolwindows "https://github.com/maxaccurate/zestdrop/tree/main/work/ZestDrop"
click node_settings "https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Settings.cs"
click node_tray "https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/TrayMenu.cs"
click node_jobrunner "https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/NativeEngines.cs"
click node_jobcards "https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/JobCard.cs"
click node_output "https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/OutputPathHelper.cs"
click node_documents "https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/Documents/Docx/DocxEngine.cs"
click node_documentreaders "https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/Documents/DocumentReaders.cs"
click node_ebooks "https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/Ebooks/EbookEngine.cs"
click node_spreadsheets "https://github.com/maxaccurate/zestdrop/tree/main/work/ZestDrop/Engines/Office/Sheets"
click node_models3d "https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/Models3D/Model3DEngine.cs"
click node_cad "https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/Cad/CadEngine.cs"
click node_data "https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/Data/DataEngine.cs"
click node_email "https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/Email/EmailEngine.cs"
click node_fonts "https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/Fonts/FontEngine.cs"
click node_subtitles "https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/Subtitles/SubtitleEngine.cs"
click node_nativeother "https://github.com/maxaccurate/zestdrop/tree/main/work/ZestDrop/Engines/Images"
click node_backendworker "https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/backend/worker.py"
click node_backendtools "https://github.com/maxaccurate/zestdrop/tree/main/work/ZestDrop/backend"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_wheel,node_toolwindows,node_settings,node_tray,node_user toneBlue
class node_jobrunner,node_jobcards,node_output toneAmber
class node_documents,node_documentreaders,node_ebooks,node_spreadsheets,node_models3d,node_cad,node_data,node_email,node_fonts,node_subtitles,node_nativeother toneMint
class node_backendworker,node_backendtools toneRose
class node_result toneIndigo
```

## Components

### Tray interaction

- [Format and tools wheel](https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Catalog.cs): `work/ZestDrop/Catalog.cs`
- [Tool windows](https://github.com/maxaccurate/zestdrop/tree/main/work/ZestDrop): `work/ZestDrop`
- [Preferences](https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Settings.cs): `work/ZestDrop/Settings.cs`
- [Tray controls](https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/TrayMenu.cs): `work/ZestDrop/TrayMenu.cs`

### Jobs and results

- [Native dispatch](https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/NativeEngines.cs): `work/ZestDrop/Engines/NativeEngines.cs`
- [Progress and job controls](https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/JobCard.cs): `work/ZestDrop/JobCard.cs`
- [Output path handling](https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/OutputPathHelper.cs): `work/ZestDrop/Engines/OutputPathHelper.cs`

### Conversion engines

- [Document conversion](https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/Documents/Docx/DocxEngine.cs): `work/ZestDrop/Engines/Documents/Docx/DocxEngine.cs`
- [Document readers](https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/Documents/DocumentReaders.cs): `work/ZestDrop/Engines/Documents/DocumentReaders.cs`
- [E-book conversion](https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/Ebooks/EbookEngine.cs): `work/ZestDrop/Engines/Ebooks/EbookEngine.cs`
- [Spreadsheet conversion](https://github.com/maxaccurate/zestdrop/tree/main/work/ZestDrop/Engines/Office/Sheets): `work/ZestDrop/Engines/Office/Sheets`
- [3D model conversion](https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/Models3D/Model3DEngine.cs): `work/ZestDrop/Engines/Models3D/Model3DEngine.cs`
- [CAD conversion](https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/Cad/CadEngine.cs): `work/ZestDrop/Engines/Cad/CadEngine.cs`
- [Structured data](https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/Data/DataEngine.cs): `work/ZestDrop/Engines/Data/DataEngine.cs`
- [Email conversion](https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/Email/EmailEngine.cs): `work/ZestDrop/Engines/Email/EmailEngine.cs`
- [Font conversion](https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/Fonts/FontEngine.cs): `work/ZestDrop/Engines/Fonts/FontEngine.cs`
- [Subtitle conversion](https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/Engines/Subtitles/SubtitleEngine.cs): `work/ZestDrop/Engines/Subtitles/SubtitleEngine.cs`
- [Image and vector engines](https://github.com/maxaccurate/zestdrop/tree/main/work/ZestDrop/Engines/Images): `work/ZestDrop/Engines/Images`

### Python tools

- [Backend worker](https://github.com/maxaccurate/zestdrop/blob/main/work/ZestDrop/backend/worker.py): `work/ZestDrop/backend/worker.py`
- [Media, document, image and archive tools](https://github.com/maxaccurate/zestdrop/tree/main/work/ZestDrop/backend): `work/ZestDrop/backend`

### Other components

- **File user**
- **Saved conversion result**

## Connections

- File user → Format and tools wheel: drags and selects
- Format and tools wheel → Preferences: reads wheel preferences (evidence: `work/ZestDrop/Catalog.cs`)
- Format and tools wheel → Native dispatch: starts conversion (evidence: `work/ZestDrop/Engines/NativeEngines.cs`)
- File user → Tool windows: opens configured tools
- Tool windows → Native dispatch: starts tool job (evidence: `work/ZestDrop/Engines/NativeEngines.cs`)
- Tray controls → Progress and job controls: shows and cancels jobs
- Native dispatch → Document conversion: dispatches conversion (evidence: `work/ZestDrop/Engines/NativeEngines.cs`)
- Native dispatch → E-book conversion: dispatches conversion (evidence: `work/ZestDrop/Engines/NativeEngines.cs`)
- Native dispatch → Spreadsheet conversion: dispatches conversion (evidence: `work/ZestDrop/Engines/NativeEngines.cs`)
- Native dispatch → 3D model conversion: dispatches conversion (evidence: `work/ZestDrop/Engines/NativeEngines.cs`)
- Native dispatch → CAD conversion: dispatches conversion (evidence: `work/ZestDrop/Engines/NativeEngines.cs`)
- Native dispatch → Structured data: dispatches conversion (evidence: `work/ZestDrop/Engines/NativeEngines.cs`)
- Native dispatch → Email conversion: dispatches conversion (evidence: `work/ZestDrop/Engines/NativeEngines.cs`)
- Native dispatch → Font conversion: dispatches conversion (evidence: `work/ZestDrop/Engines/NativeEngines.cs`)
- Native dispatch → Subtitle conversion: dispatches conversion (evidence: `work/ZestDrop/Engines/NativeEngines.cs`)
- Native dispatch → Image and vector engines: dispatches conversion (evidence: `work/ZestDrop/Engines/NativeEngines.cs`)
- Document conversion → Document readers: reads input (evidence: `work/ZestDrop/Engines/Documents/Docx/DocxEngine.cs`)
- E-book conversion → Document readers: reads document formats (evidence: `work/ZestDrop/Engines/Ebooks/EbookEngine.cs`)
- Native dispatch → Backend worker: invokes backend (evidence: `work/ZestDrop/Engines/NativeEngines.cs`)
- Backend worker → Media, document, image and archive tools: dispatches tools
- Native dispatch → Output path handling: resolves output paths (evidence: `work/ZestDrop/Engines/NativeEngines.cs`)
- Native dispatch → Progress and job controls: reports progress (evidence: `work/ZestDrop/Engines/NativeEngines.cs`)
- Native dispatch → Saved conversion result: writes converted files
- Backend worker → Saved conversion result: writes tool output
