YakTunnel
Use case

Share preview environments from CI or a laptop

Reviewers need a link to the branch you’re working on. Reserve a named URL per preview, keep it team-only or behind a password for clients, and start it from a laptop or a CI job.

How it works

  1. Reserve a URL for the preview

    New endpoints are team-only: visitors need to be signed in to your YakTunnel team. Switch one to password access in the dashboard for a client demo.

    Shell
    yaktunnel http 4000 --name checkout-preview --project website-preview
  2. Give CI its own key

    Create an automation identity scoped to that one endpoint. It belongs to the account, so it keeps working when someone leaves, and it doesn’t use a team seat. Store the key as YAKTUNNEL_TOKEN in your CI secrets.

    Shell
    yaktunnel principal create principal.json
  3. Start the tunnel in the job

    The CLI reads YAKTUNNEL_TOKEN from the environment. When the job ends, the endpoint goes offline and keeps its URL for the next run.

    YAML
    - name: Share the preview
      env:
        YAKTUNNEL_TOKEN: ${{ secrets.YAKTUNNEL_TOKEN }}
      run: yaktunnel http 4000 --name checkout-preview --project website-preview

Need the CLI first? Install it and sign in.

Good to know

  • There is no per-branch expiry yet: reserve a fixed set of preview names and reuse them, or delete an endpoint when the branch is merged.
  • Rotate a CI key by creating the replacement first, deploying it, then revoking the old one.
  • Suspend a preview to take it offline without losing its URL.

Set it up in a few minutes.

The free plan needs no card and includes stable URLs from the first command.