Skip to content

Latest commit

 

History

History
106 lines (79 loc) · 3.09 KB

File metadata and controls

106 lines (79 loc) · 3.09 KB

Getting started with clitunes

This tutorial walks you through installing clitunes, picking your first radio station, and exploring the visualisers. By the end you'll have music playing in your terminal.

Prerequisites

  • A terminal with 24-bit color support (Ghostty, Kitty, WezTerm, iTerm2, Alacritty, or similar)
  • macOS or Linux
  • An audio output device

Install

Pick one:

brew install vxcozy/tap/clitunes                                              # Homebrew (macOS + Linux)
cargo install --git https://github.com/vxcozy/clitunes --tag v1.1.0 --locked  # Cargo

Plain cargo install clitunes from crates.io is pending the next upstream librespot release.

Or build from source:

git clone https://github.com/vxcozy/clitunes.git
cd clitunes
cargo build --release

Launch

clitunes

On first run, clitunes auto-starts its daemon (clitunesd) and shows a station picker over the default Plasma visualiser:

╭──────────────────────────────────────────╮
│       First time? Pick a starting point. │
│            You can change it anytime.    │
│                                          │
│  1. ambient                              │
│  2. classical                            │
│  3. jazz                                 │
│  ...                                     │
│                                          │
│  ↑/↓ move   enter select   s hide   q   │
│  n/p cycle viz · plasma · ripples        │
╰──────────────────────────────────────────╯

Use the arrow keys to highlight a genre, then press Enter. Audio starts streaming and the visualiser responds to the music.

Explore visualisers

Press n to cycle to the next visualiser, p to go back. Twenty-three visualisers ship with v1 across four families — a sampler:

  1. Plasma — bass-modulated plasma field (default)
  2. Ripples — concentric rings on beat transients
  3. Tunnel — fly-through depth effect
  4. Metaballs — merging/splitting blobs
  5. Wave — braille oscilloscope
  6. Fire — flickering flame simulation
  7. Matrix — falling green glyphs
  8. Sakura — cherry blossom petals (particle scene)

See guide/reference/cli.md for the full catalogue.

Or switch directly from another terminal:

clitunes viz plasma

Control playback

From any terminal (you don't need to be in the TUI):

clitunes pause
clitunes play
clitunes volume 50
clitunes next        # next station in picker order
clitunes prev        # previous station

Quit

Press q or Esc in the TUI. The daemon stays running for 30 seconds in case you relaunch — after that it exits automatically.

Next steps