{"id":15193894,"url":"https://github.com/iflycn/music_react","last_synced_at":"2026-03-06T10:01:58.415Z","repository":{"id":91822174,"uuid":"135882185","full_name":"iflycn/music_react","owner":"iflycn","description":"Gito Player - 一个极简的 React 音乐播放器","archived":false,"fork":false,"pushed_at":"2018-06-07T02:22:09.000Z","size":1084,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-01T04:24:38.871Z","etag":null,"topics":["axios","create-react-app","es6","less","react","react-router","webpack3"],"latest_commit_sha":null,"homepage":"https://iflycn.github.io/music_react/build/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iflycn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-06-03T07:14:13.000Z","updated_at":"2021-02-15T14:31:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c78646d-2dbd-4c21-ace6-1efe181c861c","html_url":"https://github.com/iflycn/music_react","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"2543ec6c9c3df342fc64f8c62bed9e0c1a43b809"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iflycn/music_react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iflycn%2Fmusic_react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iflycn%2Fmusic_react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iflycn%2Fmusic_react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iflycn%2Fmusic_react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iflycn","download_url":"https://codeload.github.com/iflycn/music_react/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iflycn%2Fmusic_react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30171656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["axios","create-react-app","es6","less","react","react-router","webpack3"],"created_at":"2024-09-27T22:07:12.178Z","updated_at":"2026-03-06T10:01:58.370Z","avatar_url":"https://github.com/iflycn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gito Player\n这是一个极简的 `React` 音乐播放器，使用了官方脚手架 `Create React App` 搭建、 `Webpack` 打包，涉及到的技术栈包括 `React`、`React Router`、`Axios`\n\n## 应用截图\n![](https://github.com/iflycn/music_react/blob/master/public/screenshot.png)\n\n## 应用预览\n[https://iflycn.github.io/music_react/build/](https://iflycn.github.io/music_react/build/)\n\n## 如何运行\n``` bash\n# 克隆到本地\ngit clone https://github.com/iflycn/music_react.git\n# 进入文件夹\ncd music_react\n# 安装依赖\nnpm install\n# 开启本地服务器\nnpm start\n# 发布环境\nnpm run build\n```\n\n## 开发历史\n- [x] 开个坑，有空就会填一填\n- [x] 项目开始搭建\n- [x] 增加 Less 支持\n- [x] 建立简单歌单\n- [x] 完成播放器样式\n- [x] 增加转场效果\n- [x] 当前歌词高亮显示\n- [x] 完成歌词滚动\n- [x] 添加歌曲进度条\n- [x] 进度条拖动控制\n- [x] 歌单连续播放\n- [x] 解析复杂 LRC 文件\n- [x] 保存播放历史\n- [x] 根据窗口大小计算歌词高度\n- [x] 保存歌单缓存\n- [x] 播放器抽象为公用组件\n- [x] 歌单页显示播放状态\n- [x] 修复 BUG：因移动端限制，音乐无法自动播放\n- [x] 修复 BUG：音乐自动播放不正常\n- [x] 修复 BUG：获取音频长度异常时依然继续\n\n## TODO\n- [ ] 已知 BUG：部分移动端浏览器中，transform: rotate 对应的 animation-play-state 属性工作不正常\n- [ ] 已知 BUG：部分移动端浏览器中，audio 组件工作不正常\n\n## 参考资料\n- [https://doc.react-china.org/](https://doc.react-china.org/)\n- [http://reacttraining.cn/web/guides/quick-start](http://reacttraining.cn/web/guides/quick-start)\n- [http://www.w3school.com.cn/tags/html_ref_audio_video_dom.asp](http://www.w3school.com.cn/tags/html_ref_audio_video_dom.asp)\n- [https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiflycn%2Fmusic_react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiflycn%2Fmusic_react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiflycn%2Fmusic_react/lists"}