name: deployment-wizard description: 通过 Cloudflare Tunnel 即时将本地网站部署到互联网。无需托管,无需域名。
部署向导
使用 Cloudflare Tunnel 将任何本地服务器暴露到互联网。 无需账户,无需域名,无需托管。
快速开始
# 查找空闲端口 + 获取适合您技术栈的服务命令:
python .agent/skills/deployment-wizard/scripts/tunnel.py --find-port --serve-cmd static --quiet
# → FREE_PORT=3000
# → SERVE_CMD=python -m http.server 3000
# 启动隧道:
python .agent/skills/deployment-wizard/scripts/tunnel.py --port 3000 --quiet
# → TUNNEL_URL=https://xxx.trycloudflare.com
Agent 部署
📖 阅读简明食谱:.agent/skills/deployment-wizard/data/deploy_recipe.md
可用技术栈
static · react · vite · nextjs · nuxt · django · flask · fastapi · express · php · hugo · ruby · custom
其他命令
--check # 检查 cloudflared 是否安装
--install # 自动安装 cloudflared
--find-port # 查找空闲端口(预检)
--serve-cmd STACK # 获取技术栈的服务命令
--find-port --serve-cmd X # 组合:空闲端口 + 服务命令