Deploy guide

How to deploy an app built with an AI coding assistant

You built something with Claude Code, Codex, Cursor, or another assistant, and now you want people to use it. The app itself is a normal web application; what it needs is a home: hosting, a database, access control, and a way to ship updates. With White Ghost the same assistant that built the app can also deploy it. The ghosty CLI is designed for agents, and the console can hand your assistant ready-made instructions for the trip back.

From your folder to a live URL, in five steps

  1. Install the CLI once. npm install -g ghosty-cli. Every command supports --json, so Claude Code, Codex CLI, Cursor, and other agents can drive the whole flow without you touching a terminal.
  2. Sign in. ghosty login uses a device flow: the CLI shows a code, you approve it once, and the agent keeps working. No passwords, no browser embedded in the tool.
  3. Scaffold or adopt the app. ghosty init asks a few questions (name, what it does, backend language, whether it needs a database) and creates a normal repository in your own GitHub account. Bring the code your assistant already wrote, or keep building inside the scaffold.
  4. Build with your assistant. ghosty dev runs the app locally while you keep shaping it. Each app ships starter instructions that teach the assistant its conventions.
  5. Ship. Every push to the repository builds and goes live on its own. Run ghosty deploy to watch until the new version is live on its URL, with access controls built in.

Shortcut: paste this into your assistant and let it do everything above.
Install the ghosty CLI, initialize this project with ghosty init, and ship it. Use --json output.

The bridge runs in both directions

Most platforms treat the AI assistant as something outside. White Ghost connects to it from both ends:

  • Assistant to platform. The ghosty CLI signs in with a device flow and supports --json on every command, so an agent can create an app, configure it, and deploy it end to end without a human opening the console.
  • Platform to assistant. The Overview of every app has "Open in Claude Code" and "Open in Codex" buttons, plus "Copy the instructions": a ready-made prompt that carries the app URL and the repository URL, so you can paste it into Cursor or any other assistant and it picks the work up from there.

What the platform manages so you do not have to

The Overview of each app lists the pieces White Ghost provisions and runs for you, each with its status and last update:

  • Deployment pipeline
  • Database
  • Build accelerator
  • App registry entry
  • Preview database
  • Code repository
  • Starter code
  • Live service
  • App identity

You never assembled any of it. Secrets are applied without a redeploy, scheduled jobs can call your app’s endpoints on a timer, a custom domain comes with SSL issued and renewed automatically, and every open pull request gets a live preview URL that updates on each push.

The honest part: what White Ghost does not do

  • It is not a no-code builder. The assistant writes real code into a real repository; White Ghost deploys and manages it.
  • No WebSockets or background workers today: apps serve HTTP requests, so real-time chat or long-running jobs need a different shape.
  • The backend language (Node or Python) is chosen when the app is created; switching later means creating a new app.
  • Apps scale to zero when idle, which keeps them free of babysitting but means a cold start on the first request after inactivity.

Where can an AI-built app live? The honest map

OptionBest forThe trade-off
Artifact and site links (Claude artifacts, ChatGPT Sites)Showing a prototype quickly inside the AI platform you already useThe app lives with the AI vendor: hosting, database, and access rules are limited to what that platform offers
Developer platforms (Vercel, Netlify, Railway, and similar)Engineers who want to assemble and operate their own stackYou wire hosting, database, secrets, auth, and permissions yourself
AI app builders (Replit, Lovable, and similar)Building and hosting inside one vendor’s editor and AIYou build with their embedded AI, not with the assistant you already use and pay for
White GhostShipping real apps with the AI assistant you already have, onto URLs with access rules you chooseManaged platform: less infrastructure control than assembling your own stack

Questions people actually ask

Can the assistant deploy the app without me?

Yes. The ghosty CLI signs in with a device flow (you approve it once) and every command supports --json, so an agent can create, configure, and ship an app end to end. The console exists so you can watch and manage; it is not required for deploying.

I built the app with Cursor, not Claude Code or Codex. Does this work?

Yes. The platform is assistant-agnostic. The console has one-click "Open in Claude Code" and "Open in Codex" buttons, and a "Copy the instructions" option that produces a ready-made prompt with your app URL and repository URL for Cursor or any other assistant. Underneath, everything is a plain CLI any agent can drive.

Do viewers need an AI account to open my app?

No. Apps deployed with White Ghost live on a normal URL with access rules you choose: public, a shared invite code, workspace members, or the app’s own sign-in. Viewers never need an account on any AI platform.

How fast is a deploy?

Fast. Real builds of a full app with a frontend and a backend have measured 53 seconds and 1 minute 27 seconds from push to live. The app scales to zero when idle, so the first request after inactivity takes a cold start.

What if a deploy breaks something?

Run ghosty rollback, or open the Deploys tab and press Redeploy on any previous build in the history. Every build keeps its commit, timing, and log.

Can I take the app somewhere else later?

Yes. The code lives in your own GitHub account from day one, and the console also offers a .zip download of the source at any time. You can leave with the code and the history.

The assistant built it. Let it ship it too.

Individual builders can start right away. Beta access is free.

Join the beta