LaunchPad docs

Everything you need to deploy a static website from GitHub or GitLab — from your first push to custom domains, rollbacks, teams and fixing a failed build.

Introduction

LaunchPad builds and hosts static websites straight from your Git repository. Connect a repo once — after that, every push to your branch is built in an isolated container and published with free HTTPS.

How it works

  1. Connect a repository — or upload a ZIPPoint LaunchPad at a public GitHub or GitLab repo and pick the branch, or drag and drop a ZIP if you don't use Git.
  2. Push your codeA webhook tells LaunchPad about each push. You can also deploy manually from the dashboard.
  3. We build itDependencies install, then your build command runs inside a throwaway Docker container with no network access.
  4. It goes liveThe output is published to yoursite.lpad.dev with SSL, and to any custom domains you add. The switch is atomic, so visitors never see a half-deployed site.

Key concepts

TermMeaning
ProjectOne website: a repository, a branch, build settings and the domains it's served on.
DeploymentOne run of the pipeline for a specific commit, with its own live log and status.
ReleaseThe files a successful deployment produced. The newest becomes the live site; the last 5 are kept for instant rollback.
Production branchThe branch LaunchPad deploys. Pushes to other branches are ignored.
WebhookA URL + secret you add to GitHub or GitLab so each push triggers a deployment.
Deploy keyA read-only SSH key LaunchPad creates for a private repository. You add its public half to the repo; it can't push or reach your other repositories.

What you can host

Anything that ends up as static files — HTML, CSS, JavaScript, images, fonts. That covers single-page apps (React, Vue, Svelte), static-site generators (Astro, Hugo, Jekyll, Eleventy), statically exported frameworks (Next.js, Nuxt) and hand-written HTML or Bootstrap templates.

LaunchPad does not run server code. Server-side rendering, API routes, PHP or databases need a hosting plan or VPS — Hostmargin has those too.

What's new

Recent changes to LaunchPad, newest first.

DateWhat changed
26 Nov 2026Safer hosting for everyone. Deployments are now checked for phishing before they go live, and subdomains can't imitate well-known brands. Most deploys go live as before; a few wait for a quick review first. See "In review".
7 Nov 2026Hoot redeploys your sites and checks failed deploys first. Ask "redeploy my-portfolio" (or just "redeploy" to pick from a list) and Hoot redeploys any project you already have. When a deploy fails, he checks the log straight away and shows the fix if it's in your settings; only if that doesn't solve it does he ask whether Agent Hoot AI should take a closer look. See Redeploy a project and When a deploy fails.
31 Oct 2026Agent Hoot (AI). Paste your repository link and Hoot works out the build settings and deploys it from a chat, private repositories included. When a deploy fails, he reads the log and tells you what to fix. See Agent Hoot.
22 Oct 2026Uploads from your own website. Create an upload key under Storage Box → Upload keys and your visitors can upload photos and files straight into your box with one line of JavaScript. Servers can upload with a LaunchPad API token. See Upload from your website.
21 Oct 2026Storage Box. S3-compatible storage for your images, videos and files, with public links on cdn.hostmargin.com. See Storage Box.
20 Oct 2026LaunchPad blog. Guides, release notes and tips at /blog.
19 Oct 2026Deploy from your editor. The LaunchPad extension for VS Code, Cursor, Windsurf and Antigravity — see Deploy from your IDE.
19 Oct 2026Private repositories with read-only deploy keys, and an Angular preset. See Private repositories.
19 Oct 2026Site controls: deploy by ZIP upload, password protection, maintenance mode, scheduled publishing, release ZIP downloads and usage alerts.
19 Oct 2026Longer builds on Free. The Free plan's build timeout doubled from 60 to 120 seconds. Builds still slow? See Troubleshooting.
19 Oct 2026Agent Hoot, your guide on the dashboard: it explains each step and what to do next.

Quick start

