Small project in C using SDL3 to create a minimalist UI for downloading Youtube videos via their links.
- Creation of a graphical window using SDL3.
- Text field for entering a video link.
- Keyboard input / clipboard handling.
- Real-time display of typed text within the window.
- Video download
- Clone the repository:
git clone https://github.com/SqualFost/LoadTube.git
cd LoadTube-
Install dependencies
For macOS (Brew) :
brew install sdl3 sdl3_ttf cmake yt-dlp
For Linux (Ubuntu/Debian) :
sudo apt update sudo apt install libsdl3-dev libsdl3-ttf-dev cmake build-essential
For Windows (Chocolatey):
choco install sdl3 sdl3-ttf cmake
- Might not be available since SDL3 is new
-
Open the project in your ide and configure cmake
mkdir build
cd build
cmake ..
make
./yt-dl- An SDL window will open with a text field
- Enter the video URL then click "Download"
- Text will be displayed and be used to display the download status (not done)
- The video will be downloaded in the cmake-build-debug folder
- Everything is basic, thanks to C UI
- The video is dowloading there's just no text to display the status.