app.nzapp
AppsProjectsReposPullsChatIntegrationsGatewayModelsEvalsToolsDatasetsMCPDeploysPricingBlogDocsAssistantsCharactersArtMusic
Sign inStart building
Agent stack
Cloud coding agentAgents SDKIntegrationsBrowser agentMonitors & auto-agentsSchedulersAgent skillsMCP serversDeep research
Models & API
AI GatewayModel catalogModel evalsModel spacesPlaygroundText to imageImage to 3DText to 3DMusic & SFXAudio editorMedia optimizerAI art & libraryChatAPI referenceSchemaBecome a provider
Compute & hosting
DeploysAddonsPostgres hostinggobed vector searchSite hostingAnalyticsCog GPU hostingRL trainingBuilds & CIWorkersTask queuesDomainsGit hosting
Tools
AI toolsDrawDiffusion canvasLive DrawWriteSheetsArtifactsVideo studioNotebooksDatasets
Learn
DocsBlogEval guidesPrompt libraryCLIAlternativesPapersAI charactersArt gallerySecurityConsulting
Company
PricingEnterpriseSettingsBillingStatusInvestorsCreate accountTerms of ServicePrivacy Policy
app.nzapp.nz

AI agent cloud for coding, deploys, model routing, and research. Built for teams shipping software.

Built in New Zealand by App AI NZ.

Social
X / TwitterGitHubYouTube
The app.nz network
GpuBrainPapersReading TimeNetwrckText-Generator.ioCodex InfinityOpenPathsCuteDSLAI Art GeneratorAIArt-Generator.artSiteSimSimplexGenDictatorFlowWebFiddleRing.nzChatGibidyBitBankExperimentFlowEvangelerHires.nzHow.nzV5 GamesAddicting Word GamesBig Multiplayer ChessWord SmashingreWord GameMultiplication Master
© 2026 App AI NZ Ltd. All rights reserved.All systems normalTermsPrivacy
Blog
June 24, 2026·4 min read·app.nz

Instant static deploys: from directory to URL in one command

app.nz hosts static sites behind a URL instantly — app sites deploy uploads, diffs, and prunes a directory so a deploy is the exact state of your build, scriptable into CI or an agent run.

The last mile of building something is putting it somewhere people can load it. app.nz hosts static sites — a built frontend, a landing page, a docs bundle, the output of a coding agent — behind a URL, instantly, from one command.

Deploy a directory

app sites create my-app --title "My App"
app sites deploy my-app ./dist

deploy uploads the directory, diffs it against what's already live, and prunes files you removed — so a deploy is the state of ./dist, not an append. Your site is served immediately at its app.nz URL, with the right content types and caching, no build step on our side required.

Why hosted static is the right default

Most "apps" are a static bundle plus API calls. You don't need a container or a server process to serve the bundle — you need a fast CDN-backed origin and a way to ship to it in one step. That's what /sites is:

  • Instant. No build queue; the upload is the deploy.
  • Atomic-ish. The diff+prune means a deploy converges to exactly your directory, with no stale files left behind.
  • Scriptable. app sites deploy drops into any CI step or scheduler; ignore patterns keep .map files or secrets out.
  • Paired with agents. A coding agent that builds a site can deploy it in the same run.

Ignore what shouldn't ship

app sites deploy my-app ./dist --ignore .map --ignore .DS_Store

Repeated --ignore substrings skip files you don't want public; --no-prune keeps previously-deployed files when you're uploading a partial set.

List and inspect

app sites list
app sites get <id>

Hosting is one of the cloud primitives app.nz gives you alongside the coding agent, the model gateway, and schedulers — the pieces you need to take an idea from prompt to a URL without leaving the toolchain.

Build what you just read

Ship agents, models, and apps on one cloud.

Start with free credits, then use the same platform from the web app, CLI, desktop app, or MCP.

Start building freeRead the docs

Keep reading

Serving static sites from R2 and a database

The fast path behind app.nz static deploys: upload changed files, prune removed paths, index them in the database, and serve bytes directly from R2 or local storage.

polyserve: in-process serverless that packs hundreds of apps into one process

Announcing polyserve, the open-source in-process serverless host behind app.nz: per-second billing via busy_ms and warm_s, hot-swap deploys, scale-to-zero, and autoscaling to Hetzner and RunPod GPUs.

Inside the polyserve Go host: fasthttp, unix-socket slots, and zero-drop hot swaps

How one fasthttp process serves many compiled Go apps with microsecond proxy overhead, atomic generation swaps with a 5s drain, and Postgres addons via injected DATABASE_URL.