A TUI radio player making use of Radio Browser API and Bubbletea.

Internal player version (requires CGO):
go install github.com/dancnb/sonicradio/cmd/sonicradio@latest
External players only (no CGO):
go install github.com/dancnb/sonicradio/cmd/sonicradio_external@latest
Depending on version (for the internal player implementation), some additional prerequisites are needed based on the platform (ex: CGO required for non-Windows), since this project uses https://github.com/gopxl/beep, respectively https://github.com/ebitengine/oto.
One of the following tools must be installed and available in the PATH: - Mpv : https://mpv.io/ - FFplay : https://ffmpeg.org/ffplay.html, comes bundled with ffmpeg - VLC: https://www.videolan.org/vlc/ - MPlayer: http://www.mplayerhq.hu/design7/dload.html - Music Player Daemon: https://www.musicpd.org/
After the installation, the command to run the application:
sonicradio #sonicradio_external
Available options:
-debug: creates a log file "sonicradio-[epoch millis].log" in OS specific temp dir
| Key(s) | Action |
|---|---|
| ↑/k | up |
| ↓/j | down |
| ctrl+f/pgdn | next page |
| ctrl+b/pgup | prev page |
| g/home | go to start |
| G/end | go to end |
| enter/l | play |
| space | pause/resume |
| - | volume - |
| + | volume + |
| ←/< | seek backwards |
| →/> | seek forward |
| i | station info |
| f | favorite station |
| a | autoplay station |
| A | add custom station |
| d | delete station |
| p/shift+p | paste deleted station |
| / | filter results |
| s | open search view |
| # | go to station number |
| esc | go to now playing |
| shift+tab | go to prev tab |
| tab | go to next tab |
| v | change view |
| ? | toggle help |
| q | quit |
Sonicradio is licensed under the MIT License.
Bubbletea MIT License
$ claude mcp add sonicradio \
-- python -m otcore.mcp_server <graph>