Docs

Instant deploys · zHost

Deploy a Niral app to zHost from your terminal. Set up an account, install the CLI, link a project and publish to an HTTPS URL with automatic builds.

On this page 7 sections

zHost is ZyoraLabs' deployment cloud — the fastest way to put a Niral app on the internet. No server to provision, no nginx to configure, no CI to wire. Three commands from your machine to a live HTTPS URL.

curl -fsSL https://dl.zyora.in/zhost/install.sh | sh

zhost login
zhost link <slug>
zhost deploy        # → https://<slug>.zyora.in

1 · Create your account & project

  1. Register at console.zyoralabs.com — one

ZyoraLabs account works across every product.

  1. In the console, open zHost and create a project. The slug you pick

becomes your URL: https://<slug>.zyora.in.

  1. Open the project's Settings — it shows the exact CLI commands for your

project, ready to copy.

2 · Install the CLI & log in

curl -fsSL https://dl.zyora.in/zhost/install.sh | sh
zhost login          # your console email + password

The CLI installs to ~/.local/bin/zhost. zhost login authenticates your machine against the console.

From your app's directory (any npx create-niral app works as-is):

cd my-app
zhost link <slug>    # writes ./zhost.json — remembers which project this is
zhost deploy
› Packing source…
› Uploading 3 KB → <slug>.zyora.in
✓ Queued deployment 98aeb00c
› Building…
  queued → building → deploying → live
✓ Live → https://<slug>.zyora.in

Ship again any time — every zhost deploy packs your source, builds a fresh version on the platform, and flips your URL over when it's live.

What happens under the hood

  • zHost detects Niral automatically (your routes/*.niral files) — no

config, no Dockerfile needed.

  • It builds a container: Node 22 → niral build (0.2 s) → niral start.
  • Your app runs sandboxed with gVisor on an isolated network — real

container isolation, not just a process.

  • HTTPS + routing for <slug>.zyora.in are handled for you.
  • Environment variables set in the console are encrypted at rest and

injected at runtime — pair them with export const env = [...] in hooks.js so a missing secret fails the deploy, not production at 3am.

Why Niral apps are ideal on zHost

  • ~200 MB memory, one process — your app is cheap to host and quick to start.
  • 0.2 s builds, zero npm install of app dependencies — deploys take

seconds, not minutes.

  • SQLite in the box — most apps need no external database at all.

Bring a Dockerfile (optional)

Already have a Dockerfile? zHost uses it as-is instead of the Niral buildpack — full control when you need it.

Prefer your own server?

Niral never locks you in: niral deploy generates a complete self-owned kit (systemd + nginx + atomic releases) for any Linux box — see Deployment.