MoonTv 一键搭建数据接口

使用方法:  https://video.gaojilingjuli.top/?url=https://raw.githubusercontent.com/666zmy/MoonTV/refs/heads/main/config.json&pretty=true  addEventListener ( 'fetch' , event => {   event . respondWith ( handleRequest ( event . request )) } ) async function handleRequest ( request ) {   try {     // 解析 URL 参数     const url = new URL ( request . url )     const targetUrl = url . searchParams . get ( 'url' )         if ( !targetUrl ) {       return new Response ( 'Missing url parameter' , { status : 400 } )     }         // 验证 URL 格式     try {       new URL ( targetUrl )     } catch {       return new Response ( 'Invalid URL format' , { status : 400 } )     }         // 从远程获取 JSON     const response = await fetch ( targetUrl )       ...

claw cloud run 部署 sub-store

 Sub-Store 是一个强大的订阅管理工具,可以用于过滤、合并、重写订阅节点。本教程将指导你通过 Claw Cloud Run 免费部署 Sub-Store 前端和后端服务。

Claw Cloud Run 是阿里云青春版 Claw Cloud 旗下,类似于 Vercel、Netlify 的在线开发平台,可以快速部署 Alist、Dify、frp 等程序,目前只需要绑定一个注册超过 180 天的 GitHub 账号,即可永久免费赠送 5 刀/月额度,可在每个可用区使用最多 4 vCPU、8GiB 内存、10GiB 硬盘资源,共提供 10GB 流量。


部署 Sub-Store 后端


Image(Public)xream/sub-store:http-meta


Network_Container Port3001

Local StorageCapacity1;Mount Path/opt/app/data

Environment Variables
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
TIME_ZONE=Asia/Shanghai
SUB_STORE_FRONTEND_BACKEND_PATH=/mFCwYT4buE9XCKyDuVXg
SUB_STORE_BACKEND_SYNC_CRON=0 0 * * *
SUB_STORE_BACKEND_UPLOAD_CRON=0 1 * * *


评论

此博客中的热门博文

Cloudflare WARP+,推出 MASQUE新协议,无需优选ip,直连,支持pc ,Android,ios ,MAC ,linux,附赠近1K个Warp+ 20-24PB的key