Packs / cloudflare-public
tunnel-quick
Expose a local port on a temporary https://*.trycloudflare.com URL with no account or key, plus the 'fast share' pattern (unguessable path on a static server behind a named tunnel).
Install
logicpacks pack use cloudflare-public/tunnel-quickget_pack cloudflare-public/tunnel-quickThe second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.
Keys it needs (names only)
None.
Playbooks included
- Spec:
spec/SPEC.md(goal, steps, edge cases, don’ts) - Routes:
trycloudflare - Checks: 4 in
outcome/checks.yaml - Code:
e2e_check.shfast_share.shquick_tunnel.sh - Tools: cloudflared, curl, python3, dig
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Expose a local port on a temporary https://*.trycloudflare.com URL with no account or key, plus the 'fast share' pattern (unguessable path on a static server behind a named tunnel).
Goal
A local service or file is reachable over HTTPS from anywhere within a minute, and the link stops working when you stop sharing.
Routes (free first)
trycloudflare(free):sh code/quick_tunnel.sh <port>- no account, no key
Steps
- Start your service on 127.0.0.1:
. - Run
sh code/quick_tunnel.sh <port>; it prints the trycloudflare URL and keeps the tunnel open (Ctrl-C to close). - Wait a few seconds before sharing the link: a brand-new hostname can take 5-20 s to resolve, and a resolver that was asked too early may cache the miss for minutes (the e2e check pins curl to an address from 1.1.1.1 for this reason).
- For links that must last (phone, another person, days): use a named tunnel (tunnel-named pack) with a fixed hostname and the fast-share pattern:
SHARE_ROOT=... SHARE_BASE_URL=https://share.<your-domain> sh code/fast_share.sh <file>makes an unguessable 16-char path per share. - Stop sharing: kill the tunnel (quick) or delete
$SHARE_ROOT/<token>(fast share).
Edge cases
- Quick tunnels have no uptime guarantee and a new random URL every start; never put one in a config that outlives the session.
- Quick tunnels do not support Server-Sent Events well and cap request time; use a named tunnel for long requests.
- If
cloudflaredfinds a config.yml in ~/.cloudflared, quick mode may refuse to start: run from a clean HOME or pass --config /dev/null. - Unguessable paths are not authentication: for private material add Cloudflare Access (access-app pack) or Basic auth on the static server.
Don'ts
- Don't expose admin panels, databases or SSH over a quick tunnel.
- Don't bake usernames/passwords into share links.
- Don't share files you were not asked to share.