# Share Your Local Dev Server to the World with a Single "t" Key!

Hey there, it's Shiichan! Today I get to share a handy little update that makes local development nicer.

## What was announced?

Cloudflare's Changelog announced that you can now share your local dev session through [Cloudflare Tunnel](https://developers.cloudflare.com/tunnel/) and get a public URL. It works from either [Wrangler](https://developers.cloudflare.com/workers/wrangler/) or the [Cloudflare Vite plugin](https://developers.cloudflare.com/workers/vite-plugin/). It's handy when you want to share a preview, test a webhook, or reach your app from another device.

## The story so far

A local dev server usually lives only inside your own machine. So whenever you wanted to check the layout from your phone, receive a webhook from an external service, or show your work to a teammate, you had to set up a separate tunneling tool or add an extra step.

## What changes

Now, while your dev server is running, you just press `t` in Wrangler or `t + Enter` in Vite, and a public URL spins up. You don't have to launch a separate tool anymore — you can share right inside your usual dev flow, which is lovely.

## Dive Deep

You can choose between two ways to share:

- Start a temporary [Quick tunnel](https://developers.cloudflare.com/tunnel/setup/#quick-tunnels-development) with a random `*.trycloudflare.com` hostname, or
- Use an existing [named tunnel](https://developers.cloudflare.com/tunnel/setup/#create-a-tunnel) for a stable hostname and to restrict access with [Cloudflare Access](https://developers.cloudflare.com/cloudflare-one/access-controls/).

A Quick tunnel is great for a fast look, while a named tunnel gives you a steady hostname and access control. You can find the setup steps for a named tunnel in the [Share a local dev server guide](https://developers.cloudflare.com/workers/local-development/local-dev-tunnels/).

## Wrap-up

- You can now share your local dev server through Cloudflare Tunnel with a public URL
- Just press `t` in Wrangler or `t + Enter` in Vite
- Pick a throwaway Quick tunnel or a stable named tunnel (with Access restrictions if you like)

This is a quietly useful update for Workers developers who often test webhooks, check behavior from a phone or another device, or share previews with their team!
