{"id":18160209,"url":"https://github.com/meetqy/hapv","last_synced_at":"2025-05-07T08:44:22.326Z","repository":{"id":37180893,"uuid":"257489037","full_name":"meetqy/hapv","owner":"meetqy","description":"electron 开发的一个可以播放,下载国内主流视频的播放器。A player developed by electron that can play and download domestic mainstream video.","archived":false,"fork":false,"pushed_at":"2023-03-01T03:34:50.000Z","size":4270,"stargazers_count":15,"open_issues_count":16,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T08:21:16.216Z","etag":null,"topics":["electron","player","video"],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meetqy.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}},"created_at":"2020-04-21T05:25:44.000Z","updated_at":"2024-11-29T04:20:02.000Z","dependencies_parsed_at":"2023-02-06T07:01:01.929Z","dependency_job_id":null,"html_url":"https://github.com/meetqy/hapv","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meetqy%2Fhapv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meetqy%2Fhapv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meetqy%2Fhapv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meetqy%2Fhapv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meetqy","download_url":"https://codeload.github.com/meetqy/hapv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252846115,"owners_count":21813378,"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":["electron","player","video"],"created_at":"2024-11-02T08:07:42.298Z","updated_at":"2025-05-07T08:44:22.298Z","avatar_url":"https://github.com/meetqy.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"./hapv.png\" alt=\"hapv\"\u003e\u003c/p\u003e\n\nelectron 开发的一个可以播放,下载国内主流视频的播放器。A player developed by electron that can play and download domestic mainstream video.\n\n\u003e 项目想法来源于[ivideo](https://github.com/phobal/ivideo)，另外增加了视频下载功能。\n\n## 下载\n\n- [mac 下载体验](https://gitee.com/meetqy/hapv/releases)\n\n\u003e windows 可拉取代码自行打包.\n\n## 界面\n\n|              -               |              -               |\n| :--------------------------: | :--------------------------: |\n| \u003cimg src='./preview/1.jpg' \u003e | \u003cimg src='./preview/2.jpg' \u003e |\n| \u003cimg src='./preview/3.jpg' \u003e | \u003cimg src='./preview/4.jpg' \u003e |\n\n## 技术栈\u0026插件\n\n- Electron\n- Vue\n- Vuex\n- vue-cli-plugin-electron-builder\n- Element\n\n下载功能需安装 [annie](https://github.com/iawia002/annie)\n\n## 如何运行\n\n```\ngit clone git@github.com:meetqy/hapv.git\n```\n\n```\ncd hapv\n```\n\n```\nnpm install\n```\n\n\u003e 如果安装失败或者慢，建议使用 `cnpm install`.\n\n```\nnpm start\n```\n\n## 项目结构\n\n```tree\nsrc\n├─App.vue\n├─background.js // electron后台文件\n├─element-variables.scss\n├─main.js\n├─views\n├─store\n├─router\n├─plugins\n├─config\n|   ├─analysis.js // 解释视频的配置文件\n|   ├─index.js\n|   └platform.js  // 各大视频平台url，视频解析规则的配置文件\n├─components\n├─assets\n```\n\n## 播放视频原理\n\n1. 利用`electron`框架，返回 web 页面\n2. 页面中嵌入 webview，url 为各平台官网\n3. 利用`electron`提供的 api，监听页面跳转，劫持链接，返回解析之后的视频链接。\n\n## 快捷小技巧\n\n- \u003ckbd\u003eESC\u003c/kbd\u003e取消全屏\n\n## 开发规范\n\n- [开发规范](./开发规范.md)\n\n## 版本记录\n\n最近更新：\n\n- 0.4.1-alpha\n\n- [x] 取消双击导航栏全屏功能\n- [x] mac 系统自带全屏功能，header 显示隐藏功能失效\n\n* [版本记录](./版本记录.md)\n\n## 参与贡献\n\n\u003ca href=\"https://gitee.com/xz2048\" target=\"_blank\"\u003e\u003cimg src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAADw0lEQVRoQ+2YaUhUURTH/zOjuTFZUmoN2CJJpW2maFkzmoVIRAummULYJ1tIKhKpD4UfMshEaS+C+lCaVEiEtGCOOGallWZBhQuZ2TaVljqN28Qd8+roYDPw7ns03fNt5p33zvmd/3n33XNl5xOLTfiPTMaBHVxtrrCDCwyuMFfYwSrAW9rBBB2FwxXmCjtYBXhLO5igfNHiLc1b2sEqIHhLy2QyJJ+NhsJZbi5VX08/CveUwdjR89fSBcVOR0h8APUrP1+Hhgcf/nqfPQ6CA5PgYUmzMW/1DJrHt+afuJGhGzMvLz8l1mdFgBSMWIfegIJdWntYbPJlAkwix+doMN7XnSZRXfgGNUUNVpMi3ZB0egXGuTubr/f3mXA1TYvOb79sgrDHiRmwh5crEvIiIVcMKAYTcC29HG3vO0blt+ZQOHwCJtL/7x+vQWOlsK08+HBmwCRAgFoFdep8CmJoN+LK9lKYTEMnwwvX+Vu8tw0VrSg9WWuPaHb5MgUmmcTuD4UqaBJNql7XCu2pAaDJ/p5Ym7kU+NMEpIXzd5baBWCvM3Ng8n4mn4mGs5sTze3mwUroG9vNq/nw97Zwd5l5sWJpzIFJ8uT9XHMwnCpJPlGf3nyHX7A3ZSOqE/VZmyjABGLJlrkIjJlmlafp0UeU5D1jzWp+vmjAJFhCbiSU3m4WYF1tRuTvsFzIWJKLCqz0dkdCrsaC5/aRKrQ817NktHi2qMCxGaFQzR9asUkmhjYjrjiiwnNW+iFia6BVJesrWqFl+O0dHlQUhT2neCAuezndJxs7e6BwksPJRUFzuXO0Gu+efWHe2syBZXIZNp+MgpunC4W5lfnQ/F2O2RdC/yNT1eVtJeju6mUKzRx41d5gTFvsQyFelTRDd+Gl+feKXQsxM3wKvaZv+oGiAxX/LvAstQqaYXvpkSMfUZ9MSa7KcRSyquA1am82MoNmprByshs25mjotERGPmtbRzIHb8haRndhZLC4nq6zOlUJUQUmwGSI33Q8EmREHLTyc3V4rW2xmjM55SBT06BZm6qEgGW204rasQD+EVNpjq0vvqL48OMxc47LVmPCVA/qQ+ZhMhcLbYIrPCPMF9Fpi2ie3YZeXE4tMZ9tjWVkFU88ETV0YADg3rGnePvkk6DMggOnXIqhB3jklIOMgp/r22xKeuQi12vsw8WUuzbda6uT4MC2BpbKjwNLVXmx4nKFxaq0VHG4wlJVXqy4XGGxKi1VHK6wVJUXKy5XWKxKSxWHKyxV5cWKyxUWq9JSxeEKS1V5seL+BkqQpuj1kXC3AAAAAElFTkSuQmCC\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeetqy%2Fhapv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeetqy%2Fhapv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeetqy%2Fhapv/lists"}