Skip to content
CAI
Software that uses CAICheck a score

hrkfdn/ncspot

64.7

Adequate · 14 November 2026

13.4k

lines of production code

Rust

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Added desktop entry for ncspot

A new desktop entry file (ncspot.desktop) has been added to the misc directory, enabling the application to be properly recognized and launched from desktop environments. This includes setting the application name, icon, execution command, and categorizing it under Audio/Video players.

misc · high confidence

Added xtask automation for generating man pages and shell completions

A new \xtask\ utility has been introduced to automate the generation of documentation and shell integration artifacts. Users can now run \cargo xtask generate-manpage\ to automatically create man pages for the application, and \cargo xtask generate-shell-completion\ to generate completion scripts for supported shells (bash, zsh, fish, elvish, and powershell). This change centralizes these generation tasks within the build toolchain, ensuring that documentation and shell integrations are kept in sync with the command-line interface definitions.

xtask · high confidence

Initial project scaffolding and configuration

This change establishes the foundational project structure for ncspot, introducing essential configuration and development files. It adds an \.editorconfig\ to enforce consistent coding styles (4-space indentation, UTF-8, 100-character line limits for Rust and Markdown) and a \rust-toolchain.toml\ to pin the Rust toolchain to version 1.98.1 with specific components. A \build.rs\ script is included to embed the Git commit hash into the application's version string for easier debugging. Additionally, it provides a \shell.nix\ file for reproducible Nix-based development environments and updates \.gitignore\ to exclude generated resources, IDE files, and log files.

(repo-wide) · high confidence

Introduce tabbed views for album and artist pages

The album and artist detail pages now use a tabbed interface to organize content. The album view presents separate tabs for tracks and artists, while the artist view includes tabs for saved tracks, top 10 tracks, albums, singles, and related artists. This change improves navigation by grouping related information within a single view rather than requiring separate screens or scrolling through a single long list.

src/ui · high confidence

New model layer for Spotify entities

The application now uses a dedicated \src/model\ module to represent Spotify entities, introducing new structs for Album, Artist, Category, Episode, Playlist, Show, and Track, along with a unified \Playable\ enum. This change enables specific user-facing behaviors such as displaying the playlist owner's name, supporting custom track formatting via the \track\_format\ configuration option, and implementing playlist sorting by title, duration, album, date added, or artist.

src/model · high confidence

Architecture

Major architectural refactor and dependency upgrades

The application has undergone a significant structural overhaul, migrating the TUI backend from Cursive 0.17 to 0.21.0 and upgrading the underlying Spotify playback engine from librespot 0.3.0 to 0.7.0. The codebase has been reorganized into a modular architecture with dedicated files for authentication, IPC, and command management, replacing the previous monolithic structure. Additionally, the MPRIS implementation has been rewritten to use the zbus library, and the IPC socket mechanism has been updated to use Unix domain sockets for better cross-platform compatibility and stability.

src · high confidence

Dependencies

Release ncspot 1.4.0 with Rust 2024 edition and dependency updates

This release updates the project to version 1.4.0 and migrates the Rust edition to 2024. It includes a comprehensive update of dependencies, notably upgrading \clap\ to 4.6.1, \cursive\ to 0.21.1, \librespot\ to 0.8.0, and \reqwest\ to 0.13. The build system now includes an \xtask\ workspace member for managing tasks like manpage generation, and the package metadata is updated for Debian packaging with new assets and dependencies.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 65 → 65 (-0.6)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 89 → 86 (-3.2)
  • Architecture 95 → 95 (+0.0)
  • Maturity 54 → 58 (+3.7)
  • Readiness 72 → 71 (-0.9)
  • Security 64 → 57 (-7.0)
  • Event Sourcing 100 → 100 (+0.0)
  • Performance 100 → 100 (+0.0)

Resolved (22)

  • Duplicated block (10 lines × 2) (src/mpris.rs)
  • Duplicated block (10 lines × 3) (src/model/track.rs)
  • Duplicated block (10–11 lines × 3) (src/model/album.rs)
  • Duplicated block (11 lines × 2) (src/library.rs)
  • Duplicated block (12 lines × 6) (src/ui/search_results.rs)
  • Duplicated block (13 lines × 2) (src/ui/cover.rs)
  • Duplicated block (2–7 lines × 3) (src/model/track.rs)
  • Duplicated block (5 lines × 2) (src/model/album.rs)
  • Duplicated block (5 lines × 2) (src/ui/listview.rs)
  • Duplicated block (7 lines × 2) (src/model/track.rs)
  • Duplicated block (7 lines × 3) (src/model/album.rs)
  • Duplicated block (8 lines × 2) (src/model/album.rs)
  • Duplicated block (8 lines × 4) (src/spotify_api.rs)
  • Duplicated block (9 lines × 3) (src/model/album.rs)
  • Duplicated block (9 lines × 3) (src/model/track.rs)
  • Further sole-owners (lower concentration)
  • Medium vulnerability: [GHSA redacted] (Cargo.lock)
  • Medium vulnerability: RUSTSEC-2026-0346 (Cargo.lock)
  • Members sharing a duplicated core (4 members, 50+ identical tokens) (src/spotify_api.rs)
  • Near-duplicate member pair (31 shared lines) (src/model/track.rs)
  • …and 2 more

New (48)

  • Duplicated block (10 lines × 3) (src/model/track.rs)
  • Duplicated block (10–11 lines × 3) (src/model/album.rs)
  • Duplicated block (11 lines × 2) (src/library.rs)
  • Duplicated block (11 lines × 2) (src/mpris.rs)
  • Duplicated block (12 lines × 6) (src/ui/search_results.rs)
  • Duplicated block (14 lines × 2) (src/ui/cover.rs)
  • Duplicated block (2–7 lines × 3) (src/model/track.rs)
  • Duplicated block (5 lines × 2) (src/model/album.rs)
  • Duplicated block (7 lines × 2) (src/model/track.rs)
  • Duplicated block (7 lines × 3) (src/model/album.rs)
  • Duplicated block (8 lines × 2) (src/model/album.rs)
  • Duplicated block (9 lines × 2) (src/model/album.rs)
  • Duplicated block (9 lines × 2) (src/ui/listview.rs)
  • Duplicated block (9–10 lines × 4) (src/spotify_api.rs)
  • Edited copies of one member (4 members, 25+ corresponding lines) (src/library.rs)
  • Edited copies of one member (8 members, 10+ corresponding lines) (src/spotify_api.rs)
  • Edited copy of a member (10 corresponding lines) (src/library.rs)
  • Edited copy of a member (11 corresponding lines) (src/model/album.rs)
  • Edited copy of a member (11 corresponding lines) (src/serialization.rs)
  • Edited copy of a member (12 corresponding lines) (src/model/album.rs)
  • …and 28 more

Changes since last survey

  • 6 commits — 4 feature/other, 2 fixes

By area

  • (root) — 3 commits
  • .github/workflows — 2 commits
  • src/model — 1 commit

Notable commits

  • fix: fix(windows): build with crossterm so wide characters render correctly (#1898)
  • fix: fix: handle playlists that fail to load (#1884)
  • change: chore(ci): Update macOS runner to latest (#1899)
  • change: chore(deps): bump rustls from 0.23.45 to 0.23.46 (#1900)
  • change: chore(deps): bump the cargo group with 2 updates (#1901)
  • change: chore: Release 1.5.1

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

hrkfdn/ncspot was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 02486268c9b9145048de9abe3e7c5bd2a4bd5d41 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-e1a3b69fc8ee.