tunnel-cloudflare
Cloudflare Tunnel driver for togo tunnel
Extends tunnel
togo install togo-framework/tunnel-cloudflareStars0
LanguageGo
License—
Last push2026-06-25
- cloudflare
- go
- golang
- networking
- plugin
- togo
- togo-framework
- tunnel
Readme
togo-framework/tunnel-cloudflare Cloudflare Tunnel driver for togo tunnel — quick (*.trycloudflare.com) or named.
Part of the togo framework.
Install
bash
Cloudflare Tunnel driver for togo's tunnel
subsystem. Wraps the cloudflared binary: a quick tunnel (no account, a
*.trycloudflare.com URL) by default, or a named tunnel when a token is set.
Requires the cloudflared binary on PATH.
Config
| Env | Meaning |
|---|---|
TUNNEL_DRIVER | set to cloudflare |
CLOUDFLARE_TUNNEL_TOKEN | named-tunnel connector token (optional; omit for a quick tunnel) |
CLOUDFLARE_TUNNEL_HOSTNAME | the hostname a named tunnel routes to (reported as the URL) |
CLOUDFLARED_BIN | path to cloudflared (default: cloudflared on PATH) |
go
Quick tunnels parse the public URL from cloudflared output (up to 45s). Named
tunnels start the connector and report CLOUDFLARE_TUNNEL_HOSTNAME.
Premium sponsors
text
Support togo — become a sponsor.