With the Termux + PyPi repositories you can do basically the same as you would do in a normal Linux terminal and it’s great.
I’m not a fan of having many apps on my phone and with Termux I can have yt-dlp, ffmpeg and even magick to do almost anything I want, it’s just great and I don’t know how Termux is not more popular, I hope more people will find sense in it and use it too if they see a use for it.
I use it to download stuff using
yt-dlp
on the go with predefined output settings. I’ll share my setup soon, it generates a notification with the file preview when downloading, and update the notification when the download is completed.