# cyoutube

A lightweight C++ desktop app with a GUI for downloading YouTube videos from a pasted link.

## Features

- Paste a YouTube URL
- Choose an output folder
- Optional full-playlist download mode for playlist links
- Click **Download** to run `yt-dlp`
- Live log output in the app window

## Requirements

- A C++17 compiler
- `wxWidgets` development libraries
- `yt-dlp` in your shell `PATH`
- `ffmpeg` (recommended by `yt-dlp` for best format support)

## Install dependencies on macOS (Homebrew)

```bash
brew install wxwidgets yt-dlp ffmpeg
```

## Build

```bash
make
```

## Run

```bash
./cyoutube
```

## Clean

```bash
make clean
```

## Notes

- This app shells out to `yt-dlp` instead of re-implementing YouTube extraction logic in C++.
- Please follow YouTube's Terms of Service and local copyright laws when downloading content.
