最近在GitHub上有一个比较火的影视项目,
配合Cloudflare的Pages功能,无需服务器,鼠标点点就能部署。
项目:https://github.com/LibreSpark/LibreTV
(Cloudflare免费套餐限量,超量打不开用这个)
搭建方法:
首先准备Cloudflare账号、Github账号,没有的自行注册。
- 进入LibreTV项目主页,右上角点FORK,创建FORK
- https://github.com/LibreSpark/LibreTV2025-05-21_105916
- 登录Cloudflare后台,点计算-Workers 和 Pages-创建Pages-导入现有 Git 存储库。
- 将Github和Cloudflare进行关联,关联后会显示刚FORK的项目。
- 一直下一步就行,在环境变量那里建议加一个PASSWORD密码以防版权投诉。
- Cloudflare会自动分配一个域名打开就能使用了。
使用方法:
网站右上角设置按钮把所有源都勾选上黄色过滤按钮打开以免搜索到黄色内容。
其他事项:
Note: Cloudflare提供的域名在一些地区可能打不开或者速度慢,请自行配合科技或服务器自建。
Note: 视频内容来自于LibreTV搜集的内容接口。
Note:This guide aims to help you set up a popular media project on GitHub, leveraging Cloudflare's Pages feature for easy deployment without the need for a server. Ensure all instructions are followed correctly to avoid issues with copyright complaints. The provided domain might face restrictions in certain regions, and users are advised to explore self-hosting options or use other technologies for better accessibility.