# damian1421/youdl-win architecture

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

- Interactive diagram: https://gitdiagram.com/damian1421/youdl-win
- Repository: https://github.com/damian1421/youdl-win

## Overview

youdl is a small Windows batch-file GUI for downloading YouTube media through youtube-dl, with ffmpeg as a colocated prerequisite. The documented workflow is to run the batch file, follow its prompts, and save the download in the same directory. The README does not describe prompt details or internal calls, so those relationships are not expanded beyond the documented workflow.

Main entry points: [`youdl.bat`](https://github.com/damian1421/youdl-win/blob/master/youdl.bat) (Download GUI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_download["Download workflow"]
  node_gui["Download GUI<br/>[youdl.bat]"]
  node_downloads["Local downloads"]
end

subgraph group_tools["Local tools"]
  node_ytdl["youtube-dl"]
  node_ffmpeg["ffmpeg"]
end

node_user(("User"))

node_user -->|"runs and follows"| node_gui
node_gui -.->|"downloads with"| node_ytdl
node_gui -.->|"uses prerequisite"| node_ffmpeg
node_gui -->|"saves downloads"| node_downloads

click node_gui "https://github.com/damian1421/youdl-win/blob/master/youdl.bat"

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_gui,node_downloads,node_user toneBlue
class node_ytdl,node_ffmpeg toneAmber
```

## Components

### Download workflow

- [Download GUI](https://github.com/damian1421/youdl-win/blob/master/youdl.bat): `youdl.bat`
- **Local downloads**

### Local tools

- **youtube-dl**
- **ffmpeg**

### Other components

- **User**

## Connections

- User → Download GUI: runs and follows (evidence: `README.md`)
- Download GUI → youtube-dl: downloads with
- Download GUI → ffmpeg: uses prerequisite
- Download GUI → Local downloads: saves downloads (evidence: `README.md`)
