Skip to content
/ valveFM Public

Vintage FM radio TUI for streaming stations from radio-browser.info.

License

Notifications You must be signed in to change notification settings

Zorig/valveFM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Valve FM

Vintage FM radio TUI for streaming stations from radio-browser.info.

Install

Homebrew (macOS / Linux)

brew tap zorig/tap
brew install valvefm

Chocolatey (Windows)

choco install valvefm

From source

Requirements

  • Go 1.24+
  • Audio Backend: Built-in pure Go MP3 player (no external deps).
  • Optional: mpv or ffplay for AAC/OGG support and better streaming stability.
    • Windows: automatically downloads ffplay.exe if needed.

Run (TUI + Tray)

go run ./cmd/radio-tray

Notes:

  • The app always runs with the tray enabled.
  • macOS/Linux socket path: ~/.config/valvefm/ctl.sock
  • Windows address file: ~/.config/valvefm/ctl.addr
  • Windows auto-downloads ffplay.exe on first run if no player is found.

⚠️ Windows SmartScreen Warning

When running valvefm-windows-amd64.exe for the first time, Windows might show a "Windows protected your PC" warning because the app is unsigned.

  1. Click More info.
  2. Click Run anyway. (This is normal for open-source software without an expensive code signing certificate.)

Windows build note

If you want the TUI visible, build without the GUI subsystem:

GOOS=windows GOARCH=amd64 go build -o valvefm.exe ./cmd/radio-tray

Keybindings

  • Left / Right: tune dial
  • Up / Down: browse stations
  • Enter: play station
  • Space: stop / resume
  • L: choose country (searchable list)
  • /: search stations
  • F: toggle favorite
  • T: change theme
  • ?: help
  • Q / Ctrl+C: quit

Notes

  • Stations are fetched from the Radio Browser API and sorted by popularity.
  • Country selection uses a searchable list from the API.
  • Favorites are saved to ~/.config/valvefm/favorites.json.
  • Theme preference is saved to ~/.config/valvefm/config.json.
  • 12 built-in themes: Vintage, Tokyo Night, Nord, Catppuccin Mocha/Latte, Gruvbox Dark, Dracula, Solarized Dark, One Dark, Rose Pine, Kanagawa, Everforest.

Smoke Test Checklist

  • Launch: go run ./cmd/radio-tray starts TUI and tray.
  • Country selector: L opens list, filter works, Enter loads stations.
  • Playback: Enter starts audio, Space stops/resumes.
  • Next/Prev: tray controls move station and auto-play.
  • Search: / filters stations and restores when cleared.
  • Quit: tray Quit and Q cleanly stop playback.

Licenses

Valve FM may download ffplay.exe on Windows. Include THIRD_PARTY_NOTICES.md in your distribution and follow FFmpeg's license terms.

About

Vintage FM radio TUI for streaming stations from radio-browser.info.

Resources

License

Stars

Watchers

Forks

Packages

No packages published