Skip to content
laika02Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

created using generative ai

huesik

huesik

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.

license

unless a file says otherwise, huesik's source code, documentation, and original assets are dedicated to the public domain under cc0 1.0 universal.

requirements

  • rust with edition 2024 support
  • mpv or ffplay available in your path

mpv is preferred when both are installed. huesik currently supports mp3 playback.

installation

build a release binary:

cargo build --release

then run it with:

target/release/huesik /path/to/an/album

or open the album browser in a directory:

target/release/huesik --browse ~/music

running without an album path opens the browser in the current directory, unless a start directory is configured.

configuration

huesik reads configuration in this order:

  1. a path passed with --config
  2. ./huesik.toml
  3. ~/.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.

controls

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

development

run the checks before submitting a change:

cargo fmt --check
cargo test

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages