MCPcopy Index your code
hub / github.com/JasonWei512/code-radio-cli

github.com/JasonWei512/code-radio-cli @v1.0.6

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.6 ↗ · + Follow
65 symbols 106 edges 11 files 16 documented · 25%
What it actually does AI analysis from the code graph — generated when you open this
loading…
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

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

Core symbols most depended-on inside this repo

update_progress_bar
called by 4
src/main.rs
set_volume
called by 4
src/player.rs
humanize_seconds_to_minutes_and_seconds
called by 2
src/utils.rs
update_song_info_on_screen
called by 2
src/main.rs
get_progress_bar_prefix
called by 2
src/main.rs
get_message
called by 2
src/code_radio_api.rs
get_stations_from_message
called by 2
src/code_radio_api.rs
next
called by 2
src/mp3_stream_decoder.rs

Shape

Function 30
Class 19
Method 15
Enum 1

Languages

Rust100%

Modules by API surface

src/main.rs12 symbols
src/models/code_radio.rs11 symbols
src/mp3_stream_decoder.rs9 symbols
src/update_checker.rs8 symbols
src/player.rs8 symbols
src/terminal.rs6 symbols
src/code_radio_api.rs4 symbols
src/utils.rs3 symbols
src/models/server_sent_events.rs3 symbols
src/args.rs1 symbols

For agents

$ claude mcp add code-radio-cli \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact