port-to-public

Installation
SKILL.md

Port to Public

将本机 localhost127.0.0.1::1 上的 HTTP(S) 服务临时暴露为随机 https://*.trycloudflare.com 地址。

安全边界:公网 URL 无认证,拿到 URL 的人都能访问目标服务。禁止暴露管理面板、数据库控制台、密钥服务或无认证写接口。仅适合短时联调,不支持 TCP、固定域名、认证、长期运行或高可用。公网 URL 不可视为机密——trycloudflare 域名可被枚举,stop 后 URL 立即失效但 CDN 缓存可能残留。

使用

SKILL_ROOT="<此 skill 的绝对路径>"

# 启动:必须明确确认公网暴露;默认 12 小时后失效
python3 "$SKILL_ROOT/scripts/run.py" start  --port 11434 --confirm-public --ttl 1800

# 查看同一端口的 tunnel 状态
python3 "$SKILL_ROOT/scripts/run.py" status --port 11434
Installs
1
GitHub Stars
40
First Seen
Aug 7, 2026
port-to-public — gitbyeos/open-part-skills