KatelyaTV：MoonTV 二创项目，Vercel 部署教程，支持TVBOX

📰 作者声明本项目自「MoonTV」演进而来，为其二创/继承版本，持续维护与改进功能与体验。保留并致谢原作者与社区贡献者。项目地址 https://github.com/katelya77/KatelyaTV 作者给了4中部署方法，NAS部署更方便，本文选用方案四：Vercel + Upstash（免费推荐） 特点：完全免费，自动 HTTPS，全球 CDN 部署方法 Fork 项目 → GitHub 仓库部署到 Vercel：登录 Vercel 导入刚 Fork 的仓库添加环境变量： USERNAME=admin PASSWORD=000000 NEXT_PUBLIC_STORAGE_TYPE=upstash 点击 Deploy 创建 Upstash 数据库：访问 Upstash 创建免费 Redis 数据库一路下一步获取 UPSTASH_URL 和 UPSTASH_TOKEN 添加环境变量：存储配置 UPSTASH_URL=https://xxx.upstash.io UPSTASH_TOKEN=your_token 功能开关 NEXT_PUBLIC_ENABLE_REGISTER=true ![](https://s2.loli.net/2025/09/13/xYt7O4rakPpCyV2.png) - 可以修改服务器位置 ![](https://s2.loli.net/2025/09/13/aGAFjcrofNH3DSe.png) 5. **重新部署** → Vercel Dashboard → Redeploy ![](https://s2.loli.net/2025/09/13/ExIpUtWQ3BwdieH.png) 6. 导入资源 json { "cache_time": 7200, "api_site": { "dyttzy": { "api": "http://caiji.dyttzyapi.com/api.php/provide/vod", "name": "电影天堂资源", "detail": "http://caiji.dyttzyapi.com" }, "ruyi": { "api": "http://cj.rycjapi.com/api.php/provide/vod", "name": "如意资源" }, "tyyszy": { "api": "https://tyyszy.com/api.php/provide/vod", "name": "天涯资源" }, "ffzy": { "api": "http://ffzy5.tv/api.php/provide/vod", "name": "非凡影视", "detail": "http://ffzy5.tv" }, "zy360": { "api": "https://360zy.com/api.php/provide/vod", "name": "360资源" }, "maotaizy": { "api": "https://caiji.maotaizy.cc/api.php/provide/vod", "name": "茅台资源" }, "jisu": { "api": "https://jszyapi.com/api.php/provide/vod", "name": "极速资源", "detail": "https://jszyapi.com" }, "dbzy": { "api": "https://dbzy.tv/api.php/provide/vod", "name": "豆瓣资源" }, "mozhua": { "api": "https://mozhuazy.com/api.php/provide/vod", "name": "魔爪资源" }, "yinghua": { "api": "https://m3u8.apiyhzy.com/api.php/provide/vod", "name": "樱花资源" }, "lzi": { "api": "https://cj.lziapi.com/api.php/provide/vod", "name": "量子资源站" } } } ``` ![](https://s2.loli.net/2025/09/13/JRzk9jidO3B71PD.png) tvbox使用 Vercel提供的域名国内无法直连