I build HYNA-Stage on a $150 Android phone in Termux. Not a laptop with Docker Desktop, not a machine where I can run a container daemon.

That single constraint decided what hyna-stage up is allowed to do — and what it isn't.

People ask what happens when I type the command. The honest answer is: nothing magical. It's a short pipeline of boring, necessary steps, and every one of them was shaped by the fact that I can't run half of them locally.

Here's the whole command, start to finish. No hand-waving.

🧭 THE COMMAND, AS YOU SEE IT

$ hyna-stage up → reading repo from GitHub (no config file found, inferring runtime) → auth ok (supabase) → spinning up Firecracker microvm (e2b) → waiting for the runtime to start listening → wiring hot-reload + a cloudflare route ✓ ready: https://<sandbox-id>.hyna-stage.dev 

Notice there are no per-step seconds printed. I used to want to show timings there. I don't anymore — because a bare Node script and a Kotlin project with a cold Gradle cache are not the same workload, and putting a number on each line would be theatre. The total is a range (7–15s), and I'll get to why below.

⚙️ STEP 1: NO YAML, JUST INFERENCE

The first thing up does is look at your repo and guess. No hyna-stage.yaml, no devcontainer.json. It reads package.json, requirements.txt, go.mod — whatever exists — and infers the runtime, the version, and the start command.

This isn't cleverness. It's necessity. I can't open a config editor comfortably on a phone, so I refused to make you write one either. If the platform needs a config file to start, the platform is doing my job, not yours.

🔐 STEP 2: AUTH — A SUPABASE EDGE FUNCTION

The CLI doesn't talk to the VM provider directly. It calls a Deno edge function on Supabase. That function is the only place secrets live.

// supabase/functions/deploy-stage/index.ts (abridged) const sbx = await Sandbox.create({ apiKey: E2B_KEY, timeoutMs: ttlSeconds * 1000, lifecycle: { onTimeout: "kill" }, }); await sbx.git.clone(repoUrl); await sbx.commands.run(`cd /workspace && ${startCmd}`); return new Response(JSON.stringify({ url: sbx.getHost(port) })); 

I can't run Deno in Termux, so I never test this locally. My deploy loop is a curl to the Management API. Slower feedback — but it forced me to keep this function small enough to read in one pass.

.🧱 STEP 3: COMPUTE — A MICROVM, NOT A CONTAINER

Sandbox.create boots an E2B Firecracker microvm: hardware-virtualised, its own kernel, ephemeral by default.

I couldn't run Docker locally, so containers were never on the table. But even if I could, I wouldn't use them here. Containers share a kernel; on a platform where strangers run arbitrary code, that's a boundary I'd have to defend forever. A real kernel boot costs real seconds. That's most of why the range isn't instant.

⏳ STEP 4: THE PART I CONTROL LEAST

After the VM is up, it installs your dependencies. This is the biggest variable in the whole command and the one I can't optimise away — it's your npm install, not mine.

My first version of up blocked here: it didn't hand you a URL until deps finished, so the command felt slow even when the VM was ready. The fix was to return the URL as soon as the runtime starts listening and let the install finish in the background. The VM was never the slow part; my UI was lying about it.

🔄 STEP 5: HOT-RELOAD + ROUTING

File changes sync over a persistent connection, and traffic reaches your sandbox through a Cloudflare Worker. I chose a Worker over a load balancer because it's the one piece I could actually run and iterate on from a phone — and it meant I never had to think about provisioning an LB or managing TLS certs myself.

I'm deliberately not putting a sync-latency number here. The plan said "approximately 3 seconds" and I haven't verified that on a stopwatch yet, so it stays out of the article. When a tester times it, it goes in.

💥 WHAT BROKE, AND WHAT IT TAUGHT ME

Zombie sandboxes. My first version let sandboxes pause on timeout instead of dying. Users closed tabs and I kept paying for compute nobody used. Fix: hard-kill at creation, plus a pg_cron sweep as a second line of defence.

-- flip anything still 'running' past its expiry UPDATE sandbox_sessions SET status = 'expired', ended_at = started_at + make_interval(secs => ttl_seconds) WHERE status IN ('running','pending') AND now() > started_at + make_interval(secs => ttl_seconds); 

A quota check that didn't reserve anything. I checked limits, returned a boolean, then created the sandbox. Between check and insert there's a multi-second window; ten parallel requests could all pass. Fix: take a per-user advisory lock and write the reservation row inside the same transaction. The check and the claim have to be one atomic act, or the check is decorative.

Both came from someone poking at the platform, not from me being clever.

🛑 WHAT up DOESN'T DO (HONEST LIMITS)

  • No offline mode. No connection, no sandbox. The command is a no-op on a plane.
  • No persistence by default. Push to Git before the TTL or it's gone. up gives you a fresh room, not a snapshot.
  • No production hosting. Prototyping and isolated testing only.
  • No egress allowlist yet. Sandboxes have unrestricted outbound network. Fine for supervised prototyping, not for unattended agents. That warning now sits beside the setup instructions, because an isolated filesystem is not an isolated network.

.🔨 WANT TO WATCH THE SLOW STEP YOURSELF?

One tester has already signed up to time the 7–15s range on a real budget Android phone. I want four more.

npm install -g @hynaweb/stage hyna-stage init go # pick something that isn't node hyna-stage up 

Dashboard: https://hyna-stage.netlify.app/
GitHub: https://github.com/harun-sket/hyna-stage

Comment with the runtime you'll break and the step that felt slowest. A slow step is still real data — and it's the step I'll fix next.

— Harun, Founder & CEO, HYNAWEB 🐯☁️