Skip to content

test#418

Closed
junqingzhong wants to merge 60 commits intoimsyy:masterfrom
junqingzhong:master
Closed

test#418
junqingzhong wants to merge 60 commits intoimsyy:masterfrom
junqingzhong:master

Conversation

@junqingzhong
Copy link
Copy Markdown

test

imsyy and others added 30 commits September 26, 2024 11:57
fix🐛: 修复了linux6.1内核下硬件加速被错误关闭的bug
- 修复未登录状态下动态封面报错 imsyy#274
- 修复海外手机号无法登录 imsyy#273
🦄 refactor: 初始化桌面歌词至屏幕下方
fix🐛: 修复了歌词翻译和音译开关不生效的bug
imsyy and others added 27 commits December 2, 2024 10:04
refactor(music): 优化音乐播放逻辑和数据处理
增加会员雷达,里面的每日推荐歌曲质量还不错
https://music.163.com/#/playlist?id=8402996200
- 在 AboutSetting 组件中添加了 jumpLink 函数,实现更新日志中链接的点击跳转
- 修复 CoverList 组件移入移出会出现黑角的bug
fix: 更新日志中的超链接跳转由新窗口打开
Docker 镜像内置 UnblockNeteaseMusic,  支持播放部分无版权歌曲
…y of what's new:

feat: Implement proxy settings, API/Docker docs & upgrade deps

This commit introduces several enhancements and documentation improvements:

1.  **Dependency Upgrades:**
    *   I've updated all project dependencies to their latest versions.
    *   I also addressed a TypeScript compatibility issue with `electron-store` by using `@ts-ignore` as a temporary workaround. This will be fully resolved once we update the Node.js environment to v20+.

2.  **Global Proxy Settings:**
    *   I've implemented a comprehensive proxy configuration feature that you can find in the application settings.
    *   You can now choose between:
        *   No proxy
        *   System proxy
        *   Manual HTTP/HTTPS proxy (with server, port, and optional username/password)
        *   PAC (Proxy Auto-Config) URL
    *   These settings are saved using `electron-store`.

3.  **API Documentation (`API_DOCUMENTATION.md`):**
    *   I've created a document detailing the SPlayer backend API.
    *   It explains the dynamic route generation for `NeteaseCloudMusicApi` endpoints.
    *   It also provides information on the custom Unblock API (`/api/unblock/netease`, `/api/unblock/kuwo`).
    *   You'll find a link to the official `NeteaseCloudMusicApi` documentation there as well.

4.  **Environment and Configuration Documentation (`ENVIRONMENT_SETUP.md`):**
    *   I've created a document outlining:
        *   Node.js (>=20) and `pnpm` requirements.
        *   Key environment variables (`VITE_WEB_PORT`, `VITE_SERVER_PORT`, `VITE_API_URL`).
        *   Scripts for development, building, linting, etc.
        *   An overview of main configuration files and where your settings are stored.

5.  **Docker Deployment Guide (`DOCKER_DEPLOYMENT.md`):**
    *   I've added support for running the complete SPlayer application (frontend UI via Nginx, SPlayer backend API, NeteaseCloudMusicApi, and UnblockNeteaseMusic) using Docker.
    *   I modified `electron/main/index.ts` and `electron/server/index.ts` to enable a headless "Docker mode" for the SPlayer backend.
    *   I updated `docker-entrypoint.sh` to manage service startup, including setting `ELECTRON_STORE_PATH` for config persistence.
    *   I revised `nginx.conf` to serve the UI on port 80 (container) and proxy API requests to the appropriate backend services.
    *   I updated `docker-compose.yml` with new port mappings (e.g., host 8080 to container 80 for Nginx), environment variables for Docker mode, and volumes for persistent SPlayer settings (`./splayer_data`) and Nginx configuration.
    *   The guide includes detailed setup instructions and notes the current limitation that settings management via the UI (which relies on Electron IPC) will require further refactoring to work via HTTP calls in the Dockerized web environment.
@junqingzhong junqingzhong deleted the master branch May 22, 2025 11:24
@junqingzhong junqingzhong restored the master branch May 22, 2025 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants