Skip to content
/ YT2MP3 Public

A WinUI 3 C# application for interfacing with yt-dlp

License

Notifications You must be signed in to change notification settings

0zean/YT2MP3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YT2MP3

YT2MP3 is a WinUI 3 desktop application built using C#. It is built around yt-dlp to download audio from a YouTube link and ffmpeg to handle audio type conversions. The app is designed with the Windows 11 Mica theme and is intended to simplify the yt-dlp experience.

Features

  • YouTube Audio Download: Input a YouTube URL and download the audio directly to your local machine.
  • Playlist Support: Option to download entire playlists with a single click.
  • Destination Selection: Choose where you want to save the downloaded audio files.
  • Modern UI: Built using WinUI 3, leveraging the Mica design for a sleek Windows 11 look and feel.

Prerequisites

  • Visual Studio 2022 with the following workloads installed:
    • .NET Desktop Development
    • Desktop Development with C++ (for WinUI)
  • yt-dlp: The app uses yt-dlp to download YouTube content. The app includes a PowerShell script to install or update yt-dlp automatically.
  • ffmpeg: The app uses ffmpeg for high quality audio conversion. The app includes a PowerShell script to install ffmpeg automatically.

Installation

  1. Clone the Repository:

    git clone https://github.com/0zean/YT2MP3.git
    cd YT2MP3
  2. Open the Solution:

    • Open YT2MP3.sln in Visual Studio 2022.
  3. Build the Project:

    • Ensure all dependencies are restored, and build the solution.
  4. Install yt-dlp and ffmpeg:

    • Run the InstallUtils.ps1 PowerShell script to install or update yt-dlp and ffmepg.
  5. Run the App:

    • Start the application by pressing F5 in Visual Studio.
  6. Optionally Install the App:

    • By right-clicking the .csproj file in Visual Studio, you can select "Package and Publish" -> "Create App Packages" to generate an MSIX installer to install the app on your PC.

Usage

  1. Input YouTube URL: Enter the URL of the YouTube video or playlist in the provided input field.
  2. Select Destination: Choose the folder where you want to save the downloaded audio files.
  3. Playlist Option: Check the playlist checkbox if the provided URL is a playlist.
  4. Download: Click the download button to start the process.

Built With

  • C#
  • WinUI 3

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature).
  3. Commit your changes (git commit -m 'Add your feature').
  4. Push to the branch (git push origin feature/your-feature).
  5. Open a pull request.

License

This project is licensed under the GLP3 License - see the LICENSE file for details.

Acknowledgements

Support

If you find this project helpful, please give it a ⭐ on GitHub!

About

A WinUI 3 C# application for interfacing with yt-dlp

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published