1
0
Fork
You've already forked code-radio
0
No description
  • Rust 100%
2025年12月18日 21:13:34 +08:00
.cargo Statically link CRT on all Windows target 2022年11月12日 10:00:18 +08:00
.github In GitHub Actions, ensure that builds and tests work in debug mode 2025年12月18日 20:49:28 +08:00
reference Code cleanup 2023年08月18日 20:56:52 +08:00
src Replace minimp3_fixed crate with minimp3 to fix Windows ARM64 build 2025年12月18日 20:26:41 +08:00
.gitignore Init project 2022年05月25日 18:50:41 +08:00
Cargo.lock Bump version to 1.0.6 2025年12月18日 21:13:34 +08:00
Cargo.toml Bump version to 1.0.6 2025年12月18日 21:13:34 +08:00
LICENSE Update README and LICENSE 2022年10月27日 20:39:50 +08:00
README.md Select station interactively ( #13 ) 2023年04月29日 12:05:42 +08:00

Code Radio CLI

Crate GitHub release (latest by date)

🎵 24/7 music designed for coding, now in your terminal!

A command line music radio client for https://coderadio.freecodecamp.org (about), written in Rust.

Screenshot

Install

  • Download prebuilt binary from GitHub release page.

  • 🪟 On Windows, install with WinGet:

    winget install code-radio-cli
    
  • 🦀 Install with Cargo:

    cargo install code-radio-cli
    

    After installation, run code-radio in command line to start. You may need to restart your shell first.

⚠ About building and running on Linux 🐧

This program uses rustaudio/cpal lib to play audio, which requires ALSA development files on Linux.

In order to build and run this program on Linux, you need to install:

  • libasound2-dev on Debian / Ubuntu
  • alsa-lib-devel on Fedora

Usage

code-radio [OPTIONS]
OPTIONS:
 -h, --help Print help information
 -n, --no-logo Do not display logo
 -s, --select-station Manually select a station
 -v, --volume <VOLUME> Volume, between 0 and 9 [default: 9]
 -V, --version Print version information