Files
media-center/README.md
T
sutong a39547f5f6 docs: add README.md
项目概述、前置依赖、快速开始、模块结构、主要工作流

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 19:03:37 +08:00

67 lines
2.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# media-center
资源中心——从多渠道获取资源链接,转存到夸克网盘并整理归档。
## 用途
自动化完成"找资源 → 存网盘 → 整理归档"全流程:
- **找**:从腾讯文档(如 Tacit0924 每日更新文档)或跨平台搜索定位资源
- **存**:查看分享链接 → 创建目录 → 转存 → 清理杂文件
- **整理**:按集数分段 → 创建子目录 → 移动文件
## 前置依赖
- Node.js >= 18
- [mcporter](https://github.com/steipete/mcporter) — MCP 客户端
- curlGit Bash 自带)
## 模块结构
```
media-center/
├── SKILL.md # 入口 + 场景路由
├── sites/ # 数据源信息
│ └── tacit0924/ # Tacit0924 资源文档(853K 字,每日更新)
├── sources/ # 获取技术
│ ├── tencent-doc/ # 腾讯文档读取
│ └── search/ # 网盘搜索(PanSou
├── storage/ # 存储后端
│ └── quark/ # 夸克网盘操作
├── ref/ # 来源 skill 完整归档
└── tmp/ # 临时文件/cookie(已 gitignore
```
## 快速开始
```bash
# 1. 安装依赖
npm i -g mcporter @ptbsare/netdisk-mcp-server
# 2. 配置腾讯文档
bash ref/tencent-docs/setup.sh tdoc_check_and_start_auth
# 3. 配置夸克网盘
# 登录 pan.quark.cn → F12 → Network → 复制 Cookie
mcporter config add netdisk \
--stdio "npx -y @ptbsare/netdisk-mcp-server" \
--env "NETDISK_QUARK_COOKIE=你的Cookie"
```
## 主要工作流
| 场景 | 流程 |
|------|------|
| 腾讯文档找今日更新 | `sites/tacit0924/``sources/tencent-doc/``storage/quark/` |
| 搜索影视资源 | `sources/search/``storage/quark/` |
| 整理网盘文件 | `storage/quark/usage.md`(文件整理章节) |
## 版本管理
每个模块按 `v1/``v2/` 版本组织,接口变更时创建新版,旧版保留参考。
## 参考来源
- [tencent-docs](https://docs.qq.com/openapi/mcp) — 腾讯文档官方 MCP
- [netdisk-mcp-server](https://github.com/ptbsare/netdisk-mcp-server) — 夸克/115 网盘 MCP