# unjs/untun

🚇 Tunnel your local HTTP(s) server to the world! powered by  Cloudflare Quick Tunnels.

Repository: https://github.com/unjs/untun
Canonical: https://ross.abutalabs.com/products/untun
Language: TypeScript
License: NOASSERTION
License Family: other
Last push: 2026-08-26T10:42:32+00:00

## Health v2 (maintenance only)
Score: 82/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 61, longevity 79
- inputs: {"age_days": 1116, "days_push": 7, "days_rel": 44, "gap_med": null, "n_releases_24m": 1}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1377, forks 30 (observed 2026-08-28T04:04:33.361805+00:00)

## What it is
untun is a Node.js CLI and library that exposes a local HTTP(s) server to the internet via Cloudflare Quick Tunnels (cloudflared). It provides both a one-command CLI (`npx untun tunnel`) and a programmatic `startTunnel` API.

## Use cases
- expose a local dev server to the internet
- share a localhost URL with teammates for testing
- test webhooks against a locally running server
- demo a local app without deploying it
- programmatically create a public tunnel from Node.js code

## When to choose
- you need a quick, zero-config public URL for a local server
- you want a Node.js API to manage tunnels inside your tooling
- you already use the unjs ecosystem (e.g. listhen) and want integrated tunneling

## When to avoid
- you need stable, permanent tunnel hostnames or access control (use Cloudflare Tunnel proper or ngrok)
- your project is not Node.js-based and you can call cloudflared directly
- you cannot accept Cloudflare's terms of service

## Facets
- artifact type: cli-tool
- maturity: active
- function: networking, proxy, http-server, cli
- domain: networking, developer-tools, web-development
- platform: cli, cross-platform
- tags: tunneling, cloudflare, cloudflared, localhost, unjs, webhooks, port-forwarding, command-line, nodejs

## Member repositories
- unjs/untun (main) score 82

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:33.361805+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:28.148192+00:00, confidence not recorded.
  - readme: https://github.com/unjs/untun (fetched 2026-08-28T04:04:33.361805+00:00, sha 8feb94b517d9)
  - registry_npm: https://registry.npmjs.org/untun (fetched 2026-08-29T11:56:50.760565+00:00, sha 0340671c0e21)
- Data as of 2026-08-30T08:39:29.467469+00:00.
