Varveil is a YouTube video downloader that prioritizes 4K resolution and uploads the downloaded videos to Litterbox for temporary storage.
Downloads YouTube videos in the highest available quality (4K → 2K → 1080p).
Automatically uploads videos to Litterbox.
Supports manual and default URL input.
- Clone the Repository
git clone https://github.com/Celesth/Varveil.git
- Install Dependencies
pip install -r requirements.txt- Replit ( For Replit Users )
In Replit, you can install ffmpeg using Nix by adding it to your replit.nix file.
Steps to Add ffmpeg in Replit:
1. Open your Replit project.
2. Look for a file named replit.nix (if it doesn’t exist, create it).
3. Add or modify the file with this content:
{ pkgs }: {
deps = [
pkgs.ffmpeg # Installs ffmpeg
];
}
4. Save the file.
5. Click the "Run" button in Replit or restart the shell by typing:
nix-env -iA nixpkgs.ffmpeg
Verify Installation
Run the following command in the Replit shell to check if ffmpeg is installed:
ffmpeg -version
Now yt-dlp should be able to merge video and audio without issues.- Create a config.py file and add:
URL = "https://example.com/default-video" # if cannot enter the link via the IDE Your runing on
TIME = "1h" # Litterbox storage durationRun the script:
python main.pyYou will be prompted to enter a YouTube video URL. If left blank, it will use the default URL from The config.py
Uses yt-dlp for downloading.
Uses Litterbox for temporary file storage.
Uses FFMPEG For Merging Video And Audio Together