A minimalist, lightning-fast terminal radio player written in pure Bash.
Features a searchable station database, favorite management, and Vim-style navigation.
- Online Search — Instantly search thousands of stations via the Radio-Browser API
- Favorites — Save your favorite stations to a local M3U playlist
- Vim-Style Navigation — Use
h,j,k,lto navigate menus (powered by fzf) - Popularity Sorting — Online search results are automatically sorted by votes/popularity
- Easy Installation — Comes with a built-in installer for quick setup
- fzf — Fuzzy finder for the interface
- mpv — The engine that plays the audio stream
- jq — To process API search results
- curl — To fetch station data
Clone the repository:
git clone https://github.com/woodz-dot/sh-radio.git
cd sh-radioMake the script executable:
chmod +x radioshRun the built-in installer:
./radiosh --installThis will copy the script to ~/.local/bin/radiosh.
Update your PATH (if not already done):
Bash/Zsh:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc # or ~/.zshrcFish:
fish_add_path ~/.local/binSimply type radiosh in your terminal to start:
radiosh- Select a saved favorite to play immediately
- Select
__ONLINE_SEARCH__to find new stations - Press
yafter playing an online station to add it to your favorites
Favorites are stored as a standard M3U playlist at:
~/.config/mpv/radio.m3u
MIT License — see LICENSE for details.
