Download Songs, Podcasts and other audio files from YouTube with a sleek TUI. 🎵
SoundSnatch is a modern Terminal User Interface (TUI) tool rewritten in Go using the Bubble Tea framework. It allows users to download songs, podcasts, and entire playlists from YouTube and YouTube Music with ease, featuring an interactive directory picker and customizable filenames.
- Sleek TUI: Powered by Bubble Tea and Lip Gloss for a beautiful terminal experience.
- Playlist Support: Download entire playlists from YouTube or YouTube Music into dedicated folders.
- Interactive Directory Picker: Browse and select download destinations using a built-in file picker.
- On-the-fly Folder Creation: Create new subfolders directly within the TUI to organize your music.
- Customizable Filenames: Automatically suggests video titles as filenames, with full editing support.
- Cross-Platform: Natively compiled for Linux and macOS.
- Go 1.21+: Required to build the application.
- yt-dlp: Required for audio extraction. We recommend the latest native binary.
# Linux (example using curl to install locally) mkdir -p ~/.local/bin curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o ~/.local/bin/yt-dlp chmod a+rx ~/.local/bin/yt-dlp
git clone https://github.com/maskedsyntax/soundsnatch.git
cd soundsnatchgo build -o soundsnatch .
# Move it to your path if desired
sudo mv soundsnatch /usr/local/bin/Or install directly via Go:
go install .- Launch SoundSnatch:
soundsnatch
- Enter URL: Paste a YouTube video or playlist URL.
- Choose Destination:
- Use arrows/
j/kto navigate. - Press
Enter/l/→to enter folders. - Press
nto create a new folder. - Press
sto select the highlighted folder. - Press
Sto select the current browsing directory.
- Use arrows/
- Name Your Download: Edit the suggested filename or provide a folder name for playlists.
- Download: Watch the spinner as SoundSnatch handles the extraction and conversion to MP3.
- yt-dlp not found: Ensure
yt-dlpis in your$PATH. - Invalid URL: Ensure the URL is accessible and valid.
- Permission Denied: Check write permissions for the target directory.
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
- Charm Bracelet for the amazing Bubble Tea TUI ecosystem.
- yt-dlp for the powerful media extraction engine.