From f2f761f28ca27adf36083335ea88244c4483c2c7 Mon Sep 17 00:00:00 2001 From: Conway Date: Thu, 11 Jun 2026 16:45:16 -0400 Subject: Update app.py docstring, remove dlit.md Co-Authored-By: Claude Opus 4.8 --- app.py | 4 +++- dlit.md | 38 -------------------------------------- 2 files changed, 3 insertions(+), 39 deletions(-) delete mode 100644 dlit.md diff --git a/app.py b/app.py index bbd274a..1db2353 100644 --- a/app.py +++ b/app.py @@ -1,5 +1,7 @@ #!/usr/bin/env python3 -"""dlit — a tiny terminal wrapper for yt-dlp. +"""DLit — Download It! + +a tiny terminal wrapper for yt-dlp. Paste a link at the prompt; downloads queue and run serially in the background. Commands: :mp3, :video, :none switch the active preset. diff --git a/dlit.md b/dlit.md deleted file mode 100644 index 84f449b..0000000 --- a/dlit.md +++ /dev/null @@ -1,38 +0,0 @@ -DLIt - Download It! - -A python tui wrapper for yt-dlp. - -Instead of having to remember to type yt-dlp -x --audio-format mp3 --audio-quality 0 'https://youtu.be/DXvBWE782uw?si=vgGhooy5_X0BdAPr', or use the up arrow key until I find it in my zsh history, and then clear the link arg and replace it with the next video I want to download, I wanted to make a very simple python program. - -I just want highest-quality .mp3 files of my favorite songs, and I get them from youtube using dlp if they're not on bandcamp. - -I type dlit in a terminal to open the tui (assuming I have an alias already, and if not, python ~/Documents/Repositories/dlit/app.py) - -It should open a tui with a simple input. You paste the video link like so: - -https://youtu.be/-WsmHIJ2QJY?si=-lVVj4Q4gIzSvxbF - -and it should effectively run yt-dlp -x --audio-format mp3 --audio-quality 0 (the link you just posted) - -or some variation depending on how we make this thing. - -It should download songs to Downloads. By default yt-dlp downloads to ~. - -Later on we could do a settings menu like btop has, where we press escape to see a settings block where we can configure the download folder, yt-dlp flags, etc. We'll get around to that eventually. - -Most importantly, DLIt should allow us to queue up youtube links. Typically using yt-dlp from the terminal you have to download one video at a time- our program should let us add to an ongoing queue so that I can minimize the time it takes me to get all the links ready to be downloaded. - -The queue should appear in the TUI in a 0% to 100% [ ] sort-of download progress bar. - -once that's done we need to add this to my cgit - - -Features: - -Hmm, maybe a preset system. Like you can choose between "No Preset", ".mp3", "full video" - -the default being .mp3 - -if you change a setting it goes to No Preset - - -- cgit v1.3.1