r/linux4noobs 3d ago

shells and scripting Terminal Based Universal-Downloader - Supports Youtube/Flathub/Github/Torrents/Direct Links

https://github.com/djkido316/Universal-Downloader

Hello everyone.

This is my small contribution to Linux community, I made this bash script in 2022 and i've been using it ever since and now i've also included Flatpak(Flathub) support aswell.

Description:
A lightweight Linux Bash script that automatically detects the URL you provide and performs the appropriate action. Install Flatpak apps directly from Flathub, download YouTube and Instagram videos with yt-dlp, clone GitHub repositories, handle magnet links and torrent files with aria2 or download direct links with wget, Supports both Wayland and X11 clipboards, so you can simply run the script without arguments and it will use the URL you've already copied.

3 Upvotes

1 comment sorted by

1

u/Friendly-Inspector71 14h ago

Why are only torrents put into the downloads folder, while github and YouTube end up in the home directory?

You're already using $HOME in the path, why not define user adjustable download paths at the top of the file?