A simple YouTube video/audio downloader built with Rust, using egui for the GUI and yt-dlp as the backend.
- Download YouTube videos in best quality
- Extract audio from videos (MP3 format)
- User-friendly GUI interface
- Real-time download progress
- Custom save location selection
Before running this application, make sure you have:
- Rust installed (https://rustup.rs/)
- yt-dlp installed
# For macOS (using Homebrew) brew install yt-dlp # For Linux sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp sudo chmod a+rx /usr/local/bin/yt-dlp
-
Clone the repository:
git clone https://github.com/yourusername/youtube_downloader.git cd youtube_downloader
-
Build and run:
cargo run
- Launch the application
- Paste a YouTube URL into the URL field
- Select a save location using the "Browse" button
- Toggle "audio only" if you want to extract audio (MP3)
- Click "Download" to start downloading
- Monitor the progress bar and status messages
eframe
: GUI frameworktokio
: Async runtimerfd
: File dialogyt-dlp
: YouTube download backend