code-radio-cli logo

code-radio-cli JasonWei512

Use this command to install code-radio-cli:
winget install --id=JasonWei512.code-radio-cli -e

A command line music radio client for https://coderadio.freecodecamp.org

code-radio-cli is a command-line tool designed to stream and manage music from CodeRadio, a platform dedicated to coding-related podcasts and music. This utility allows users to interact with CodeRadio directly from their terminal, providing seamless access to their favorite content without leaving the command line.

Key Features:

  • Stream high-quality audio formats such as MP3 and AAC.
  • Navigate through playlists and stations effortlessly using simple commands.
  • Support for multiple platforms, including Linux, macOS, and Windows.
  • Written in Rust, ensuring fast performance and reliability.
  • Integration with shell scripts or automation workflows for power users.

Audience & Benefit: Ideal for developers and coders who enjoy listening to music or podcasts while working. This tool provides a distraction-free way to manage your radio experience directly from the command line, allowing you to stay focused on your work while enjoying your favorite content.

code-radio-cli can be installed via winget, making it easy to set up and start using immediately.

README

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, between 0 and 9 [default: 9]
    -V, --version              Print version information
Versions
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.1.10
0.1.8
Website
License