跳到正文

hostc

活跃
akazwz/hostc

一条命令就能为本地开发服务器生成公网 HTTPS 地址,支持 WebSocket 和热更新——免费开源,无需注册,运行在 Cloudflare 上。

在 GitHub 查看
星标
636
Fork
70
关注
636
未关闭 Issue
5

该介绍目前仅提供英文版本。

Overview

hostc gives your dev server a public HTTPS URL with one command — WebSockets and hot reload included. It is free, open source and needs no account.

Quick start

npx hostc@latest 3000

hostc prints a URL such as https://xxxx.hostc.app that forwards to http://localhost:3000, and every request is logged in your terminal. It needs Node.js 22.1 or later.

Why hostc

  • Nothing to set up — no sign-up, auth token or binary download
  • Visitors see your app directly, with no warning page to click through
  • Hot reload works over the tunnel

hostc vs Cloudflare Tunnel

hostc runs on Cloudflare too, but does a narrower job than Cloudflare’s own tunnels: quickly sharing a dev server. The URL is public — anyone who has it can reach your server, so only expose what you mean to share.

按共同分类和标签排序的同类开源项目。

全部网络项目 →