土狗音乐播放器
一个基于 electron-vue 开发的音乐播放器 (持续更新中.. 欢迎 star)
源码地址: https://github.com/SmallRuralDog/electron-vue-music https://github.com/SmallRuralDog/electron-vue-music
运行
- git clone https://github.com/SmallRuralDog/electron-vue-music.git
- cd electron-vue-music
- npm install
- # serve with hot reload at localhost:9080
- npm run dev
- # build electron application for production
- npm run build
复制代码
注意 修改
src\renderer\utils\https
的 api 接口地址
网易云音乐 API
网易云音乐 Node.js API service
环境要求
需要 NodeJS 6.0+ 环境
安装
- $ git clone https://github.com/Binaryify/NeteaseCloudMusicApi.git
- $ npm install
复制代码
运行
$ node app.js
复制代码
服务器启动默认端口为 3000, 若不想使用 3000 端口, 可使用以下命令: Mac/Linux
$ PORT=4000 node app.js
复制代码
windows 下使用 git-bash 或者 cmder 等终端执行以下命令:
$ set PORT=4000 && node app.js
复制代码
使用文档
文档地址 https://binaryify.github.io/NeteaseCloudMusicApi
UI
来源: https://juejin.im/post/5b5595a9f265da0f652387d7