created using generative ai
huesik is an album-focused terminal music browser. it finds albums in your music library, displays their artwork as a color palette, and plays tracks through mpv or ffplay.
huesik is still a work in progress, hence the ugly experimental border options.
unless a file says otherwise, huesik's source code, documentation, and original assets are dedicated to the public domain under cc0 1.0 universal.
- rust with edition 2024 support
mpvorffplayavailable in yourpath
mpv is preferred when both are installed. huesik currently supports mp3 playback.
build a release binary:
cargo build --releasethen run it with:
target/release/huesik /path/to/an/albumor open the album browser in a directory:
target/release/huesik --browse ~/musicrunning without an album path opens the browser in the current directory, unless a start directory is configured.
huesik reads configuration in this order:
- a path passed with
--config ./huesik.toml~/.config/huesik/config.toml
example:
[ui]
# dark-to-light, light-to-dark, or random
color_order = "dark-to-light"
# standard, duotone, vivid, or perceptual
palette_mode = "standard"
# solid, gradient, gradient-flowing, border-flowing, or gradient-spinning
frame_mode = "gradient"
# left, center, or right
title_alignment = "center"
[player]
# auto, mpv, or ffplay
backend = "auto"
[explorer]
start_dir = "~/music"the palette mode controls how huesik extracts colors from cover art. the frame mode only controls how those extracted colors are drawn at the window edge.
| key | action |
|---|---|
enter |
play the selected track |
space |
pause or resume |
up / down |
select a track |
, / . |
previous or next track |
< / > |
seek backward or forward |
p |
cycle the palette mode |
g |
cycle the frame mode |
r |
load a random album |
v |
show or hide the volume control |
[ / ] |
lower or raise volume |
a |
queue the selected track |
A |
queue the album |
s |
queue and shuffle the album |
tab |
open or close the queue |
esc |
return to the browser |
q |
quit |
run the checks before submitting a change:
cargo fmt --check
cargo test