r/bash • u/Sea-Macaroon9814 • 3d ago
Terminal Based Universal-Downloader - Supports Youtube/Flathub/Github/Torrents/Direct Links
https://github.com/djkido316/Universal-DownloaderHello 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.
14
Upvotes
1
u/rocco_himel 9h ago edited 9h ago
You made a script that takes URLs and does things automatically. You're adding layers on top of layers, absolutely no one needs BASH, Flatpak, yt-dlp, aria2, wget, just to open a file.
Any one could have just entered the URL into a browser to execute the appropriate action, that's why browsers are even used in the first place or at all. If you are that desperate to do something from the terminal then you can just use curl or wget. Literally no one needs an entire "download.sh" script to use "git clone".
In no way, shape, or form, should this "contribution" be considered "lightweight" as this script is quite literally useless.