- Add VitePress with full navigation, sidebar, i18n (en/zh), local search - Create 50+ doc pages: guide, adapters (browser + desktop), developer, advanced - Migrate content from README.md, CONTRIBUTING.md, TESTING.md, CDP.md, CLI-ELECTRON.md - Migrate all 11 adapter READMEs to structured documentation - Add new pages: architecture, yaml-adapter guide, ts-adapter guide, ai-workflow - Add GitHub Actions workflow for deploying to GitHub Pages - Add Chinese locale pages (getting-started, installation, browser-bridge, etc.) - Add docs:dev, docs:build, docs:preview npm scripts
32 lines
1.1 KiB
Markdown
32 lines
1.1 KiB
Markdown
# NeteaseMusic (网易云音乐)
|
|
|
|
Control **NeteaseMusic** (网易云音乐) from the terminal via Chrome DevTools Protocol (CDP). The app uses Chromium Embedded Framework (CEF).
|
|
|
|
## Prerequisites
|
|
|
|
Launch with remote debugging port:
|
|
```bash
|
|
/Applications/NeteaseMusic.app/Contents/MacOS/NeteaseMusic --remote-debugging-port=9234
|
|
```
|
|
|
|
## Setup
|
|
|
|
```bash
|
|
export OPENCLI_CDP_ENDPOINT="http://127.0.0.1:9234"
|
|
```
|
|
|
|
## Commands
|
|
|
|
| Command | Description |
|
|
|---------|-------------|
|
|
| `opencli neteasemusic status` | Check CDP connection |
|
|
| `opencli neteasemusic playing` | Current song info (title, artist, album) |
|
|
| `opencli neteasemusic play` | Play / Pause toggle |
|
|
| `opencli neteasemusic next` | Skip to next song |
|
|
| `opencli neteasemusic prev` | Go to previous song |
|
|
| `opencli neteasemusic search "query"` | Search songs, artists |
|
|
| `opencli neteasemusic playlist` | Show current playback queue |
|
|
| `opencli neteasemusic like` | Like / unlike current song |
|
|
| `opencli neteasemusic lyrics` | Get lyrics of current song |
|
|
| `opencli neteasemusic volume [0-100]` | Get or set volume |
|