tunnelctl
CLI

slugs

Check whether an HTTP slug is available before reserving it.

HTTP tunnels are addressed by a globally-unique slug (<slug>.intunnel.eu). Before you reserve one with up http <slug>, check it's free.

tunnelctl slugs check <name>

check validates three things — format, the reserved-name list, and whether someone already owns it — and exits 0 if the slug is available, 1 if not.

$ tunnelctl slugs check myapp
myapp is available

$ tunnelctl slugs check myapp
myapp not available (already reserved by user test@example.com)
# gate an `up` on availability
tunnelctl slugs check myapp && tunnelctl up http myapp 8080

Slug rules

Slugs are DNS-safe: 3–32 characters, lowercase letters, digits and hyphens, starting and ending with a letter or digit. See Tunnels & protocols.

(The TCP/UDP equivalent — checking a port — is ports check.)