[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-1211":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":14,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":16,"starSnapshotCount":16,"syncStatus":15,"lastSyncTime":34,"discoverSource":35},1211,"hostc","akazwz\u002Fhostc","akazwz","Localhost to the edge. Secure, fast, and zero-config edge tunnels powered by Cloudflare Workers.","https:\u002F\u002Fhostc.dev",null,"TypeScript",361,41,4,2,0,31,4.87,"Apache License 2.0",false,"main",[23,24,25,26,27,28,29,30],"cli","cloudflare-workers","developer-tools","durable-objects","localhost","ngrok-alternative","tunnel","websocket","2026-06-12 02:00:24","\u003Cdiv align=\"center\">\n  \u003Cimg src=\".\u002Fapps\u002Fworkers\u002Fpublic\u002Ffavicon.svg\" alt=\"hostc logo\" width=\"80\" height=\"80\" \u002F>\n  \u003Ch1>hostc\u003C\u002Fh1>\n  \u003Cp>\u003Cstrong>Localhost to the edge.\u003C\u002Fstrong>\u003C\u002Fp>\n  \u003Cp>Secure, fast, and frictionless edge tunnels. Powered by Cloudflare Workers.\u003C\u002Fp>\n\u003C\u002Fdiv>\n\n---\n\n**hostc** is a modern, lightweight, and zero-configuration tool to instantly expose your local HTTP and WebSocket services to the public internet. Built entirely on top of Cloudflare Workers and Durable Objects for global low-latency edge networking.\n\n## ✨ Features\n\n- **Zero Config**: Just run one command and get a public HTTPS URL.\n- **WebSocket Support**: Seamlessly proxies WebSocket upgrades (`ws:\u002F\u002F` -> `wss:\u002F\u002F`) out of the box.\n- **Edge Powered**: Traffic is routed through Cloudflare's massive global network network.\n- **Self-Hostable**: You can easily deploy the worker to your own Cloudflare account.\n\n## 🚀 Quick Start\n\nYou don't even need to install anything if you have Node.js. Just run:\n\n```bash\nnpx hostc 3000\n```\n\nOr, install it globally for frequent use:\n\n```bash\nnpm install -g hostc\n\nhostc 3000\n```\n\n> **Public URL**: You'll instantly get a URL like `https:\u002F\u002Ft-a1b2c3d4.hostc.dev` that routes traffic directly to your `http:\u002F\u002F127.0.0.1:3000`.\n\n## 🗺️ Roadmap\n\nhostc is still early, and the focus right now is making the core tunnel experience solid before adding more surface area.\n\n### Near term\n\n- Harden tunnel routing, connection lifecycle, and error-page behavior.\n- Polish the CLI UX around reconnects, local server failures, and terminal output.\n- Improve self-hosting and local development docs.\n- Add better operational visibility for the Worker and Durable Object path.\n\n### Later\n\n- Reserved or custom subdomains.\n- Basic access control for shared tunnels.\n- A cleaner hosted onboarding flow beyond the current waitlist.\n\n## 🏗️ Architecture & Monorepo\n\nThis project is a Monorepo managed by `pnpm`.\n\n| Package \u002F App | Description |\n| --- | --- |\n| [`apps\u002Fcli`](.\u002Fapps\u002Fcli) | The Node.js command-line interface tool. |\n| [`apps\u002Fworkers`](.\u002Fapps\u002Fworkers) | The Cloudflare Worker and Durable Object handling the tunnel connections. |\n| [`packages\u002Ftunnel-protocol`](.\u002Fpackages\u002Ftunnel-protocol) | Shared protocol and WebSocket message types. |\n\n## 🛠️ Local Development\n\n### Requirements\n- Node.js 18+\n- `pnpm` v8+\n- A Cloudflare account (if you want to deploy the worker yourself)\n\n### Setup\n\n1. **Install dependencies**\n   ```bash\n   pnpm install\n   ```\n\n2. **Run the Cloudflare Worker locally**\n   ```bash\n   pnpm dev:workers\n   ```\n\n3. **Run the CLI locally against your local worker**\n   ```bash\n   cd apps\u002Fcli\n   pnpm dev\n   \n   # Or using the environment variable with the built CLI:\n   HOSTC_SERVER_URL=http:\u002F\u002F127.0.0.1:8787 hostc 3000\n   ```\n\n## 📖 License\n\nApache License 2.0. Made with ❤️ by [akazwz](https:\u002F\u002Fgithub.com\u002Fakazwz).\n","hostc 是一个将本地服务快速安全地暴露到公网的工具，基于 Cloudflare Workers 和 Durable Objects 构建。其核心功能包括零配置命令行启动、WebSocket 代理支持以及通过 Cloudflare 全球网络实现低延迟传输。用户只需运行一条命令即可获得一个公开的 HTTPS URL，非常适合开发者在本地开发和测试时需要外部访问的应用场景。此外，该项目还支持自托管部署，方便用户根据自身需求进行灵活配置。","2026-06-11 02:42:19","CREATED_QUERY"]