melors-0.2.0 is not a library.
melors
Keyboard-first terminal MP3 player written in Rust.
Highlights
- Local-only MP3 library scanning
- Fast keyboard workflow (no mouse)
- Search + queue + now playing panels
- Persistent playback state and queue
- Theme presets and visualizer modes
- Tag editing (title/artist/album) from TUI
Quick Start
Install
After the crate is published on crates.io:
Install directly from GitHub:
Linux build prerequisite (for audio backend):
If your distro is not Debian/Ubuntu (for example Defora), install equivalent ALSA development packages using your system package manager.
Runtime Paths
Created automatically on first run:
- Config:
~/.config/melors/config.toml - Database:
~/.local/share/melors/db.sqlite - Cache:
~/.cache/melors/ - Default music dir:
~/Music/melors/
Drop .mp3 files in your music dir and press r to rescan anytime.
Configuration
~/.config/melors/config.toml
= "/home/you/Music/melors"
Keybindings
App and Navigation
q: quitTab: cycle panel focus (Library <-> Queue)Up/Down: move selectionEnter: play selected track/queue item
Playback
Space: play/pausen: next trackp: previous trackLeft/Right: seek -5s / +5sShift+Left/Shift+Right: seek -10s / +10s[/]: volume down/up
Library and Queue
s: search moder: rescan music directoryf: toggle favorite on selected tracka: add selected track to queuex: remove selected queue itemShift+Up/Shift+Down(in Queue): reorder queue item
Metadata Editing
m: rename selected track title/fileM: rename selected track artistt: open tag editor (title/artist/album)
Tag editor:
Tab: next fieldEnter: saveEsc: cancel
Playback Modes and Visualizer
e: cycle repeat (Off -> One -> All)u: toggle shuffleAlt+1: visualizerCavaAlt+2: visualizerClockAlt+3: visualizerCMatrixAlt+T: cycle UI theme (Neon -> Amber -> Mono -> Forest)
Project Structure
src/
app/
actions/
boot.rs
playback.rs
queue.rs
library.rs
rename.rs
session.rs
mod.rs
state.rs
core/
config/
mod.rs
load.rs
paths.rs
model.rs
features/
player/
mod.rs
control.rs
analysis.rs
search.rs
services/
scanner/
mod.rs
io.rs
validate.rs
watcher.rs
storage/
mod.rs
migrations.rs
tracks.rs
playback.rs
queue.rs
metadata.rs
quality/
mod.rs
thresholds.rs
evaluator.rs
diagnostics.rs
release/
mod.rs
ui/
input/
dispatch.rs
normal.rs
modes.rs
selection.rs
render/
chrome.rs
lists.rs
playback.rs
visualizer.rs
theme.rs
state/
model.rs
mode.rs
cache.rs
config/
quality-thresholds.toml
scripts/
quality-gate.sh
Development
Quality Gate
Run the same quality gate locally as CI:
Threshold registry:
config/quality-thresholds.toml
Release Readiness Gate
Run deterministic release/documentation readiness checks:
Outputs:
artifacts/release/checksums-<candidate-id>.txtartifacts/release/release-summary-<candidate-id>.mdartifacts/release/approval-events.log
Release gate inputs:
config/release-policy.tomlconfig/docs-sync-checklist.md- Release notes reference path (
RELEASE_NOTES_PATH, defaults todocs/README.md)
License
MIT. See LICENSE.