Skip to main content

DEFAULT_CLEARNET_URL

Constant DEFAULT_CLEARNET_URL 

Source
pub const DEFAULT_CLEARNET_URL: &str = "wss://huddle-ws-proxy.richer-richard.workers.dev/ws";
Expand description

huddle 1.1: the operator’s clearnet door onto the SAME relay backend as DEFAULT_SERVER_URL, fronted by a cloudflared tunnel (valid TLS, no domain of our own). Baked in so users who can’t reach Tor still connect with zero config. It sits LAST in [default_fallback_order], so a working onion is always preferred and a Tor user never dials clearnet — this only lights up when the onion is unreachable.

huddle 1.1.5: this is now a stable address — a free Cloudflare *.workers.dev Worker that WS-proxies to the operator’s relay. The Worker reads the relay’s current (rotating) cloudflared backend from KV, which the VPS keeps fresh on every rotation, so this hostname never goes stale (unlike the raw *.trycloudflare.com quick-tunnel URLs baked in 1.1.0–1.1.4). It exists for users in regions where Tor itself is blocked. Still LAST in [default_fallback_order], so a working onion is always preferred and a Tor user never dials clearnet. Override per-client with --clearnet-server, clearnet_url in config.toml, or Settings → Network; an explicit value always wins over this default.