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

- **Space:** cloudflare-public (https://github.com/Tech-Realm/space-cloudflare-public/tree/main/tunnel-quick)
- **Level:** L1 (as the registry reports it)
- **Keys it needs (names only):** none
- **Tools:** cloudflared, curl, python3, dig
- **Routes:** trycloudflare; checks: 4
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use cloudflare-public/tunnel-quick` or MCP `get_pack cloudflare-public/tunnel-quick`
- **Files:** CHANGELOG.md, code/e2e_check.sh, code/fast_share.sh, code/quick_tunnel.sh, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/fixtures/site/index.html, outcome/results.json, pack.yaml, refs/refs.yaml, spec/SPEC.md, spec/source.md

## Purpose (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)

1. `trycloudflare` (free): `sh code/quick_tunnel.sh <port>` - no account, no key

## Steps

1. Start your service on 127.0.0.1:<port>.
2. Run `sh code/quick_tunnel.sh <port>`; it prints the trycloudflare URL and keeps the tunnel open (Ctrl-C to close).
3. 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).
4. 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.
5. 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 `cloudflared` finds 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.



---

Canonical URL: https://logicpacks.io/packs/cloudflare-public/tunnel-quick

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
