Vibe coding deployment: how to ship what you built

· 0x.cloud Team

Vibe coding deployment: how to ship what you built

Vibe coding deployment means getting an app you built with Cursor, Claude Code, Lovable or Bolt off localhost and onto a real URL. You have three routes: the builder's own publish button, a frontend platform like Vercel, or your own VPS for everything else. Pages only? A free static host is enough. A backend, database, bot or background jobs? Use a VPS with Coolify, which builds from GitHub and handles HTTPS. Below: the options compared, a pre-deploy checklist and a step-by-step launch.

Why deployment is the hard part of vibe coding

Andrej Karpathy coined "vibe coding" in a post on February 2, 2025 for building software by describing what you want and letting AI write the code. By November, Collins had named it Word of the Year 2025. Tools like Cursor, Claude Code, Codex, Lovable, Bolt and Replit made the building part fast.

Shipping didn't get easier at the same pace. Your app runs on localhost:3000, and nobody else can see it. You still need somewhere to run the code, a domain, TLS, environment variables and a database. This is where most vibe-coded projects stall.

5 ways to deploy a vibe coded app

Option Fits Cost Tradeoffs
Lovable or Bolt publish apps built inside the builder free on a subdomain, custom domain on paid plans code and hosting tied to the platform
Vercel or Netlify frontends, Next.js, static sites free tiers available time-limited functions, no persistent disk
GitHub Pages static sites only free no backend
PaaS (Render, Railway and similar) backends and databases without server work usage-based bill grows with load
Your own VPS everything: backend, DB, bots, agents, many projects flat, from $4.49/mo one-time setup, or let an agent do it

Builder facts, checked November 20, 2026: Lovable publishes with a Publish button to your-app.lovable.app, with custom domains on paid plans. Bolt has built-in hosting on a .bolt.host domain for all plans and custom domains on Pro. On the free Vercel Hobby plan, functions run for at most 300 seconds with up to 2 GB of memory, and runtime logs are kept for 1 hour: fine for a site, not for a bot or a long AI task.

Pick a VPS when:

  • your app has a Python, Node.js or Go backend that must stay up;
  • you need a database (PostgreSQL, SQLite) on real disk;
  • there's a Telegram bot, queue, cron job, scraper or AI agent;
  • you have several projects and don't want a bill per app;
  • you want code and data independent of any one platform.

Pre-deploy checklist for AI-written code

AI writes code that works on your machine, not necessarily on a server. Before shipping, check (or have your agent check):

  1. No secrets in code. OpenAI, Anthropic and Stripe keys and DB passwords go in .env, and .env goes in .gitignore. A key in frontend code is visible to every visitor.
  2. No localhost URLs. API and database addresses come from environment variables.
  3. The production build passes. Run npm run build or the equivalent and fix errors before deploying.
  4. A Dockerfile or a clear start command. Coolify can detect your stack, but an explicit Dockerfile is more predictable.
  5. Data outside the app folder. Keep SQLite on a persistent volume or a rebuild will wipe it.
  6. Code on GitHub. That's where the server pulls from. Cursor and Claude Code can commit and push for you.

One prompt that covers most of the list:

Prompt for an AI agent

Get this project ready to deploy on a VPS: move all keys and URLs into .env and add .env.example, check .gitignore, remove hardcoded localhost, add a Dockerfile for a production build, run the build and fix any errors. Then commit and push to GitHub.

Vibe coding deployment on a VPS in 6 steps

The easiest path on your own server is Coolify, an open-source, Vercel-style panel that runs on your VPS. Its official docs list 2 CPU cores, 2 GB RAM and 10 GB of disk as the minimum. Builds and your apps need headroom, so start with s2-4 (2 vCPU, 4 GB RAM, 60 GB NVMe).

  1. Create a server: s2-4 with Ubuntu 24.04 on 0x.cloud. Ready in 60 seconds on average.
  2. SSH in and install Coolify with one command as root:
# official installer: sets up Docker and the Coolify panel
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash
  1. Open the panel at http://SERVER_IP:8000 and create the admin account right away; whoever reaches the sign-up page first becomes the admin. Sign-up stays open for only 10 minutes after Coolify starts; if you see "Setup window closed", run docker restart coolify and reload.
  2. Connect GitHub and pick the repository. Coolify detects the stack or uses your Dockerfile.
  3. Add environment variables from .env in the app settings.
  4. Attach a domain: an A record pointing to the server IP, the domain in app settings, and Coolify issues HTTPS.

