Marketplace
<div align="center"> <h3>Premium sponsors</h3> <p> <a href="https://id8media.com"><strong>ID8 Media</strong></a> · <a href="https://one-studio.co"><strong>One Studio</strong></a> </p> <p><sub>Support togo — <a href="https://github.com/sponsors/fadymondy">become a sponsor</a>.</sub></p> </div>
Cloudflare Tunnel
OtherCloudflare Tunnel driver (quick + named tunnels).
togo-framework
bash
togo install togo-framework/tunnel-cloudflareInstall
bash
togo install togo-framework/tunnel-cloudflareCloudflare 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) |
Rows per page
1–4 of 4Page 1 of 1
go
svc, _ := tunnel.FromKernel(k)
url, _ := svc.Start(ctx, "8080") // → https://<name>.trycloudflare.com
defer svc.Stop(ctx)
Quick tunnels parse the public URL from cloudflared output (up to 45s). Named
tunnels start the connector and report CLOUDFLARE_TUNNEL_HOSTNAME.
<div align="center"> <h3>Premium sponsors</h3> <p> <a href="https://id8media.com"><strong>ID8 Media</strong></a> · <a href="https://one-studio.co"><strong>One Studio</strong></a> </p> <p><sub>Support togo — <a href="https://github.com/sponsors/fadymondy">become a sponsor</a>.</sub></p> </div>