@hynaweb/stage

中文文档
2.3.1发布于 2026/11/01ES Module

Ephemeral cloud sandboxes in seconds. Built for the KODA Hacker Stage.

原始使用文档
文档目录6 节
  1. ⚡ The Pitch
  2. 🚀 Quick Start
  3. 🧹 Destroying Sandboxes
  4. 🏗️ The Stack
  5. 🥖 The Story
  6. ⭐ Support the Project
HYNA-Stage Logo

HYNA-Stage: Ephemeral Cloud Sandboxes

Deploy an app to a live URL in 5 seconds. No Docker, no YAML, no credit cards. Built on a $150 Android phone.

NPM Version Live Dashboard


⚡ The Pitch

AI agents write code in seconds, but deploying it to a safe staging environment takes minutes.

HYNA-Stage is a CLI that spins up isolated Firecracker MicroVMs via E2B, deploys your HTML/code, and returns a live URL instantly.

To save costs and prevent rogue agents from persisting, every sandbox auto-destroys after its TTL (Time-To-Live) expires.

🚀 Quick Start

Install the CLI globally: npm install -g @hynaweb/stage

Authenticate (one-time): hyna-stage login

Deploy a file: hyna-stage up index.html --ttl 120

Output: ✔ Sandbox is live

ID: ietpcwda0h9n1dxh1agz5

URL: https://3000-ietpcwda0h9n1dxh1agz5.e2b.app

TTL: 120s

Open the URL in your browser. Your app is live on the internet.

🧹 Destroying Sandboxes

You can manage your environments visually from the Live Dashboard, or destroy them via CLI: hyna-stage down ietpcwda0h9n1dxh1agz5

🏗️ The Stack

  • CLI: Node.js (ES Modules), Commander.js
  • Backend: Supabase Edge Functions (Deno)
  • Database: Supabase PostgreSQL
  • Compute: E2B (Firecracker MicroVMs)

🥖 The Story

I’m 12 years old. I don't own a laptop. I built this entirely on an Android phone using Termux.

I wanted a tool that let me go from "I wrote a file" to "I have a live URL" without dealing with AWS, Docker, or billing dashboards. HYNA-Stage is that tool.

Read the full story of how I bypassed the Supabase API gateway to build this on Dev.to.

⭐ Support the Project

If you want an easier way to deploy sandboxes, give this repo a Star! It helps a 12-year-old founder more than you know.


Copyright (c) 2026 Harun (HYNAWEB). All Rights Reserved.

版本与发布记录

@hynaweb/stage 共发布 12 个版本,首次发布于 2026/10/19;过去 12 个月发布了 12 个版本。

版本发布日期距今
2.3.1latest2026/11/012 天前
2.1.02026/10/294 天前
2.0.12026/10/259 天前
2.0.02026/10/259 天前
1.3.02026/10/2311 天前
1.0.72026/10/2014 天前

关于 @hynaweb/stage 的常见问题

@hynaweb/stage 是什么?

在几秒钟内短暂的云沙箱。为KODA黑客舞台打造。

如何安装 @hynaweb/stage?

在项目目录运行 npm install @hynaweb/stage,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 hyna-stage,可以用 npx hyna-stage 直接运行。

@hynaweb/stage 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/hynaweb__stage 是否存在。

@hynaweb/stage 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@hynaweb/stage 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=18。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@hynaweb/stage 可以商用吗?

@hynaweb/stage 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

@hynaweb/stage 还在维护吗?

最新版本 2.3.1 发布于 2026/11/01(2 天前);至今共发布 12 个版本,其中过去 12 个月发布了 12 个;首次发布于 2026/10/19。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。