Repository navigation
readme redesign - #435
readme redesign#435
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe README updates branding, project descriptions, navigation, NixOS audio setup, CLI examples, and history sections. The Nix package definition adds shared librespot dependency hashes. The repository ignores ChangesDocumentation and packaging
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This change is merge-ready after normal checks and review; no actionable merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@README.md`:
- Around line 1-6: Update the README heading markup around the spotatui branding
to use a single centered h1 without nesting a p element inside it, and add
descriptive alt text such as “spotatui logo” to the image.
- Around line 35-39: Update the README Table of Contents around the
doctoc-generated section so the first content heading, About, is included as a
navigation entry. Either move the Table of Contents heading before About or
regenerate the doctoc block, preserving the generated-section markers and
existing Features entry.
- Around line 442-459: Update the README subsection around “If you use NixOS or
Nix in general” to clearly scope hardware.alsa.enable and services.pipewire
instructions to NixOS users only. Rename the audio-settings subsection or
separate it from the general Nix workflow, while preserving the existing nix
develop and cargo run guidance for non-NixOS users.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 2d3cae12-1a71-46a3-898d-cf8f915b1afe
📒 Files selected for processing (2)
README.mddocs/installation.md
LargeModGames
left a comment
There was a problem hiding this comment.
Thanks for the redesign, the layout direction is good. A few things need fixing before merge, the most important being the doctoc marker issue in the first comment, which will duplicate the TOC heading on the next push to main. Details inline.
| ## Table of Contents | ||
| <!-- START doctoc generated TOC please keep comment here to allow auto update --> | ||
| <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> |
There was a problem hiding this comment.
This heading is doctoc's own generated title (toc.yml sets TOC_TITLE: "## Table of Contents"), so it needs to stay inside the markers. Outside them, the workflow will insert a second copy on the next push to main.
| ## Table of Contents | |
| <!-- START doctoc generated TOC please keep comment here to allow auto update --> | |
| <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> | |
| <!-- START doctoc generated TOC please keep comment here to allow auto update --> | |
| <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> | |
| ## Table of Contents |
| > | ||
| > A community-maintained, actively developed fork of [spotify-tui](https://github.com/Rigellute/spotify-tui). | ||
| <h1 align="center"> | ||
| <img src=".github/spotatui-logo.png" alt="spotatui logo"><br> |
There was a problem hiding this comment.
The PNG is 1024x1024 and GitHub only caps images at container width, so this renders as a near-full-width square pushing the badges and demo GIF below the fold. Pinning a width fixes it.
| <img src=".github/spotatui-logo.png" alt="spotatui logo"><br> | |
| <img src=".github/spotatui-logo.png" alt="spotatui logo" width="200"><br> |
| <!-- | ||
| A community-maintained, actively developed fork of [spotify-tui](https://github.com/Rigellute/spotify-tui). | ||
| --> | ||
| Originally a fork of [spotify-tui](https://github.com/Rigellute/spotify-tui), but since then the project has diverged in multiple fronts. |
There was a problem hiding this comment.
No need to keep the old tagline in a comment, git history has it. The rendered text also drops the "community-maintained, actively developed" signal, which is the main thing someone comparing forks looks for, and "in multiple fronts" should be "on multiple fronts".
| <!-- | |
| A community-maintained, actively developed fork of [spotify-tui](https://github.com/Rigellute/spotify-tui). | |
| --> | |
| Originally a fork of [spotify-tui](https://github.com/Rigellute/spotify-tui), but since then the project has diverged in multiple fronts. | |
| A community-maintained, actively developed fork of [spotify-tui](https://github.com/Rigellute/spotify-tui) that has since diverged on multiple fronts. |
| - [Star History](#star-history) | ||
| - [Libraries used](#libraries-used) | ||
| - [Development](#development) | ||
| - [If you use NixOS or Nix in general:](#if-you-use-nixos-or-nix-in-general) |
There was a problem hiding this comment.
This TOC is stale: this entry points at #if-you-use-nixos-or-nix-in-general but the heading is now ### Nix, so the link is dead, and the new About section is missing from the list entirely. Easiest is to re-run npx doctoc README.md once the section layout settles.
| - **Lightweight.** ~78 MB RAM while streaming, versus a full Electron client. See [Performance](#performance). | ||
|
|
||
| ## Installation | ||
| ## Installation |
There was a problem hiding this comment.
Trailing space (markdownlint MD009). Same on line 148's #your other settings , plus doubled blank lines before "Using with spotifyd".
| ## Installation | |
| ## Installation |
| ### Nix | ||
| ```bash | ||
| nix develop | ||
| ``` | ||
|
|
There was a problem hiding this comment.
This duplicates step 4 right above (nix develop github:LargeModGames/spotatui), which makes five places that now give diverging Nix instructions. Suggest dropping this subsection and keeping the step-4 line as the one dev-shell reference.
| ### Nix | |
| ```bash | |
| nix develop | |
| ``` | |
| nix develop | ||
| cargo install --path . |
There was a problem hiding this comment.
nix develop requires the nix-command/flakes experimental features, so this fails on a stock Nix install, and since default.nix is a standalone non-flake derivation, this change removes the last documented flake-free path. Suggest keeping nix-build here (flakes users already have the flake instructions in the README).
| nix develop | |
| cargo install --path . | |
| nix-build |
There was a problem hiding this comment.
nix-build didn't work, it was a B option. I understand your concerns, added the same hash to default.nix too, nix-build works now. It will be in the next commit.
Co-authored-by: LargeModGames <[email protected]> Signed-off-by: Szabó István <[email protected]>
Co-authored-by: LargeModGames <[email protected]> Signed-off-by: Szabó István <[email protected]>
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@result`:
- Line 1: Remove the generated absolute result symbolic link from version
control and add result to the repository’s ignore configuration so future Nix
build artifacts are not tracked.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: e8c7c31e-ed11-4fae-ba27-5046932b21f0
📒 Files selected for processing (3)
README.mddefault.nixresult
| @@ -0,0 +1 @@ | |||
| /nix/store/8kz8xmcmnr3i7kggr1i6qs4wyiczx479-spotatui-0.34.3 No newline at end of file | |||
There was a problem hiding this comment.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Remove the generated absolute result link from the repository.
Line 1 points to a machine-specific Nix store path. A clean checkout on another machine receives a dangling result link. Remove result from version control and ensure it is ignored.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@result` at line 1, Remove the generated absolute result symbolic link from
version control and add result to the repository’s ignore configuration so
future Nix build artifacts are not tracked.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.gitignore:
- Around line 29-33: Clean up the unresolved merge markers in .gitignore by
removing the lines beginning with “<<<<<<< HEAD”, “=======”, and “>>>>>>>
origin/main”, while preserving the “/result” ignore entry.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: d5cc6a40-33df-4f2f-b28c-76eaf2c34364
📒 Files selected for processing (1)
.gitignore
I have changed the readme, but saw your work and decided to make more little changes rather than one big, since You are changing it too. I ran doctoc to have all changes tracked in the ToC.
Please tell all Your criticism and opinions.
Summary by CodeRabbit
Documentation
Chores