qmetrics.net

hostc

Public HTTPS tunnel for local dev with hot reload

hostc screenshot

hostc exposes a local dev server through a public HTTPS URL with one npx command. WebSockets and hot reload pass through without signup, aimed at sharing work-in-progress safely.

Overview

hostc is a command-line tunnel aimed at developers who need a temporary public URL for a server running on localhost. After your app listens on a port, you run hostc against that port and receive a link you can open on other devices; requests log in the terminal as they arrive.

The tunnel preserves WebSocket traffic so Vite, Next.js, and similar dev servers can hot-reload clients connected through the public URL. Requests are rewritten so your app sees localhost hostnames, and the link can reconnect for a short window after network drops. No account or separate binary is required beyond a supported Node.js version.

The tool compares itself to broader Cloudflare Tunnel workflows but focuses on quick dev sharing with Server-Sent Events support and minimal setup. An experimental hostc codex mode exposes local Codex CLI use from a browser with explicit security warnings. You can also point the CLI at a self-hosted worker with --server.

Key features

  • One-command public HTTPS tunnel
  • WebSocket and HMR passthrough
  • No account or auth token
  • Request logging in the terminal
  • QR code option for phone testing
  • Automatic reconnect within time window
  • Optional self-hosted worker backend
  • Experimental browser Codex bridge

Use cases

  • Sharing a dev build with a teammate
  • Testing webhooks against localhost
  • Previewing on a phone with hot reload
  • Demoing AI-generated prototypes quickly

Does the same job as

hostc doesn't name these products itself, but its own description shows it does the same job.

Tags

Compare hostc

Similar software

Kong Gateway

Cloud-native API, LLM, and MCP gateway with plugins

Kong Gateway centralizes proxying, routing, load balancing, and authentication for microservice APIs and AI traffic. It extends behavior through a plugin system and optional AI gateway features.

★ 44.4k⟳ 5 days agoApache-2.0

Envoy proxy

Cloud-native edge and service proxy

Envoy is a high-performance C++ proxy for edge, middle, and service mesh traffic. It abstracts networking with observability, security, and dynamic configuration.

★ 29.3k⟳ yesterdayApache-2.0

websocketd

WebSocket wrapper for stdin and stdout CLI programs

websocketd listens for WebSocket clients and runs a command per connection, piping messages to stdin and stdout lines back to the browser. No WebSocket library is needed in your program.

★ 17.5k⟳ 19 days agoBSD-2-Clause

Apache APISIX

Cloud-native API gateway and AI traffic gateway

Apache APISIX is a dynamic, real-time API gateway built on NGINX and etcd. It manages north-south and east-west traffic and can act as a Kubernetes ingress controller.

★ 17.4k⟳ yesterdayApache-2.0

tproxy

CLI TCP connection proxy and analyzer

tproxy is a command-line tool to listen, relay, and inspect TCP traffic such as gRPC and MySQL connections for development debugging.

★ 3.7k⟳ 14 days agoMIT

Portr

Self-hosted HTTP, TCP and WebSocket tunnels for teams

Portr exposes local HTTP, TCP, and WebSocket services on public URLs through a tunnel server you control, with a local inspector, request replay, SQLite logs, and team access.

★ 3.2k⟳ 26 days agoAGPL-3.0
Open Source Alternative to:ngrok