Crates.io | code-radio-cli |
lib.rs | code-radio-cli |
version | 1.0.5 |
source | src |
created_at | 2022-05-25 08:02:02.599869 |
updated_at | 2024-01-29 12:02:24.165611 |
description | A command line music radio client for https://coderadio.freecodecamp.org |
homepage | https://github.com/JasonWei512/code-radio-cli |
repository | https://github.com/JasonWei512/code-radio-cli |
max_upload_size | |
id | 593343 |
size | 369,045 |
🎵 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.
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.
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 / Ubuntualsa-lib-devel
on Fedoracode-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