Skip to content

VirtumartOz/code-radio-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Radio CLI

Crate

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

Screenshot

Install

Install Rust, then run:

cargo install code-radio-cli

... or go to GitHub release page to get prebuilt binary.

⚠ 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
    -l, --list-stations        List all stations
    -n, --no-logo              Do not display logo
    -s, --station <STATION>    The ID of the station to play from
    -v, --volume <VOLUME>      Volume, between 0 and 9 [default: 9]
    -V, --version              Print version information

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%