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 )       ...

CF-tunnel内网穿透一键脚本,无需域名,无需服务器,无需CF账户,支持windows

 

一键脚本

bash <(curl -sSL https://cdn.jsdelivr.net/gh/sky22333/shell@main/dev/cf-tunnel.sh)

win系统PowerShell在线脚本,需要以管理员模式打开PowerShell,跟linux系统使用方式一样

iwr -useb https://github.moeyy.xyz/https://raw.githubusercontent.com/sky22333/shell/main/dev/cf-setup.ps1 | iex

代码开源:https://github.com/sky22333/shell/tree/main/dev


  ss -ltnp | grep ollama

查看需要穿透的进程的,端口


 这里就代表要穿透 8434端口



访问: https://fifteen-mit-appointment-projects.trycloudflare.com/api/tags   

 这个域名是随机分配的


评论

此博客中的热门博文

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