{"_id":"yesplaymusic","_rev":"2-697f1a16d3345ab7ee8d715cebe64b64","name":"yesplaymusic","dist-tags":{"latest":"2.8.6"},"versions":{"2.3.6":{"name":"yesplaymusic","description":"YesPlayMusic","version":"2.3.6","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","homepage":"https://github.com/qier222","dependencies":{"mck-digital-crop":"^2.3.4"},"repository":{"type":"git","url":"git+https://github.com/qier222/YesPlayMusic.git"},"scripts":{"build":"tsup"},"keywords":["YesPlayMusic"],"author":{"name":"qier222"},"license":"MIT","devDependencies":{"tsup":"^8.0.2","typescript":"^5.3.3"},"bugs":{"url":"https://github.com/qier222/YesPlayMusic/issues"},"_id":"yesplaymusic@2.3.6","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-QSU2ABqVpc0ndUlu+CNGyyjYWUwkENnEr9VDdC8B1K+dI8H019IS3PijjmGgvgrYpbjHwei9l4aI7H9ao5XiAw==","shasum":"f7a220f619383e3701a10260c69e83e2dd22b369","tarball":"https://registry.npmjs.org/yesplaymusic/-/yesplaymusic-2.3.6.tgz","fileCount":36,"unpackedSize":54245,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxZ2WGknQO1TqIWMI4amzONVGaZSQ+KUD0bUZhn7rhlAIhAMb7fRiQsD2NLFuv00kzoMsUxoYtCwF4rKCUWXSg/wU3"}]},"_npmUser":{"name":"miguram396","email":"MiGuram396@gmail.com"},"directories":{},"maintainers":[{"name":"miguram396","email":"MiGuram396@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yesplaymusic_2.3.6_1713958578686_0.6279464669066872"},"_hasShrinkwrap":false},"2.5.6":{"name":"yesplaymusic","description":"YesPlayMusic","version":"2.5.6","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","homepage":"https://github.com/qier222","dependencies":{"mck-digital-crop":"^2.3.4"},"repository":{"type":"git","url":"git+https://github.com/qier222/YesPlayMusic.git"},"scripts":{"build":"tsup"},"keywords":["YesPlayMusic"],"author":{"name":"qier222"},"license":"MIT","devDependencies":{"tsup":"^8.0.2","typescript":"^5.3.3"},"bugs":{"url":"https://github.com/qier222/YesPlayMusic/issues"},"_id":"yesplaymusic@2.5.6","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-/BXMv5mRrM5VqMVLN36vcT5iBcjmVjp1zpPSoMClMMf8Czu0ikpeab3muVriql0k8yrIFqQLR/Sd7HiS2ZxYnQ==","shasum":"4965623cf5e44291a0845a5465e2bc5e8c903da4","tarball":"https://registry.npmjs.org/yesplaymusic/-/yesplaymusic-2.5.6.tgz","fileCount":36,"unpackedSize":54245,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAqcaSr8g7m8vcPaLM2TkIwimuB1xWrr1anArmsDmZxNAiEAvG1biuyBtrTRuJdurccmgGVnnWR9XAei9x517FE/pRw="}]},"_npmUser":{"name":"miguram396","email":"MiGuram396@gmail.com"},"directories":{},"maintainers":[{"name":"miguram396","email":"MiGuram396@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yesplaymusic_2.5.6_1713958599808_0.8865052113473681"},"_hasShrinkwrap":false},"2.8.6":{"name":"yesplaymusic","description":"YesPlayMusic","version":"2.8.6","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","homepage":"https://github.com/qier222","dependencies":{"mck-digital-crop":"^2.3.4"},"repository":{"type":"git","url":"git+https://github.com/qier222/YesPlayMusic.git"},"scripts":{"build":"tsup"},"keywords":["YesPlayMusic"],"author":{"name":"qier222"},"license":"MIT","devDependencies":{"tsup":"^8.0.2","typescript":"^5.3.3"},"bugs":{"url":"https://github.com/qier222/YesPlayMusic/issues"},"_id":"yesplaymusic@2.8.6","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-e3/isJKI8kOpWeqca2CIooOFkbHWe0xVlzH6kF5FvSUbypcHffXKZT06Qpd+9UARQC77f8iimC7wkWITjy4+sA==","shasum":"525b67093f49bff89be0c294445f27f3e261577f","tarball":"https://registry.npmjs.org/yesplaymusic/-/yesplaymusic-2.8.6.tgz","fileCount":36,"unpackedSize":54245,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDyUic5MwqnR8eHJ5N2CEePp+drbxiznZ686iEfDzJVjAiBWhACT8tf5OeRmYv7NzgbTN1KJuADlKWzrI3gR13qdew=="}]},"_npmUser":{"name":"miguram396","email":"MiGuram396@gmail.com"},"directories":{},"maintainers":[{"name":"miguram396","email":"MiGuram396@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yesplaymusic_2.8.6_1713958629093_0.9722950203370404"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-24T11:36:18.686Z","2.3.6":"2024-04-24T11:36:18.874Z","modified":"2024-04-24T11:37:09.463Z","2.5.6":"2024-04-24T11:36:39.970Z","2.8.6":"2024-04-24T11:37:09.314Z"},"maintainers":[{"name":"miguram396","email":"MiGuram396@gmail.com"}],"description":"YesPlayMusic","homepage":"https://github.com/qier222","keywords":["YesPlayMusic"],"repository":{"type":"git","url":"git+https://github.com/qier222/YesPlayMusic.git"},"author":{"name":"qier222"},"bugs":{"url":"https://github.com/qier222/YesPlayMusic/issues"},"license":"MIT","readme":"<br />\r\n<p align=\"center\">\r\n  <a href=\"https://music.qier222.com\" target=\"blank\">\r\n    <img src=\"images/logo.png\" alt=\"Logo\" width=\"156\" height=\"156\">\r\n  </a>\r\n  <h2 align=\"center\" style=\"font-weight: 600\">YesPlayMusic</h2>\r\n\r\n  <p align=\"center\">\r\n    高颜值的第三方网易云播放器\r\n    <br />\r\n    <a href=\"https://music.qier222.com\" target=\"blank\"><strong>🌎 访问DEMO</strong></a>&nbsp;&nbsp;|&nbsp;&nbsp;\r\n    <a href=\"#%EF%B8%8F-安装\" target=\"blank\"><strong>📦️ 下载安装包</strong></a>&nbsp;&nbsp;|&nbsp;&nbsp;\r\n    <a href=\"https://t.me/yesplaymusic\" target=\"blank\"><strong>💬 加入交流群</strong></a>\r\n    <br />\r\n    <br />\r\n  </p>\r\n</p>\r\n\r\n[![Library][library-screenshot]](https://music.qier222.com)\r\n\r\n## 全新版本\r\n\r\n全新 2.0 Alpha 测试版已发布，欢迎前往 [Releases](https://github.com/qier222/YesPlayMusic/releases) 页面下载。\r\n当前版本将会进入维护模式，除重大 bug 修复外，不会再更新新功能。\r\n\r\n## ✨ 特性\r\n\r\n- ✅ 使用 Vue.js 全家桶开发\r\n- 🔴 网易云账号登录（扫码/手机/邮箱登录）\r\n- 📺 支持 MV 播放\r\n- 📃 支持歌词显示\r\n- 📻 支持私人 FM / 每日推荐歌曲\r\n- 🚫🤝 无任何社交功能\r\n- 🌎️ 海外用户可直接播放（需要登录网易云账号）\r\n- 🔐 支持 [UnblockNeteaseMusic](https://github.com/UnblockNeteaseMusic/server#音源清单)，自动使用[各类音源](https://github.com/UnblockNeteaseMusic/server#音源清单)替换变灰歌曲链接 （网页版不支持）\r\n  - 「各类音源」指默认启用的音源。\r\n  - YouTube 音源需自行安装 `yt-dlp`。\r\n- ✔️ 每日自动签到（手机端和电脑端同时签到）\r\n- 🌚 Light/Dark Mode 自动切换\r\n- 👆 支持 Touch Bar\r\n- 🖥️ 支持 PWA，可在 Chrome/Edge 里点击地址栏右边的 ➕ 安装到电脑\r\n- 🟥 支持 Last.fm Scrobble\r\n- ☁️ 支持音乐云盘\r\n- ⌨️ 自定义快捷键和全局快捷键\r\n- 🎧 支持 Mpris\r\n- 🛠 更多特性开发中\r\n\r\n## 📦️ 安装\r\n\r\nElectron 版本由 [@hawtim](https://github.com/hawtim) 和 [@qier222](https://github.com/qier222) 适配并维护，支持 macOS、Windows、Linux。\r\n\r\n访问本项目的 [Releases](https://github.com/qier222/YesPlayMusic/releases)\r\n页面下载安装包。\r\n\r\n- macOS 用户可以通过 Homebrew 来安装：`brew install --cask yesplaymusic`\r\n\r\n- Windows 用户可以通过 Scoop 来安装：`scoop install extras/yesplaymusic`\r\n\r\n## ⚙️ 部署至 Vercel\r\n\r\n除了下载安装包使用，你还可以将本项目部署到 Vercel 或你的服务器上。下面是部署到 Vercel 的方法。\r\n\r\n本项目的 Demo (https://music.qier222.com) 就是部署在 Vercel 上的网站。\r\n\r\n[![Powered by Vercel](https://www.datocms-assets.com/31049/1618983297-powered-by-vercel.svg)](https://vercel.com/?utm_source=ohmusic&utm_campaign=oss)\r\n\r\n1. 部署网易云 API，详情参见 [Binaryify/NeteaseCloudMusicApi](https://neteasecloudmusicapi.vercel.app/#/?id=%e5%ae%89%e8%a3%85)\r\n   。你也可以将 API 部署到 Vercel。\r\n\r\n2. 点击本仓库右上角的 Fork，复制本仓库到你的 GitHub 账号。\r\n\r\n3. 点击仓库的 Add File，选择 Create new file，输入 `vercel.json`，将下面的内容复制粘贴到文件中，并将 `https://your-netease-api.example.com` 替换为你刚刚部署的网易云 API 地址：\r\n\r\n```json\r\n{\r\n  \"rewrites\": [\r\n    {\r\n      \"source\": \"/api/:match*\",\r\n      \"destination\": \"https://your-netease-api.example.com/:match*\"\r\n    }\r\n  ]\r\n}\r\n```\r\n\r\n4. 打开 [Vercel.com](https://vercel.com)，使用 GitHub 登录。\r\n\r\n5. 点击 Import Git Repository 并选择你刚刚复制的仓库并点击 Import。\r\n\r\n6. 点击 PERSONAL ACCOUNT 旁边的 Select。\r\n\r\n7. 点击 Environment Variables，填写 Name 为 `VUE_APP_NETEASE_API_URL`，Value 为 `/api`，点击 Add。最后点击底部的 Deploy 就可以部署到\r\n   Vercel 了。\r\n\r\n## ⚙️ 部署到自己的服务器\r\n\r\n除了部署到 Vercel，你还可以部署到自己的服务器上\r\n\r\n1. 部署网易云 API，详情参见 [Binaryify/NeteaseCloudMusicApi](https://github.com/Binaryify/NeteaseCloudMusicApi)\r\n2. 克隆本仓库\r\n\r\n```sh\r\ngit clone --recursive https://github.com/qier222/YesPlayMusic.git\r\n```\r\n\r\n3. 安装依赖\r\n\r\n```sh\r\nyarn install\r\n\r\n```\r\n\r\n4. （可选）使用 Nginx 反向代理 API，将 API 路径映射为 `/api`，如果 API 和网页不在同一个域名下的话（跨域），会有一些 bug。\r\n\r\n5. 复制 `/.env.example` 文件为 `/.env`，修改里面 `VUE_APP_NETEASE_API_URL` 的值为网易云 API 地址。本地开发的话可以填写 API 地址为 `http://localhost:3000`，YesPlayMusic 地址为 `http://localhost:8080`。如果你使用了反向代理 API，可以填写 API 地址为 `/api`。\r\n\r\n```\r\nVUE_APP_NETEASE_API_URL=http://localhost:3000\r\n```\r\n\r\n6. 编译打包\r\n\r\n```sh\r\nyarn run build\r\n```\r\n\r\n7. 将 `/dist` 目录下的文件上传到你的 Web 服务器\r\n\r\n## ⚙️ Docker 部署\r\n\r\n1. 构建 Docker Image\r\n\r\n```sh\r\ndocker build -t yesplaymusic .\r\n```\r\n\r\n2. 启动 Docker Container\r\n\r\n```sh\r\ndocker run -d --name YesPlayMusic -p 80:80 yesplaymusic\r\n```\r\n\r\n3. Docker Compose 启动\r\n\r\n```sh\r\ndocker-compose up -d\r\n```\r\n\r\nYesPlayMusic 地址为 `http://localhost`\r\n\r\n## ⚙️ 部署至 Replit\r\n\r\n1. 新建 Repl，选择 Bash 模板\r\n\r\n2. 在 Replit shell 中运行以下命令\r\n\r\n```sh\r\nbash <(curl -s -L https://raw.githubusercontent.com/qier222/YesPlayMusic/main/install-replit.sh)\r\n```\r\n\r\n3. 首次运行成功后，只需点击绿色按钮 `Run` 即可再次运行\r\n\r\n4. 由于 replit 个人版限制内存为 1G（教育版为 3G），构建过程中可能会失败，请再次运行上述命令或运行以下命令：\r\n\r\n```sh\r\ncd /home/runner/${REPL_SLUG}/music && yarn install && yarn run build\r\n```\r\n\r\n## 👷‍♂️ 打包客户端\r\n\r\n如果在 Release 页面没有找到适合你的设备的安装包的话，你可以根据下面的步骤来打包自己的客户端。\r\n\r\n1. 打包 Electron 需要用到 Node.js 和 Yarn。可前往 [Node.js 官网](https://nodejs.org/zh-cn/) 下载安装包。安装 Node.js\r\n   后可在终端里执行 `npm install -g yarn` 来安装 Yarn。\r\n\r\n2. 使用 `git clone --recursive https://github.com/qier222/YesPlayMusic.git` 克隆本仓库到本地。\r\n\r\n3. 使用 `yarn install` 安装项目依赖。\r\n\r\n4. 复制 `/.env.example` 文件为 `/.env` 。\r\n\r\n5. 选择下列表格的命令来打包适合的你的安装包，打包出来的文件在 `/dist_electron` 目录下。了解更多信息可访问 [electron-builder 文档](https://www.electron.build/cli)\r\n\r\n| 命令                                       | 说明                      |\r\n| ------------------------------------------ | ------------------------- |\r\n| `yarn electron:build --windows nsis:ia32`  | Windows 32 位             |\r\n| `yarn electron:build --windows nsis:arm64` | Windows ARM               |\r\n| `yarn electron:build --linux deb:armv7l`   | Debian armv7l（树莓派等） |\r\n| `yarn electron:build --macos dir:arm64`    | macOS ARM                 |\r\n\r\n## :computer: 配置开发环境\r\n\r\n本项目由 [NeteaseCloudMusicApi](https://github.com/Binaryify/NeteaseCloudMusicApi) 提供 API。\r\n\r\n运行本项目\r\n\r\n```shell\r\n# 安装依赖\r\nyarn install\r\n\r\n# 创建本地环境变量\r\ncp .env.example .env\r\n\r\n# 运行（网页端）\r\nyarn serve\r\n\r\n# 运行（electron）\r\nyarn electron:serve\r\n```\r\n\r\n本地运行 NeteaseCloudMusicApi，或者将 API [部署至 Vercel](#%EF%B8%8F-部署至-vercel)\r\n\r\n```shell\r\n# 运行 API （默认 3000 端口）\r\nyarn netease_api:run\r\n```\r\n\r\n## ☑️ Todo\r\n\r\n查看 Todo 请访问本项目的 [Projects](https://github.com/qier222/YesPlayMusic/projects/1)\r\n\r\n欢迎提 Issue 和 Pull request。\r\n\r\n## 📜 开源许可\r\n\r\n本项目仅供个人学习研究使用，禁止用于商业及非法用途。\r\n\r\n基于 [MIT license](https://opensource.org/licenses/MIT) 许可进行开源。\r\n\r\n## 灵感来源\r\n\r\nAPI 源代码来自 [Binaryify/NeteaseCloudMusicApi](https://github.com/Binaryify/NeteaseCloudMusicApi)\r\n\r\n- [Apple Music](https://music.apple.com)\r\n- [YouTube Music](https://music.youtube.com)\r\n- [Spotify](https://www.spotify.com)\r\n- [网易云音乐](https://music.163.com)\r\n\r\n## 🖼️ 截图\r\n\r\n![lyrics][lyrics-screenshot]\r\n![library-dark][library-dark-screenshot]\r\n![album][album-screenshot]\r\n![home-2][home-2-screenshot]\r\n![artist][artist-screenshot]\r\n![search][search-screenshot]\r\n![home][home-screenshot]\r\n![explore][explore-screenshot]\r\n\r\n<!-- MARKDOWN LINKS & IMAGES -->\r\n<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->\r\n\r\n[album-screenshot]: images/album.png\r\n[artist-screenshot]: images/artist.png\r\n[explore-screenshot]: images/explore.png\r\n[home-screenshot]: images/home.png\r\n[home-2-screenshot]: images/home-2.png\r\n[lyrics-screenshot]: images/lyrics.png\r\n[library-screenshot]: images/library.png\r\n[library-dark-screenshot]: images/library-dark.png\r\n[search-screenshot]: images/search.png\r\n","readmeFilename":"README.md"}