From then on, every git push to the main branch rebuilds and redeploys. Full guide: deploy Coolify; for Next.js specifically, deploy Next.js on a VPS.

Without a panel

For a single small app you can skip Coolify: run Node.js with pm2 or Python with systemd, put Nginx in front and get a certificate with certbot. It uses less RAM (s1-2 at $7.99/mo is enough) but every update is manual: git pull, install dependencies, build, restart. Have your agent wrap those four steps in a deploy.sh script.

Let your AI agent deploy it

If Claude Code, Codex or Cursor wrote the code, it can ship it too. On 0x.cloud an agent checks prices and creates servers through MCP or the API. Safety lives on the API key: permissions (read, create, delete) and a monthly spending cap. Any create request can run as a dry_run first, which returns the exact price and creates nothing. How it works: an AI agent creates a server.

Prompt for an AI agent

Deploy this project. Create an s2-4 server with Ubuntu 24.04 on 0x.cloud, show me the dry_run price and wait for my OK. Install Coolify with the official command, connect my GitHub repository, set the variables from .env.example (ask me for the values), and send me the live URL.

What it costs to host a vibe coded app

Project Plan Specs Monthly
One site or bot, no panel s1-2 1 vCPU, 2 GB RAM, 30 GB NVMe $7.99
Several apps in Coolify s2-4 2 vCPU, 4 GB RAM, 60 GB NVMe $15.99
Heavy builds, databases, an agent with a browser s4-8 4 vCPU, 8 GB RAM, 120 GB NVMe $31.99

Servers are in Warsaw with NVMe and unmetered traffic at up to 1 Gbps. Hourly billing is handy for a demo: s2-4 works out to about $0.109520 an hour, so a full day of demo costs around $2.63. Show it, delete it: charges stop immediately and the remainder goes back to your balance. Setup is $0 and the server is ready in 60 seconds on average. See all plans on the pricing page and the scenario page: VPS for vibe coding.

Keep shipping without breaking things

Deploying once is easy; you'll iterate with your agent every day. A few habits help:

  • Use branches. Let the agent work on a branch, review, then merge. Coolify can spin up preview deployments for pull requests.
  • Snapshot before big changes. A server snapshot on 0x.cloud costs $0.99/mo; if an update breaks the database, roll back in minutes.
  • Turn on backups for production. Seven daily copies cost +20% of the plan price.
  • Read logs, don't guess. Copy the full error from the build or runtime log and hand it to the agent so it fixes the cause, not the symptom.
  • Keep database migrations in the repo. The agent changes the schema through migrations, not by hand on the server.

Common post-deploy errors

  • Site loads but the API fails. Environment variables aren't set on the server. Diff .env.example against the app settings.
  • Data gone after a rebuild. The database lived inside the container. Mount a volume.
  • Certificate won't issue. DNS hasn't propagated or the A record points elsewhere. Check with dig yourdomain.com.
  • Server crawls during builds. Not enough RAM: Next.js builds can eat 2 GB or more. Move up a plan or build images in GitHub Actions.
  • Leaked API key. If a key hit the repo or the frontend, revoke it at the provider and issue a new one. Deleting the commit isn't enough.

FAQ

How do I deploy a vibe coded app? Push the code to GitHub, then pick a host. Frontend-only apps fit Vercel, Netlify or GitHub Pages. Apps with a backend, database, bot or background jobs fit a VPS running Coolify, which builds from GitHub and issues HTTPS for you.

Where should I host an app built with Cursor? Cursor writes the code; hosting is separate. For a static site, use a free static host. For a full-stack app, a VPS such as s2-4 (2 vCPU, 4 GB RAM) at $15.99/mo with Coolify runs several projects for one flat price.

Can I deploy a vibe coded app for free? Frontends, yes: Vercel Hobby, Netlify and GitHub Pages have free tiers, and Lovable and Bolt publish to their own subdomains. Apps with a database and always-on processes outgrow free tiers quickly.

Why does my app work locally but break after deploy? Usually hardcoded localhost URLs, missing environment variables, a SQLite file that wasn't persisted, or a skipped production build. Read the build and runtime logs and paste the exact error to your AI agent.