[Tools] Run local Nextjs App in a Cloudflare Tunnel with UntunJS

In development we often want to test out features we are building but can only do so with deployed or staging applications or setting up Ngrok or Cloudflare Tunnels.

UntunJS allows us to get the benefits of Cloudflare tunnels without having to go into the Cloudflare dashboard and set it up.

In this quick lesson we utilize UntunJS to run our local Nextjs application in a Cloudflare Tunnel

npx untun@latest tunnel http://localhost:3000

posted @ 2025-06-06 02:41  Zhentiw  阅读(10)  评论(0)    收藏  举报