@involvex/youtube-music-cli 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/source/cli.js +279 -251
- package/package.json +3 -1
- package/readme.md +19 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@involvex/youtube-music-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "- A Commandline music player for youtube-music",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,6 +44,8 @@
|
|
|
44
44
|
"scripts": {
|
|
45
45
|
"prebuild": "bun run format && bun run lint:fix && bun run typecheck",
|
|
46
46
|
"build": "bun run build:bun && bun run build:node && bun run copy:tray-icon && bun run build:web",
|
|
47
|
+
"ci:build": "bun run build:bun && bun run build:node && bun run copy:tray-icon && bun run build:web",
|
|
48
|
+
"ci:quality": "bun run format:check && bun run lint && bun run typecheck",
|
|
47
49
|
"copy:tray-icon": "bun -e \"import{copyFileSync,existsSync,mkdirSync}from'fs';import path from'path';const src=path.join('assets','icon.ico');if(!existsSync(src))process.exit(0);mkdirSync('dist',{recursive:true});copyFileSync(src,path.join('dist','tray-icon.ico'))\"",
|
|
48
50
|
"build:bun": "bun build source/cli.tsx --outfile dist/source/cli.js --target bun --footer \"//Copyright (c) 2026 involvex\" --production",
|
|
49
51
|
"build:node": "bun build source/cli.tsx --outfile dist/source/cli.js --target node --footer \"//Copyright (c) 2026 involvex\" --production",
|
package/readme.md
CHANGED
|
@@ -199,7 +199,25 @@ youtube-music-cli skip
|
|
|
199
199
|
youtube-music-cli back
|
|
200
200
|
```
|
|
201
201
|
|
|
202
|
-
###
|
|
202
|
+
### Authentication
|
|
203
|
+
|
|
204
|
+
Authenticate with your YouTube Music account to access personalized features (library, playlists, and ad-free playback for Premium users) via the OAuth2 Device Flow:
|
|
205
|
+
|
|
206
|
+
```bash
|
|
207
|
+
# Sign in (displays device code and verification URL)
|
|
208
|
+
ymc login
|
|
209
|
+
|
|
210
|
+
# Check current account status
|
|
211
|
+
ymc whoami
|
|
212
|
+
|
|
213
|
+
# Sign out and remove stored credentials
|
|
214
|
+
ymc logout
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
**Security & Credential Storage:**
|
|
218
|
+
|
|
219
|
+
- Credentials are stored securely in `~/.youtube-music-cli/credentials.json` with strict file permissions (`0600` on Unix-like systems) so only the owner can read/write them.
|
|
220
|
+
- You can also navigate to the **Account** section in the settings view (`Settings → Account`) inside the TUI or immersive mode to view status or sign out.
|
|
203
221
|
|
|
204
222
|
Launch a fullscreen visual player with real playback, queue controls, and audio visualization. Requires `mpv` and `yt-dlp` (same as normal playback).
|
|
205
223
|
|