├── dashboard
├── .nvmrc
├── public
│ ├── _redirects
│ ├── lives.jpg
│ ├── mock
│ │ └── middlewares.js
│ ├── default-poster.svg
│ └── vite.svg
├── src
│ ├── types
│ │ └── global.d.ts
│ ├── assets
│ │ ├── logo.png
│ │ ├── icon_font
│ │ │ ├── iconfont.ttf
│ │ │ ├── iconfont.woff
│ │ │ ├── iconfont.woff2
│ │ │ └── iconfont.css
│ │ └── vue.svg
│ ├── api
│ │ ├── services
│ │ │ ├── index.js
│ │ │ └── sniffer.js
│ │ ├── index.js
│ │ ├── config.js
│ │ ├── modules
│ │ │ ├── proxy.js
│ │ │ └── parse.js
│ │ ├── request.js
│ │ ├── README.md
│ │ └── types
│ │ │ └── index.js
│ ├── mock
│ │ ├── middlewares.js
│ │ └── multiInputX.json
│ ├── stores
│ │ ├── categoryStore.js
│ │ ├── toast.js
│ │ ├── sidebarStore.js
│ │ ├── paginationStore.js
│ │ ├── visitedStore.js
│ │ ├── siteStore.js
│ │ ├── pageStateStore.js
│ │ ├── downloadStore.js
│ │ └── favoriteStore.js
│ ├── utils
│ │ ├── apiUtils.js
│ │ ├── req.js
│ │ ├── csp.js
│ │ └── fileTypeUtils.js
│ ├── App.vue
│ ├── main.js
│ ├── components
│ │ ├── GlobalToast.vue
│ │ ├── CategoryModal.vue
│ │ ├── Footer.vue
│ │ ├── PlayerSelector.vue
│ │ ├── ScrollToBottom.vue
│ │ ├── FolderBreadcrumb.vue
│ │ ├── actions
│ │ │ └── index.js
│ │ └── players
│ │ │ └── LiveProxySelector.vue
│ ├── style.css
│ ├── router
│ │ └── index.js
│ └── services
│ │ └── resetService.js
├── .env.production.root
├── .vscode
│ └── extensions.json
├── pnpm-workspace.yaml
├── .env.production.apps
├── postcss.config.js
├── .env.production
├── vercel.json
├── docs
│ ├── mpv-protocol.reg
│ ├── vlc-protocol.reg
│ ├── README.md
│ ├── 外部播放器配置说明.md
│ ├── OPTIMIZATION_REPORT.md
│ ├── nginx-root.conf
│ ├── nginx-subdir.conf
│ ├── API_REFACTOR_SUMMARY.md
│ ├── NGINX_DEPLOYMENT.md
│ ├── UPX_COMPRESSION_GUIDE.md
│ ├── FASTIFY_DEPLOYMENT.md
│ ├── BUILD_BINARY_GUIDE.md
│ ├── DEPLOYMENT.md
│ ├── apidoc.md
│ ├── pvideo接口说明.md
│ └── t4api.md
├── .gitignore
├── index.html
├── playwright.config.js
├── temp-server
│ └── package.json
├── tailwind.config.js
├── vite.config.js
├── package.json
├── json
│ └── live_cntv.txt
└── build-binary.js
├── proxy
├── requirements.txt
├── start_proxy.py
├── config.py
└── README.md
├── .idea
├── .gitignore
├── vcs.xml
├── jsLibraryMappings.xml
├── modules.xml
└── DrPlayer.iml
└── .gitignore
/dashboard/.nvmrc:
--------------------------------------------------------------------------------
1 | 22
--------------------------------------------------------------------------------
/dashboard/public/_redirects:
--------------------------------------------------------------------------------
1 | /* /index.html 200
--------------------------------------------------------------------------------
/proxy/requirements.txt:
--------------------------------------------------------------------------------
1 | fastapi
2 | httpx
3 | uvicorn
4 | psutil
--------------------------------------------------------------------------------
/dashboard/src/types/global.d.ts:
--------------------------------------------------------------------------------
1 | // 全局类型声明
2 | declare const __APP_VERSION__: string
--------------------------------------------------------------------------------
/dashboard/.env.production.root:
--------------------------------------------------------------------------------
1 | # .env.production.root
2 | # 根目录部署配置
3 | VITE_BASE_PATH=./
--------------------------------------------------------------------------------
/dashboard/.vscode/extensions.json:
--------------------------------------------------------------------------------
1 | {
2 | "recommendations": ["Vue.volar"]
3 | }
4 |
--------------------------------------------------------------------------------
/dashboard/pnpm-workspace.yaml:
--------------------------------------------------------------------------------
1 | # pnpm workspace configuration
2 | packages:
3 | - '.'
4 |
--------------------------------------------------------------------------------
/dashboard/public/lives.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hjdhnx/DrPlayer/HEAD/dashboard/public/lives.jpg
--------------------------------------------------------------------------------
/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # 默认忽略的文件
2 | /shelf/
3 | /workspace.xml
4 | # 基于编辑器的 HTTP 客户端请求
5 | /httpRequests/
6 |
--------------------------------------------------------------------------------
/dashboard/src/assets/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hjdhnx/DrPlayer/HEAD/dashboard/src/assets/logo.png
--------------------------------------------------------------------------------
/dashboard/.env.production.apps:
--------------------------------------------------------------------------------
1 | # .env.production.apps
2 | # 子目录部署配置 - 部署到 /apps/drplayer/ 目录
3 | VITE_BASE_PATH=/apps/drplayer/
--------------------------------------------------------------------------------
/dashboard/postcss.config.js:
--------------------------------------------------------------------------------
1 | export default {
2 | plugins: {
3 | '@tailwindcss/postcss': {},
4 | autoprefixer: {},
5 | },
6 | }
--------------------------------------------------------------------------------
/dashboard/src/assets/icon_font/iconfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hjdhnx/DrPlayer/HEAD/dashboard/src/assets/icon_font/iconfont.ttf
--------------------------------------------------------------------------------
/dashboard/src/assets/icon_font/iconfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hjdhnx/DrPlayer/HEAD/dashboard/src/assets/icon_font/iconfont.woff
--------------------------------------------------------------------------------
/dashboard/src/assets/icon_font/iconfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hjdhnx/DrPlayer/HEAD/dashboard/src/assets/icon_font/iconfont.woff2
--------------------------------------------------------------------------------
/dashboard/.env.production:
--------------------------------------------------------------------------------
1 | # .env.production
2 | # 生产环境配置
3 | # 子目录部署配置 - 例如部署到 /apps/ 目录
4 | # VITE_BASE_PATH=/apps/drplayer/
5 |
6 | # 如果部署到根目录,使用以下配置:
7 | VITE_BASE_PATH=./
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/jsLibraryMappings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/dashboard/vercel.json:
--------------------------------------------------------------------------------
1 | {
2 | "buildCommand": "pnpm build",
3 | "outputDirectory": "dist",
4 | "installCommand": "pnpm install --frozen-lockfile",
5 | "framework": "vite",
6 | "rewrites": [{ "source": "/:path*", "destination": "/index.html" }]
7 | }
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/dashboard/docs/mpv-protocol.reg:
--------------------------------------------------------------------------------
1 | Windows Registry Editor Version 5.00
2 |
3 | [HKEY_CLASSES_ROOT\mpv]
4 | @="URL:MPV Protocol"
5 | "URL Protocol"=""
6 |
7 | [HKEY_CLASSES_ROOT\mpv\shell]
8 |
9 | [HKEY_CLASSES_ROOT\mpv\shell\open]
10 |
11 | [HKEY_CLASSES_ROOT\mpv\shell\open\command]
12 | @="\"C:\\Program Files\\mpv\\mpv.exe\" \"%1\""
--------------------------------------------------------------------------------
/dashboard/docs/vlc-protocol.reg:
--------------------------------------------------------------------------------
1 | Windows Registry Editor Version 5.00
2 |
3 | [HKEY_CLASSES_ROOT\vlc]
4 | @="URL:VLC Protocol"
5 | "URL Protocol"=""
6 |
7 | [HKEY_CLASSES_ROOT\vlc\shell]
8 |
9 | [HKEY_CLASSES_ROOT\vlc\shell\open]
10 |
11 | [HKEY_CLASSES_ROOT\vlc\shell\open\command]
12 | @="\"C:\\Program Files\\VideoLAN\\VLC\\vlc.exe\" \"%1\""
--------------------------------------------------------------------------------
/dashboard/src/api/services/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * 业务服务统一入口
3 | * 导出所有业务服务模块
4 | */
5 |
6 | import videoService from './video'
7 | import siteService from './site'
8 |
9 | // 导出所有服务
10 | export {
11 | videoService,
12 | siteService
13 | }
14 |
15 | // 默认导出服务集合
16 | export default {
17 | video: videoService,
18 | site: siteService
19 | }
--------------------------------------------------------------------------------
/dashboard/.gitignore:
--------------------------------------------------------------------------------
1 | # Logs
2 | logs
3 | *.log
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 | pnpm-debug.log*
8 | lerna-debug.log*
9 |
10 | node_modules
11 | dist
12 | dist-ssr
13 | *.local
14 |
15 | # Editor directories and files
16 | .vscode/*
17 | !.vscode/extensions.json
18 | .idea
19 | .DS_Store
20 | *.suo
21 | *.ntvs*
22 | *.njsproj
23 | *.sln
24 | *.sw?
25 | /dist-binary/
26 |
--------------------------------------------------------------------------------
/dashboard/docs/README.md:
--------------------------------------------------------------------------------
1 | # Vue 3 + Vite
2 |
3 | This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `
13 |