nma.sh
Host JavaScript web apps and static sites—each app in its own hardware-isolated VM. Deploy over SSH or MCP in seconds using just an SSH key.
Sent here by your AI agent? Your agent signed up using an SSH key. Open the claim_url it gave you to confirm an email (free, keeps apps for good) or upgrade to Pro ($8/month). See Pricing and Trust and rules.
Pointing a coding agent here? Give it the agent docs index (/llms.txt) or full agent docs (/llms-full.txt), attach ssh nma.sh mcp as an MCP server, or point a Personal Agent at the Personal Agent manifest (/.well-known/poppy.json).
How a deploy looks
1. Sign up with your SSH key. That key becomes your account:
$ ssh nma.sh signup
welcome: this SSH key is your account
2. Deploy a JavaScript app. Write serve(handler) or export default { fetch } and pipe it over SSH:
$ ssh nma.sh deploy hello < app.js
hello is live (version 1): https://still-pike.nma.sh/
Once live, the command prints a two-word HTTPS URL, a numeric alias (https://2-53.nma.sh/), and a claim_url. Pass --json for single-object JSON.
Live agent timings (2026-11-10): sign-up took 1.4–4.1 s, first deploy to HTTP 200 took 4.1–6.3 s, and redeploy took 3.3–7.4 s.
3. Or deploy a static folder. Pipe a directory containing index.html (and no app.js) via tar to serve it directly as static files with pretty URLs, _headers, _redirects, ETag, Range, and gzip/brotli:
$ tar czf - -C DIR . | ssh nma.sh deploy APP
Optional local CLI: Install nanovm for local previews (nanovm dev) or multi-file and framework builds (nanovm pack .). It installs into ~/.nanovm for your user only, verified via CLI SHA-256 checksums (/dl/SHA256SUMS):
$ curl -fsSL https://nma.sh/dl/install.sh | sh
What comes built in
- Storage (db, kv, crdt): Strongly consistent, sharded
dbwith compare-and-set, edge-cachedkv, and conflict-freecrdtcounters and registers, plusdb list,get,delete, andexport(NDJSON). Data is shared across your account’s apps and survives redeploys, rollbacks, VM restarts, and deletion. - Secrets and access control: Write-only secrets (
secret set/secrets.get) rotated live without redeploying, one-secret password gates (NV_BASIC_AUTH), and built-in user sign-in (auth.handle/auth.userwith sign-up, login, per-user storage, and recovery codes). - Safe shipping: Live logs (
logs [-f]), rollbacks across the last 10 versions, automatic rollback if a redeploy’s first request answers 5xx, anddeletethat takes an app offline immediately (404). - Outbound fetch, static assets, and frameworks: Outbound
fetch()to publichttps://APIs;public/static files served directly alongside your app; a Vite build deployed as itsdist/folder; and 12 prebuilt frameworks (Hono, Astro, SvelteKit, Next.js via OpenNext, React Router, Nuxt, and more) viananovm pack ..
Why a VM per app matters
- A wall between apps: Every app runs in its own hardware-isolated VM. Each app reads only its own secrets, and each account sees only its own
db,kv, andcrdtdata. - Separate browser origins: Each app gets its own subdomain, so its browser storage (localStorage, IndexedDB) is its own.
- Built once, restored on demand: Your app is built and booted once in its own VM, which is snapshotted. Requests are served by VMs restored from that snapshot, with about 64 MiB of memory per app.
- Stateless VMs, durable storage: Any request may land in a freshly restored VM, so keep state in
db,kv, orcrdt. Static sites are served directly as files and skip the VM.
Pricing
| Tier | Free, unverified | Free, verified email | Pro ($8/month) |
|---|---|---|---|
| Price | $0 (SSH key only) | $0 (confirm email once) | $8/month (card) |
| Apps at a time | 2 | 5 | 10 |
| Idle apps | May delete after 30 days (7 d notice, 1 d grace) | Kept for good | Kept for good |
| URLs & domains | Two-word nma.sh |
Two-word nma.sh |
nma.sh, chosen NAME.sites.diy, custom domains (TLS) |
| Data share | 10,000 db keys / 40 MiB, 600 kv keys |
10,000 db keys / 40 MiB, 600 kv keys |
Bigger db & kv share (plan prints numbers) |
| Backups | Your own (db export) |
Your own (db export) |
Daily, restore any of the last 7 days |
| Concurrency | 8 in flight / 64 queued | 8 in flight / 64 queued | 64 in flight / 256 queued |
Run verify EMAIL or open claim_url to confirm one permanent email per account. Pro works with just an SSH key or a verified email (upgrade prints a checkout link, and the claim_url page opens one), includes 10 lifetime custom domains, and billing gives a link to change your card, see invoices, or cancel (active through the paid period).
16 lifetime app numbers: Across all tiers, an account can create up to 16 distinct apps over its lifetime (each gets a permanent numeric alias). Numbers are never reused so a deleted app’s URL is never given to anyone else; deleting still frees your concurrent 2, 5, or 10 slot right away.
Limits
- JavaScript and static sites: Deploy a JavaScript file (bundle dependencies locally), a built framework directory, or a static folder.
- Built for web requests: Each request gets up to 2 s of CPU, with request bodies up to 64 KiB and responses up to 1 MiB.
- Full limits and backups: See all size, rate, and memory limits (/limits.txt).
nma.shruns on one server today without automated backups; keep your own copy anytime withdb export APP.
Trust, data, deletion, and abuse rules
Apps, secrets, and access: Secrets are write-only (no command reads them back), and uploads containing .env files or symlinks are refused. Attach your own SSH key (keys create ID owner and login) and revoke an agent’s key anytime (keys revoke ID). The claim_url page only confirms an email or opens a Pro checkout link; it cannot deploy, delete, or read app data.
Deletion: Running delete APP answers 404 at once and frees your slot immediately. Old versions are removed after a day, and redeploying the same name restores the URL as a new version without rolling back to deleted versions. Your db, kv, and crdt data stay until deleted, and the URL and lifetime number stay yours. Unverified free accounts lose idle apps after 30 days (with 7 d notice and 1 d grace); verified and Pro apps are kept.
Guardrails: Every nma.sh app gets a random two-word URL. Chosen NAME.sites.diy names are filtered and need Pro; custom domains need Pro and DNS pointing to nma.sh. Outbound fetch() reaches only public https:// addresses, and sign-ups, deploys, and CPU are rate-limited.