{"id":13454496,"url":"https://github.com/zhheo/HeoMusic","last_synced_at":"2025-03-24T05:33:57.986Z","repository":{"id":65818357,"uuid":"600441156","full_name":"zhheo/HeoMusic","owner":"zhheo","description":"一个基于Aplayer和MetingJS的静态音乐播放器","archived":false,"fork":false,"pushed_at":"2025-02-18T10:48:05.000Z","size":984,"stargazers_count":326,"open_issues_count":0,"forks_count":153,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-18T11:36:40.693Z","etag":null,"topics":["aplayer","metingjs","music-player"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhheo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-11T14:03:12.000Z","updated_at":"2025-02-18T10:48:09.000Z","dependencies_parsed_at":"2024-11-28T03:19:29.984Z","dependency_job_id":"b94db8a7-0862-4611-b64b-36f48ab6b6b4","html_url":"https://github.com/zhheo/HeoMusic","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhheo%2FHeoMusic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhheo%2FHeoMusic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhheo%2FHeoMusic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhheo%2FHeoMusic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhheo","download_url":"https://codeload.github.com/zhheo/HeoMusic/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245217433,"owners_count":20579291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aplayer","metingjs","music-player"],"created_at":"2024-07-31T08:00:54.694Z","updated_at":"2025-03-24T05:33:57.980Z","avatar_url":"https://github.com/zhheo.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# HeoMusic\n\n![](/img/HeoMusic3.webp)\n\n一个基于[Aplayer](https://github.com/DIYgod/APlayer)和[MetingJS](https://github.com/metowolf/MetingJS)的静态音乐播放器\n\n## 预览\n\n[HeoMusic - 用音乐感染人心](https://music.zhheo.com/)\n\n## 基本操作\n\n`Space空格键`：暂停/播放音乐\n\n`上/下方向键`：增加/减少音量\n\n`左/右方向键`：上一曲/下一曲\n\n## 修改歌单/私有部署与配置（适用于在线音乐）\n\n### ID\n\n播放列表的id，可以从音乐歌单分享的链接中获取，例如`https://y.qq.com/n/ryqq/playlist/8668419170`中，id为`8668419170`\n\n### Server\n\n播放列表的服务商，例如`netease`（网易云音乐）,`tencent`（腾讯）,`kugou`（酷狗）,`xiami`（小米音乐）,`baidu`（百度音乐）\n\n### Type（可选）\n\n播放列表的类型，例如`song`（单曲）, `playlist`（歌单，默认）, `album`（专辑）, `search`（搜索结果）, `artist`（歌手）\n\n### localMusic（可选）\n\n本地音乐/外链音乐。如果填写了本地音乐，则优先使用本地音乐。\n\n本地音乐需要添加loaclMusic数组，它的形式类似于：\n\n```\n  var localMusic = [{\n      name: '重生之我在异乡为异客',\n      artist: '王睿卓',\n      url: '/music/重生之我在异乡为异客.mp3',\n      cover: '/music/重生之我在异乡为异客.png',\n      lrc: '/music/重生之我在异乡为异客.lrc'\n  },\n  {\n      name: '落',\n      artist: '唐伯虎',\n      url: '/music/落.mp3',\n      cover: '/music/落.png',\n      lrc: '/music/落.lrc'\n  }\n  ];\n```\n\n### remoteMusic（可选）\n\n使用json格式的链接来进行读取localMusic，会覆盖localMusic的设置。\n\n例如：\n\n```\nvar remoteMusic = './music.json';\n```\n\nmusicjson内容例如：\n\n```\n[\n  {\n    \"name\": \"重生之我在异乡为异客\",\n    \"artist\": \"王睿卓\",\n    \"url\": \"/music/重生之我在异乡为异客.mp3\",\n    \"cover\": \"/music/重生之我在异乡为异客.png\",\n    \"lrc\": \"/music/重生之我在异乡为异客.lrc\"\n  },\n  {\n    \"name\": \"落\",\n    \"artist\": \"唐伯虎\",\n    \"url\": \"/music/落.mp3\",\n    \"cover\": \"/music/落.png\",\n    \"lrc\": \"/music/落.lrc\"\n  }\n]\n```\n\n## 使用URL参数（推荐）\n\nHeoMusic支持URL参数 `https://music.zhheo.com/?id=`+ id +`\u0026server=` + server\n\n例如：\n\n**HeoMusicTop:** https://music.zhheo.com/?id=8668419170\u0026server=tencent\n\n**鸡你太美:** https://music.zhheo.com/?id=2762963245\u0026server=netease\n\n## 修改HTML的方法（适用于在线音乐和本地音乐）\n\n编辑`index.html`的相关代码，填写歌单id和服务商\n\n![修改id和server](/img/help.webp)\n\n直接访问首页`index.html`即可\n\n## 参与开发\n\n[@张洪Heo](https://github.com/zhheo)\n[@anzhiyu](https://github.com/anzhiyu-c)\n[@Glowed](https://github.com/Glowed)\n[@kuole-o](https://github.com/kuole-o)\n[查看更多](https://github.com/zhheo/HeoMusic/graphs/contributors)\n\n## 许可\n\n项目中包含已经过修改的 MIT 协议项目\n\n[Aplayer](https://github.com/DIYgod/APlayer)\n\n[MetingJS](https://github.com/metowolf/Meting)\n\n[MetingAPI](https://github.com/injahow/meting-api)\n\n项目中包含的未经过修改的 MIT 协议项目\n\n[color-thief](https://github.com/lokesh/color-thief)\n\n图标采用remixicon，使用 Apache 协议\n\n## 打赏\n\n如果你喜欢这个项目，不妨支持一下作者，让作者更有动力更新！\n\n[去打赏作者](https://rewards.zhheo.com/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhheo%2FHeoMusic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhheo%2FHeoMusic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhheo%2FHeoMusic/lists"}