song downloader (or mp3 downloader)
Go to file
mertoalex 49193f2b8f WAIT WHAT HOW DID I FORGOR THAT AAA 2023-10-13 00:05:49 +03:00
LICENSE Create LICENSE 2023-04-18 06:54:31 +00:00 how can I forgor That ???????? 2023-10-10 22:56:04 +03:00 WAIT WHAT HOW DID I FORGOR THAT AAA 2023-10-13 00:05:49 +03:00
song fully updated lol, added 5 more distro (Fedora, CentOS/RHEL, Gentoo, Alpine BASED, Pisi) 2023-10-10 16:36:15 +03:00

song script

this script is downloads youtube links as mp3 to ~/Music folder


donate link or this

how to install

git clone
cd song
chmod +x

##if you install manually yt-dlp and ffmpeg (replace `sudo` with `doas` if you using `doas`)

#debian boi (replace `apt-get` with `nala` if you using `nala`)
sudo apt-get update
sudo apt-get install yt-dlp ffmpeg

#termux boi (source:
apt-get update && apt-get upgrade
apt-get install libexpat openssl python ffmpeg
pip install -U yt-dlp

#arch boi
sudo pacman -Syy yt-dlp ffmpeg

#void Boi
sudo xbps-install yt-dlp ffmpeg

#openSussye boi
sudo zypper install yt-dlp ffmpeg

#fedora boi
sudo dnf install yt-dlp ffmpeg

#centOS or RHEL boi
sudo yum install yt-dlp ffmpeg

#gentoo Boi
USE="$USE mp3" sudo emerge --jobs $(nproc) --verbose --ask net-misc/yt-dlp media-video/ffmpeg

#Alpine BASED
sudo apk add yt-dlp ffmpeg

#pisi boi
sudo pisi install yt-dlp ffmpeg

after installition

first test song command


if output is

[E]: There is no link!

It's installed!

now you can delete song-cmd folder!!

cd ..
rm -rf song

how to use

command link

song {link} [file name]
song cool-song


song command not found (termux)

you should att $PREFIX/local/bin to path this code makes that

export SHELL="SHELL_NAME" # replace `SHELL_NAME` with your shell, e.g. bash, zsh, fish, dash, csh etc.
echo -e "\n"'export PATH="$PREFIX/local/bin:$PATH"' >> ~/${SHELL}rc # I think It's work on most shells.