Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Tuna

Cloudflare Tunnels for humans. Wrap any dev command with a secure, persistent tunnel.

# Before: Manual tunnel setup nightmare
cloudflared tunnel create my-tunnel
cloudflared tunnel route dns my-tunnel my-app.example.com
cloudflared tunnel run my-tunnel &
vite dev --port 3000
 
# After: Just prefix with tuna
tuna vite dev --port 3000

Features

  • Free custom domains - Use your own domain, no random URLs
  • Persistent tunnels - Survives terminal restarts (runs as a service)
  • Team-friendly - $USER variable prevents subdomain conflicts
  • Zero Trust Access - Restrict by email/domain, defined in config
  • Transparent wrapper - Colors, TTY, exit codes all preserved

Quick Start

npm
npm install -g tuna

Then run:

# Login once
tuna --login
 
# Configure your project
tuna --init
 
# Run with tunnel
tuna npm run dev

Get started →