From zero to a live HTTPS site in about five minutes.

  1. Sign in with HostmarginClick Log in. LaunchPad uses your Hostmargin account — no new password. New here? Create a free Hostmargin account first.
  2. Create a projectOpen Projects → New project. Choose GitHub or GitLab, paste the repository URL (for example https://github.com/you/portfolio), give the project a name and enter the branch, usually main. If the repository is private, tick This is a private repository — you'll add a deploy key before the first deploy. No Git? Choose Upload ZIP instead (how).
  3. Choose build settingsPick your framework to fill in the build command and output directory — or tick No build needed for plain HTML. See Build settings.
  4. Pick a subdomainYour site will live at https://<subdomain>.lpad.dev. You can add your own domain now or later.
  5. DeployClick Create & Deploy and watch the pipeline and build log live. When it says Live, open your site.
  6. Turn on auto-deploysCopy the webhook URL and secret from the project's Settings tab into GitHub or GitLab. From now on, git push is all it takes. See Git webhooks.
  7. Optional: use the site controlsPassword-protect a client preview, schedule the launch, or switch on maintenance mode from the Site controls tab. See Site controls.
terminal
# every push to your branch now deploys
$ git add .
$ git commit -m "Update pricing page"
$ git push origin main
✓ deployment queued → https://yoursite.lpad.dev

Connecting a repository

No Git? Pick Upload ZIP as the source when you create the project and drag your site's ZIP onto the project page. See Deploy by ZIP upload.

Supported providers

LaunchPad deploys public and private repositories on GitHub and GitLab. Enter the HTTPS URL of the repository:

repository URL
https://github.com/owner/repo
https://gitlab.com/group/repo

Private repositories

Tick This is a private repository when you create the project (or in Settings later). LaunchPad generates a deploy key — an SSH key that belongs to this one project — and shows its public half. Add it to the repository as a read-only key:

  1. Copy the deploy keyIt's on the project page right after you create the project, and always in Settings → Deploy key.
  2. Add it to the repositoryGitHub: Settings → Deploy keys → Add deploy key. GitLab: Settings → Repository → Deploy keys. Title it LaunchPad and leave write access off.
  3. DeployClick Deploy now. Every build clones over SSH with that key; the webhook works exactly as for public repositories.

Why a deploy key? It's read-only, works for a single repository, and you can revoke it from GitHub or GitLab at any time — no password or personal access token is ever shared. The private half is stored encrypted and only used during the clone; GitHub's and GitLab's server keys are pinned, so builds can't be redirected to an impostor server.

Need a new key? Use Regenerate key in Settings, then replace the old key in your repository. If a private clone fails with Permission denied (publickey), the key isn't added to that repository yet (or it was added to a different one).

Branch

Each project deploys one branch. LaunchPad clones just the latest commit of that branch (a shallow clone), so even large histories clone quickly. Cloning has a 120-second limit.

Subdomain rules

  • 3–63 characters: lowercase letters, numbers and hyphens.
  • Must start and end with a letter or number.
  • Must be unique across LaunchPad.
  • Names that imitate a well-known brand or bank (such as paypal-login or itau-seguro) can't be used. Own the brand? Contact support.
  • Reserved names can't be used: www, api, app, admin, launchpad, mail, smtp, ftp, ns1, ns2, cdn, static, status, docs, help, support, billing, dashboard .

Need a different address later? Contact support and we'll move the site to a new subdomain — SSL included. The old address stops working once it's moved, so update any links to it. Custom domains keep working.

Build settings

Two settings tell LaunchPad how to turn your repository into a website. Change them any time in the project's Settings tab — they apply from the next deployment.

Build command

The command that produces your site, run from the repository root — for example npm run build. It runs in a POSIX shell, so you can chain steps with && or set variables inline:

build command examples
npm run build
npm run lint && npm run build
GENERATE_SOURCEMAP=false npm run build
hugo --minify

Keep it to a single line (up to 500 characters). Leave it empty — or tick No build needed — to publish the repository exactly as it is.

Output directory

The folder your build writes the finished site to, relative to the repository root: dist, build, out, public, _site… Use / to publish the repository root. Paths that leave the repository (such as ../) are rejected.

The output directory should contain an index.html. If it doesn't, the build still succeeds but the log shows ⚠ warning: no index.html found in the output directory and your home page won't load.

Dependency install (automatic)

You don't need to put npm install in your build command. Before building, LaunchPad installs dependencies based on the files it finds in your repository:

Found in repoInstall command
pnpm-lock.yamlpnpm install --frozen-lockfile
yarn.lockyarn install --frozen-lockfile
package-lock.jsonnpm ci
package.json onlynpm install
Gemfilebundle install
composer.jsoncomposer install --no-dev

Installs retry flaky network requests automatically. Commit your lockfile: it makes builds reproducible and faster.

Presets

The create wizard offers these presets. Each just fills in the two fields above — you can edit them afterwards.

FrameworkBuild commandOutput directory
Plain HTML/CSS (empty) /
Bootstrap template (empty) /
React (Vite) npm run build dist
React (CRA) npm run build build
Angular npm run build dist
Vue (Vite) npm run build dist
Nuxt (static) npm run generate .output/public
Next.js (static) npm run build out
Svelte npm run build public
Astro npm run build dist
Hugo hugo public
Jekyll jekyll build _site
Any static output your build command your output

Framework guides

Settings and gotchas for the most common tools. If yours isn't listed, any tool that writes static files to a folder works.

Plain HTML, CSS & Bootstrap

build— output/

Tick No build needed. Your index.html must be at the repository root — or set the output directory to the folder that holds it, such as public or site. Use relative links (css/style.css) or root-relative ones (/css/style.css).

React with Vite

buildnpm run build outputdist

Works out of the box. Keep base at its default "/" in vite.config.js. Client-side routing (React Router) works on refresh and deep links — see How sites are served.

config
// vite.config.js
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

export default defineConfig({
  plugins: [react()],
  base: '/',          // keep the default
})

Create React App

buildnpm run build outputbuild

If package.json has a "homepage" pointing at a sub-path (common after GitHub Pages), remove it or set it to "/", or assets 404. Builds run with CI=true, which makes CRA treat lint warnings as errors — fix them, or use CI=false npm run build. Projects on react-scripts 4 or older build on Node 16 automatically.

config
{
  "name": "my-app",
  "homepage": "/",
  "scripts": { "build": "react-scripts build" }
}

Angular

buildnpm run build outputauto from angular.json

Use the Angular preset. LaunchPad reads angular.json and publishes the real output folder automatically — dist/<project>/browser on Angular 17+, dist/<project> on older versions — so you can leave the output directory as dist. The Node version follows your Angular version (Node 16 for v12–13, 18 for v14–17, 20 for v18+), unless engines.node says otherwise. Routing works on refresh thanks to the single-page-app fallback.

config
// package.json
"scripts": {
  "build": "ng build"
}

// angular.json → projects.my-app.architect.build.options
"outputPath": "dist/my-app"   // site lands in dist/my-app/browser

Vue (Vite or Vue CLI)

buildnpm run build outputdist

Both Vite and Vue CLI write to dist. For Vue CLI keep publicPath: "/" in vue.config.js. Vue Router in history mode works on refresh. Vue CLI 4 and older build on Node 16 automatically.

Nuxt (static)

buildnpm run generate output.output/public

Use nuxt generate to pre-render every page. Nuxt 3 writes to .output/public; Nuxt 2 writes to dist. Server routes and API endpoints are not available on static hosting.

config
// package.json
"scripts": {
  "generate": "nuxt generate"
}

Next.js (static export)

buildnpm run build outputout

Enable static export — next build then writes the site to out. The built-in image optimizer needs a server, so set images.unoptimized. API routes, middleware, ISR and getServerSideProps are not supported.

config
// next.config.js
/** @type {import('next').NextConfig} */
module.exports = {
  output: 'export',
  images: { unoptimized: true },
  trailingSlash: true,   // optional: /about → /about/index.html
}

Svelte & SvelteKit

buildnpm run build outputpublic

The classic Svelte template builds into public. For SvelteKit, install @sveltejs/adapter-static and set the output directory to build. Svelte projects build on Node 18 by default.

config
// svelte.config.js (SvelteKit)
import adapter from '@sveltejs/adapter-static';

export default {
  kit: { adapter: adapter({ fallback: 'index.html' }) }
};

Astro

buildnpm run build outputdist

Astro is static by default and writes to dist. Set site in astro.config.mjs to your LaunchPad URL or custom domain so sitemaps and canonical URLs are correct.

config
// astro.config.mjs
import { defineConfig } from 'astro/config';

export default defineConfig({
  site: 'https://yoursite.lpad.dev',
});

Hugo

buildhugo outputpublic

Builds with the official Hugo image — no package.json needed. Set baseURL to your site address. Add --minify to the build command for smaller pages.

config
# hugo.toml
baseURL = 'https://yoursite.lpad.dev/'
languageCode = 'en-in'
title = 'My site'

Jekyll

buildjekyll build output_site

Builds with the official Jekyll image. If there is a Gemfile, gems install first with bundle install. Set url in _config.yml.

config
# _config.yml
url: "https://yoursite.lpad.dev"
baseurl: ""

Anything else (Eleventy, VitePress, Docusaurus…)

buildyour build command outputyour output

Enter the command you run locally and the folder it produces. A few examples:

examples
npx @11ty/eleventy           → _site
npm run docs:build           → .vitepress/dist   (VitePress)
npm run build                → build             (Docusaurus)
npx parcel build index.html  → dist              (Parcel)

Build environment

Every deployment runs in fresh, throwaway Docker containers. Nothing from a previous build — or another customer's project — can leak in.

Two isolated steps

Install stepBuild step
RunsThe install command for your lockfileYour build command
NetworkOn — to download packagesOff — no internet access
CPU2 cores1 core
Memory1.5 GB1.5 GB
Time limit10 minutesYour plan's build timeout (see limits)
Package cachePer-project npm / yarn / pnpm cache — reused between deploys—

The build step is offline. If your build downloads something (fonts, a CMS export, an API response), it will fail with errors like ENOTFOUND or fetch failed. Commit that data to the repository, or fetch it in a postinstall script so it runs during the install step.

Environment variables

Every build has these variables set:

VariableValue
CItrue
NODE_OPTIONS--max-old-space-size=1152 — Node's heap is capped at 75% of the container's memory, so it garbage-collects instead of being killed
HOME/tmp

Custom environment variables aren't configurable in the dashboard yet. Everything in a static site ends up in the browser anyway, so public settings can live in a committed file — Vite, for example, reads .env.production automatically:

.env.production
# Public values only — anything here is visible to every visitor
VITE_API_URL=https://api.example.com
VITE_SITE_NAME="My Site"

Never commit secrets (API keys with write access, passwords). A static site cannot keep a secret — use a backend for anything private.

Security

  • Containers run as an unprivileged user with every Linux capability dropped and privilege escalation disabled.
  • CPU, memory and process limits keep one build from affecting another.
  • Containers never expose ports and are deleted as soon as the step finishes.
  • Package caches are per project — never shared between projects or customers.

Node.js versions

LaunchPad picks the Node.js version for each project automatically, in this order:

  1. Your engines.nodeIf package.json asks for Node 16, 18, 20 or 22, that version is used. The first number in the range decides — "18.x", ">=18" and "^18.17" all mean Node 18.
  2. Older tooling gets Node 16react-scripts 4 or older, webpack 4 or older and Vue CLI 4 or older crash on Node 17+ with ERR_OSSL_EVP_UNSUPPORTED, so they build on Node 16.
  3. Otherwise the defaultNode 20 (Node 18 for Svelte).
package.json
{
  "name": "my-site",
  "engines": {
    "node": "20.x"
  }
}

The deployment log always shows the image it chose, for example ℹ Detected react project → node:20-alpine.

Deployments & rollback

The pipeline

StepWhat happens
QueuedWaiting for a build slot. Pro and Business plans use a priority queue.
CloningA shallow clone of your branch at the commit being deployed.
InstallingDependencies install (skipped when there's nothing to install).
BuildingYour build command runs, offline.
CopyingThe output directory is stored as a new release and checked against your storage limit.
ActivatingThe live site switches to the new release in one atomic step.
SSL CheckCertificates for your hostnames are confirmed or issued.
LiveYour site is serving the new version.

Statuses

queued building success failed cancelled in review — a failed or cancelled deployment never touches your live site; the previous release keeps serving.

"In review"

To keep LaunchPad free of phishing and scam sites, every deployment is checked before it goes live. Now and then one is held for a quick look by the Hostmargin team: it's built, but waits to be published. Your current site stays online meanwhile, and there's nothing to do. You don't need to deploy again, and reviews usually take a few hours. Online stores, login pages and payment forms are welcome; they sometimes just need a person to see them first.

Starting, cancelling and redeploying

  • Deploy now on the project page builds the latest commit of your branch.
  • Redeploy on a finished deployment runs the pipeline again.
  • Cancel stops a queued or running deployment immediately.
  • If you push several times quickly, newer deployments supersede older ones still waiting in the queue, so only the latest commit is built.

Live logs

Every deployment streams its log to the dashboard while it runs. Logs are kept for your plan's log-retention period.

Rollback

LaunchPad keeps your last 5 successful releases on disk. Open an older successful deployment and click Rollback — the site switches back instantly, with no rebuild. Deploying again later moves forward as usual.

Pausing auto-deploys

Pause a project to ignore pushes while you work (manual deploys still work). Resume to turn webhooks back on.

Git webhooks

A webhook makes every git push deploy automatically. Copy the Webhook URL and Secret from your project's Settings tab.

webhook URL format
https://launchpad.hostmargin.com/webhook/<project-id>

GitHub

  1. Open webhook settingsIn your repository: Settings → Webhooks → Add webhook.
  2. Payload URLPaste your LaunchPad webhook URL.
  3. Content typeChoose application/json.
  4. SecretPaste your LaunchPad webhook secret. GitHub signs each request with it (X-Hub-Signature-256) and LaunchPad rejects anything unsigned.
  5. EventsSelect Just the push event, keep Active ticked and save. GitHub sends a ping — LaunchPad answers pong and you'll see a green tick.

GitLab

  1. Open webhook settingsIn your project: Settings → Webhooks → Add new webhook.
  2. URLPaste your LaunchPad webhook URL.
  3. Secret tokenPaste your LaunchPad webhook secret. GitLab sends it in the X-Gitlab-Token header.
  4. TriggerTick Push events (all branches is fine — LaunchPad filters by branch) and save. Use Test → Push events to try it.

What LaunchPad does with each request

SituationResponseResult
Push to your production branch202Deployment queued
Push to another branch202Ignored
Project paused202Ignored
Branch deleted202Ignored
Other events (issues, tags…)202Ignored
Missing or wrong secret403Rejected
Plan limit reached402Not deployed — upgrade or wait for the monthly reset

Debugging? GitHub's Recent Deliveries and GitLab's Recent events show LaunchPad's exact response message for every push. Webhooks are rate-limited to 60 requests per minute.

Treat the webhook secret like a password. Anyone with the URL and the secret could trigger deployments of your branch.

Custom domains & SSL

Your free LaunchPad address

Every project gets https://<subdomain>.lpad.dev with HTTPS from the first deploy — nothing to configure.

Adding your own domain

  1. Add the domainOpen Domains, choose the project and enter the domain, e.g. www.example.com.
  2. Create the DNS recordAt your DNS provider, add the record below.
  3. VerifyClick Verify. LaunchPad checks your DNS, then issues a free Let's Encrypt certificate and starts serving the domain over HTTPS.
DomainTypeNameValue
Subdomain (www.example.com, blog.example.com)CNAMEwwwYour site's LaunchPad address, e.g. <subdomain>.lpad.dev
Apex (example.com)A@The IP address your LaunchPad address resolves to

Find the IP for an apex record with:

terminal
$ dig +short yoursite.lpad.dev
$ nslookup yoursite.lpad.dev     # Windows

If your DNS provider supports ALIAS, ANAME or CNAME flattening at the apex, point that at your site's LaunchPad address instead — it keeps working if the IP ever changes. Tip: add both example.com and www.example.com.

Using Cloudflare? Set the record to DNS only (grey cloud) while you verify. With the proxy on, LaunchPad sees Cloudflare's addresses instead of your CNAME and verification fails.

Certificates

  • Free Let's Encrypt certificates are issued per hostname and renew automatically about 14 days before they expire.
  • HTTP requests are redirected to HTTPS once the certificate is in place.
  • DNS changes can take a few minutes (occasionally hours) to propagate. If verification says DNS not ready, wait and click Verify again.

The number of custom domains depends on your plan — see Plans & limits.

How sites are served

BehaviourDetails
HTTPS & HTTP/2Every hostname with a certificate is served over HTTPS with HTTP/2; plain HTTP redirects to HTTPS.
Index files/about/ serves about/index.html; index.htm also works.
Single-page appsA path that isn't a file or folder serves /index.html, so client-side routers work on refresh and deep links.
CachingJS, CSS, images and fonts are cached for 1 year (immutable). HTML is not long-cached, so new deploys show up immediately.
Hidden filesAnything starting with a dot (.env, .git, .htaccess) is never served.

Cache-busting: because assets are cached for a year, use hashed filenames (app.3f9a2c1.js). Vite, CRA, Next.js, Nuxt, Astro and SvelteKit do this automatically. If you hand-write HTML, add a version to changed files: style.css?v=2.

Because of the single-page-app fallback, a missing page returns your index.html rather than a 404 page. Handle "not found" routes inside your app's router.

Bandwidth is measured from your site's access logs and counts towards your monthly allowance.

Site controls

Everything in a project's Site controls tab is free on every plan.

Deploy by ZIP upload (no Git)

Choose Upload ZIP as the source when you create a project. Then drag a ZIP of your site onto the project page — it's unpacked, built if you set a build command, and published with SSL. Upload a new ZIP any time to update the site.

  • Put index.html at the top of the ZIP, or inside one folder — a single wrapping folder is removed automatically.
  • Uploads can be up to 100 MB, and never more than your plan's storage per project.
  • Symlinks, __MACOSX and .DS_Store files are skipped; paths that try to leave the folder are rejected.
  • Uploaded ZIPs aren't kept after deploying, so to go back use rollback or download a release.

Password protection

Set a username and password and every page asks for them before showing anything — ideal for client previews and private sites. Search engines are told not to index a protected site. Turn it off to make the site public again.

Maintenance mode

Shows a clean "We'll be back soon" page, with your own message, on every URL. Pages answer 503 Service Unavailable with a Retry-After header, so search engines keep your rankings. You can keep deploying while it's on; turn it off and the latest release is live instantly.

Scheduled publishing

Pick a date and time (IST, up to 90 days ahead). At that moment LaunchPad deploys the latest commit on your branch — perfect for launches and offers that must go live at midnight. Cancel any time before it runs. If your plan's limit is reached or the project is paused at that time, the schedule shows Didn't run with the reason.

Download a release as a ZIP

Open any successful deployment and click Prepare ZIP, or choose Download ZIP from the deployment menu. You get exactly the files that were live — a free backup, or an easy way to move. Download links stay valid for 24 hours; prepare a new one any time while the release is kept.

Your site is never paused

When a monthly limit is reached, your sites keep serving visitors. We email you when a meter passes 80% and again at 100%; only new deployments wait until the limit resets on the 1st or you upgrade.

Storage Box

Object storage for the files your sites and apps use, such as images, videos, PDFs and downloads. Every file is stored with its own name and link, with no server or disk to manage. Upload from the dashboard, from your own website's pages, or from your server.

Turn it on

  1. Open Storage BoxIn the dashboard sidebar, choose Storage Box.
  2. Pick a nameUse lowercase letters, numbers and hyphens, for example my-shop. It appears in every public link and can't be changed later.
  3. UploadDrag files onto the page, or click Upload. Use Folder to organise them. The button copies a file's public link.

A new box is public: each file is at https://cdn.hostmargin.com/<box name>/<path>, for example https://cdn.hostmargin.com/my-shop/images/logo.svg. Use these links in your pages, emails or apps.

Switch the box to private under Public access and those links stop working. You can still download files from the dashboard, and your app can create signed links that expire.

HTML, SVG and XML files are always sent as downloads rather than shown as web pages, so a box can't be used to host a site. Host sites as LaunchPad projects instead.

Upload from your website

Let visitors of your own site upload files straight into your box: profile pictures, form attachments, product photos. Files go from the visitor's browser to Storage Box directly, never through your server.

  1. Create an upload keyIn the dashboard, open Storage Box → Upload keys and enter the websites allowed to upload (for example https://www.example.com), a folder, the file types and the limits. You get a key that starts with pk_.
  2. Add the scriptPut <script src="https://launchpad.hostmargin.com/v3/launchpad/storage-upload.js"></script> on your page.
  3. UploadCall HostmarginStorage.upload(file, { key: 'pk_…' }). It resolves to { url, key }, so save the url with your form or show the image straight away.
<input type="file" id="photo" accept="image/*">
<progress id="bar" max="100" value="0"></progress>
<script src="https://launchpad.hostmargin.com/v3/launchpad/storage-upload.js"></script>
<script>
  document.getElementById('photo').addEventListener('change', async (e) => {
    try {
      const { url } = await HostmarginStorage.upload(e.target.files[0], {
        key: 'pk_your_upload_key',
        onProgress: (p) => (document.getElementById('bar').value = p),
      });
      console.log('Uploaded to', url);
    } catch (err) {
      alert(err.message);   // e.g. "This file type is not allowed."
    }
  });
</script>

Options: key (required), onProgress(percent), name to change the file name, and signal (an AbortController signal) to cancel.

Why an upload key is safe in your page's code:

  • It works only from the websites you list. Other sites get "not allowed".
  • It can only add files, to its own folder. It can't read, list, replace or delete anything. Each file gets a new name such as uploads/2026/10/k3x9p2ma7q-holiday.jpg, so nothing already in your box is overwritten.
  • Storage itself checks the file type and size you allowed, so a modified page can't send something else.
  • A daily upload limit caps abuse if someone copies the key. Delete a key under Storage Box → Upload keys and it stops working immediately.

Moderating uploads? If visitors shouldn't be able to upload without signing in to your site, upload from your server instead (below), so your own login checks run first.

Upload from your server

From your own backend (PHP, Node.js, Python, a cron job), use a LaunchPad API token: create one under Dashboard → IDE extension. Ask for an upload link, then send the file to it:

# 1. Ask for an upload link (valid for an hour)
curl -s -X POST https://launchpad.hostmargin.com/api/v1/storage/upload-url \
  -H "Authorization: Bearer lp_your_api_token" \
  -H "Content-Type: application/json" \
  -d '{"key": "invoices/2026/inv-1042.pdf", "size": 48213}'
# → {"key": "invoices/2026/inv-1042.pdf", "url": "https://storage.hostmargin.com/…", "public_url": "https://cdn.hostmargin.com/my-shop/invoices/2026/inv-1042.pdf"}

# 2. Send the file to that url
curl -X PUT --upload-file inv-1042.pdf "<url from step 1>"

Unlike upload keys, your server chooses the exact path and can replace files. The same token can also list (GET /api/v1/storage/files?prefix=invoices/), delete (DELETE /api/v1/storage/files with {"key": "…"}) and download (GET /api/v1/storage/download?key=…) files. Keep API tokens on your server only.

S3 access for tools (advanced)

Storage Box also speaks the S3 protocol, so backup tools and S3-compatible libraries can use it directly. The S3 access card on the Storage Box page shows your access key. Click Show secret to see the secret key.

Endpointhttps://storage.hostmargin.com
Regiongarage
Bucketlp-<box name>
AddressingPath-style

Laravel: install league/flysystem-aws-s3-v3, add a disk to config/filesystems.php, and then use Storage::disk('storagebox'):

'storagebox' => [
    'driver' => 's3',
    'key' => env('STORAGE_BOX_KEY'),
    'secret' => env('STORAGE_BOX_SECRET'),
    'region' => 'garage',
    'bucket' => 'lp-my-shop',
    'endpoint' => 'https://storage.hostmargin.com',
    'use_path_style_endpoint' => true,
    'url' => 'https://cdn.hostmargin.com/my-shop',
],

rclone (copy or back up a folder): run rclone config, choose the S3 storage type with provider Other, enter the endpoint and keys above, and set force_path_style = true. Then rclone copy ./public mybox:lp-my-shop.

Keep the secret key on the server. It can read and delete everything in your box, so never put it in browser code or a public repository. Use an upload key for browsers. If the secret leaks, click New access key: the old one stops working within seconds.

Space and limits

FreeProBusiness
Storage Box space10 GB50 GB250 GB
Largest file100 MB5 GB5 GB
  • Need more room? The Storage +100 GB add-on is ₹149/month. Order it from Add 100 GB more on the Storage Box page, and order it again to stack more. New space appears within an hour of payment.
  • When the box is full, new uploads are refused and existing files stay online. Delete files or add space to upload again.
  • The usage figure updates every 15 minutes.
  • Uploads may pause briefly during server maintenance. Your files stay available while they're paused.

Agent Hoot (AI)

Agent Hoot reads your repository, works out how to build it and deploys it from a chat. When a deploy fails, he reads the build log and tells you what went wrong and how to fix it.

Sign in, then open the chat from the home page (Paste your repo, I'll deploy it) or from Hoot's menu in the dashboard. On the New project form, Let Hoot fill in the build settings fills in the build command, output folder and branch for you.

Deploy from the chat

  1. Paste your repository linkA GitHub or GitLab link such as https://github.com/you/portfolio. A link to a branch (…/tree/dev) deploys that branch.
  2. Check the settingsHoot shows the framework, build command, output folder and branch, how sure he is and why, plus anything to watch out for, such as a Next.js app without static export. Edit any field, or ask him: "use build:prod", "why dist?"
  3. Press DeployThe project is created and the first build starts. Hoot follows it in the chat until your site is live.

Deploying is always your click. Hoot suggests; he never deploys on his own, and his deploys use your plan's limits like any other.

Redeploy a project you already have

Tell Hoot which site, for example "redeploy my-portfolio". He shows that project's current build command, output folder and branch; change a field if you need to, then press Redeploy to build the latest commit.

  • Any way you write the name works: the project name, its address or your domain, with spaces or hyphens: "my portfolio", "My-Portfolio" and "myportfolio.lpad.dev" all find the same site. Typos such as "redeplay" are fine too.
  • Not sure of the name? Say just "redeploy" or "my projects" and he lists your projects to pick from. You can also answer with just the name.
  • Already talking about a site? "Deploy it again" redeploys the one the chat is about.
  • Only projects you can edit are listed; team members with view-only access can't redeploy. A site uploaded as a ZIP is redeployed by uploading the new ZIP on its project page.

Finding and redeploying your projects doesn't use your daily AI answers.

Private repositories

If Hoot can't open the repository, he asks whether it's private. Say yes and he creates the project with a read-only deploy key, shows it with the steps for GitHub or GitLab, and, once you press I've added it, reads the repository and suggests the settings. You never share a password or token.

When a deploy fails

When a deploy Hoot started fails, he checks the build log straight away. For an older deploy, press Check what went wrong in the chat, or Check it for me on the deployment page.

He starts with LaunchPad's own checks for common problems, which don't use your daily answers. If those find the fix, you get it right away. If they don't, Hoot asks: Want Agent Hoot AI to read the log and look for a fix? Only if you say yes does the log go to the AI. Either way, the problem ends up in one of these:

What Hoot findsWhat you get
Wrong build settings: a missing script, the wrong output folderThe corrected settings, with Fix & redeploy
A problem in your code: a missing file, a type error, a dependency conflictWhat to change. If another build command safely gets the build through, for example CI=false npm run build when Create React App treats lint warnings as errors, he offers Retry deploy with this command. Fixing the code is still the better long-term fix.
Something on our side: out of memory, a network problem, the time limitA link to Hostmargin support, with the ticket already filled in: project, deployment, what Hoot found and the log

What Hoot reads

  • A summary of your repository: the file list, package.json (scripts and framework packages), framework config files and the build part of your README. Nothing from your repository is run while he reads it.
  • For a failed deploy, the relevant lines of the build log. Anything that looks like a secret (tokens, API keys, passwords) is removed first.
  • Your chat messages. Chats are private to your account.

Hoot's answers come from an AI model (Claude, by Anthropic) and can be wrong. Check the settings card before you deploy; the build log is always the final word.

Daily limit

You get 30 answers from Hoot a day; the chat shows how many are left. After that, Hoot still reads repositories, suggests settings and deploys. Only his written answers pause until the next day.

Deploy from your IDE

The LaunchPad extension brings Agent Hoot into your editor: deploy with one click, upload a build folder, and watch the build log stream — without opening the browser.

It works in VS Code, Cursor, Windsurf, Antigravity, VSCodium, Trae and any other editor built on VS Code.

Install and sign in

  1. Install the extensionIn VS Code, install LaunchPad by Hostmargin from the Marketplace — or search LaunchPad by Hostmargin in the Extensions view. In other editors, download the .vsix from Dashboard → IDE extension and run Extensions: Install from VSIX… inside your editor (double-clicking the file on Windows may open Visual Studio, which can't install it). From a terminal: code --install-extension launchpad-vscode.vsix.
  2. Sign inRun LaunchPad: Sign in from the command palette. Your browser opens LaunchPad — press Allow and the editor is signed in. If your editor can't receive the hand-back, run LaunchPad: Sign in with a token and paste the token shown on the page.
  3. Link and deployClick in the status bar or run LaunchPad: Deploy. The first time, pick the project this folder deploys to. If the folder's Git remote matches a project, Agent Hoot suggests it.

How deploys work from the editor

  • Git projects deploy the latest commit that's on GitHub or GitLab. If you have commits that aren't pushed yet, the extension offers Push & deploy and then follows the build the push starts.
  • ZIP projects upload a folder: the extension zips your build output (it looks for dist, build, out, public…), can run npm run build first, and skips node_modules, .git and .env files. Right-click any folder → LaunchPad: Deploy folder.
  • The link is saved as launchpad.project in .vscode/settings.json — commit it and your teammates deploy to the same project.

Tokens and security

Each editor gets its own personal access token, kept in the editor's secret storage. A token can list your projects, deploy, upload and read build logs — the same as your role allows in the dashboard — but can't delete projects, change billing or manage teams. See and revoke tokens under Dashboard → IDE extension.

Deploy from CI or a script. Create a token on the IDE extension page, then call POST /api/v1/projects/<project>/deploy with Authorization: Bearer lp_…. Follow the build with the status_url in the response.

Teams & roles

Invite people to a project by the email address of their Hostmargin account. Each project has one owner.

PermissionOwnerEditorViewer
View the project, deployments and logs
Deploy, redeploy, cancel and roll back
Change build settings, pause / resume
Add, verify and remove domains
Delete old deployments
Invite and remove team members
Transfer ownership
Delete the project
  • Deployments started by editors count against the owner's plan.
  • The number of team members is set by the owner's plan.
  • Ownership can be transferred to an existing team member who has signed in to LaunchPad at least once; the new owner's plan must have room for another project. The previous owner stays on as an editor.
  • Deleting a project removes its site, releases and domains. You'll be asked to type the project's slug to confirm.

Plans & limits

LimitFreeProBusiness
Price₹0/mo₹499/mo₹1,499/mo
Projects310Unlimited
Deployments / month50500Unlimited
Build minutes / month1005002,000
Bandwidth / month5 GB50 GB200 GB
Build timeout120s180s300s
Storage per project10,000 MB20,000 MB30,000 MB
Custom domains15Unlimited
Team members1310
Storage Box10 GB50 GB250 GB
Log retention7 days30 days90 days
Priority build queue— Yes Yes

How usage is counted

  • Deployments — every deployment that starts, whatever its result.
  • Build minutes — time spent in the install and build steps.
  • Build timeout — the longest a single build step may run before it's stopped.
  • Bandwidth — data served to your visitors, across all your projects.
  • Storage — the size of one release (your output directory).

Monthly counters reset at the start of each month. The dashboard shows a banner — and we email you — when you pass 80% of a limit, and again at 100%. At 100%, new deployments are blocked with a link to upgrade; your live sites keep running. Sites are never paused for usage.

Sign-in & billing

  • Single sign-on — LaunchPad signs you in through your Hostmargin client area; there's no separate password.
  • Your plan comes from your active LaunchPad product in the Hostmargin client area. Without one you're on the Free plan.
  • Upgrading — open Billing & usage in the dashboard and choose a plan. It's ordered in the Hostmargin client area and applies as soon as the order is active.
  • Invoices and payment methods are managed in the Hostmargin client area, alongside your other services.

Troubleshooting

Open the failed deployment and scroll to the first red line in the log — it nearly always matches one of these.

Build timed out

build log
✗ Timed out after 120s
✗ error: Building timed out (exit 124)

Cause: The build ran longer than your plan's build timeout.

Fix: Make the build lighter (disable source maps, drop unused dependencies, or skip the type-check with npx vite build instead of tsc && vite build), or upgrade for a longer timeout. Running the same command locally shows how long it really takes.

ERR_OSSL_EVP_UNSUPPORTED

build log
Error: error:0308010C:digital envelope routines::unsupported
  code: 'ERR_OSSL_EVP_UNSUPPORTED'

Cause: webpack 4-era tooling running on Node 17 or newer.

Fix: Add "engines": { "node": "16.x" } to package.json, or upgrade to react-scripts 5 / webpack 5.

Output directory not found

build log
✗ Output directory "dist" not found after build

Cause: The build finished but wrote its files somewhere else.

Fix: Run the build locally and check which folder appears, then update the output directory in Settings. See the framework guides.

No index.html

build log
⚠ warning: no index.html found in the output directory

Cause: The output directory is one level too high or too low.

Fix: Point the output directory at the folder that directly contains index.html.

Network errors during the build

build log
getaddrinfo ENOTFOUND fonts.googleapis.com
TypeError: fetch failed

Cause: The build step has no internet access by design.

Fix: Commit the data, self-host the fonts, or download it in a postinstall script (the install step has network).

Private repository: permission denied

build log
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Cause: The project's deploy key isn't added to this repository (or was removed).

Fix: Copy the key from Settings → Deploy key and add it under the repository's Deploy keys, read-only. Then deploy again.

Lockfile out of sync

build log
npm ERR! `npm ci` can only install packages when your package.json
and package-lock.json are in sync.

Cause: package.json changed but the lockfile wasn't updated.

Fix: Run npm install locally and commit the updated package-lock.json.

Heap out of memory

build log
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

Cause: The bundler needed more memory than the build container has.

Fix: Disable source maps (GENERATE_SOURCEMAP=false npm run build), split very large bundles, or remove heavy unused dependencies.

Warnings treated as errors

build log
Treating warnings as errors because process.env.CI = true.

Cause: Create React App fails on lint warnings in CI.

Fix: Fix the warnings, or set the build command to CI=false npm run build.

Blank page or missing CSS/JS after deploy

build log
GET https://yoursite/my-repo/assets/index.js 404

Cause: The app was built for a sub-path (often left over from GitHub Pages).

Fix: Set Vite base: "/", remove CRA's "homepage", or set Vue CLI publicPath: "/".

Webhook rejected (403)

build log
{"error":"invalid signature"}

Cause: The secret in GitHub/GitLab doesn't match LaunchPad's — or GitHub is sending form data.

Fix: Paste the secret again from Settings and make sure GitHub's content type is application/json.

Pushed, but nothing deployed

build log
{"message":"ignored push to develop; project deploys main"}

Cause: Wrong branch, the project is paused, or there is no webhook.

Fix: Check the delivery response in GitHub/GitLab, the project branch, and whether the project is paused.

Domain verification fails

build log
DNS not ready: add a CNAME record for www.example.com pointing to yoursite.lpad.dev

Cause: The DNS record is missing, wrong, still propagating, or proxied.

Fix: Check the record with dig, turn off any proxy (Cloudflare: grey cloud), wait a few minutes and verify again.

Still stuck? Contact Hostmargin support with your project name and deployment number.

FAQ

Is LaunchPad really free?

Yes. The Free plan includes 3 projects, 50 deployments and 5 GB of bandwidth every month, with free SSL and a free address on lpad.dev — no card required. Upgrade to Pro or Business only when you need more.

Which frameworks does LaunchPad support?

Anything that produces static files: React (Vite or Create React App), Angular, Vue, Nuxt (static), Next.js (static export), Svelte, Astro, Hugo, Jekyll, Bootstrap templates and plain HTML/CSS/JS. Pick a preset or enter your own build command and output directory.

Can I deploy without Git?

Yes. Create a project with Upload ZIP as the source and drag a ZIP of your site onto the project page. It goes live with free SSL, and you can upload a new ZIP whenever you update the site.

Can I deploy a private repository?

Yes. Tick "This is a private repository" when you create the project and LaunchPad gives you a read-only deploy key to add to the repository on GitHub or GitLab. No passwords or access tokens are shared.

Can I use my own domain?

Yes. Add the domain to your project and point a CNAME record at your project's LaunchPad address (yoursite.lpad.dev, or whichever domain you picked), or an A record for an apex domain. LaunchPad verifies the DNS and issues a free Let's Encrypt SSL certificate automatically.

What happens if I reach a plan limit?

Your sites stay online — LaunchPad never pauses a site for usage. We email you at 80% and 100% of a monthly limit, and only new deployments wait until the limit resets on the 1st or you upgrade.

See all 27 questions

Ready to deploy?

Your first site is free. No card required.

Deploy for free