Skip to main content

Crate dapctl

Crate dapctl 

Source
Expand description

dapctl โ€” TUI/CLI sync for HiFi Digital Audio Players.

Crate layout mirrors docs/ARCHITECTURE.md. Every module exposes the minimum surface needed by cli and tui; the core logic (config, dap, scan, diff, transfer, log) is stack-agnostic and does not depend on the presentation layer.

Modulesยง

audit
cli
config
cover
Cover art fetcher: walks a library, finds album dirs without folder.jpg, queries MusicBrainz โ†’ CAA then iTunes as fallback, saves folder.jpg.
dap
diff
error
Typed error taxonomy for dapctl.
export
logging
player
scan
ssh
SSH/SFTP source support via the system ssh binary.
transcode
transfer
Execute a Plan: copy/delete with temp+rename, emit progress events, and maintain a per-run manifest so interrupted syncs can resume.
tui
Ratatui app. Every action the TUI exposes has a CLI equivalent.