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
- 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.
- Push your codeA webhook tells LaunchPad about each push. You can also deploy manually from the dashboard.
- We build itDependencies install, then your build command runs inside a throwaway Docker container with no network access.
- It goes liveThe output is published to
yoursite.lpad.devwith SSL, and to any custom domains you add. The switch is atomic, so visitors never see a half-deployed site.
Key concepts
| Term | Meaning |
|---|---|
| Project | One website: a repository, a branch, build settings and the domains it's served on. |
| Deployment | One run of the pipeline for a specific commit, with its own live log and status. |
| Release | The files a successful deployment produced. The newest becomes the live site; the last 5 are kept for instant rollback. |
| Production branch | The branch LaunchPad deploys. Pushes to other branches are ignored. |
| Webhook | A URL + secret you add to GitHub or GitLab so each push triggers a deployment. |
| Deploy key | A 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.
| Date | What changed |
|---|---|
| 26 Nov 2026 | Safer 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 2026 | Hoot 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 2026 | Agent 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 2026 | Uploads 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 2026 | Storage Box. S3-compatible storage for your images, videos and files, with public links on cdn.hostmargin.com. See Storage Box. |
| 20 Oct 2026 | LaunchPad blog. Guides, release notes and tips at /blog. |
| 19 Oct 2026 | Deploy from your editor. The LaunchPad extension for VS Code, Cursor, Windsurf and Antigravity — see Deploy from your IDE. |
| 19 Oct 2026 | Private repositories with read-only deploy keys, and an Angular preset. See Private repositories. |
| 19 Oct 2026 | Site controls: deploy by ZIP upload, password protection, maintenance mode, scheduled publishing, release ZIP downloads and usage alerts. |
| 19 Oct 2026 | Longer builds on Free. The Free plan's build timeout doubled from 60 to 120 seconds. Builds still slow? See Troubleshooting. |
| 19 Oct 2026 | Agent 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.
- Sign in with HostmarginClick Log in. LaunchPad uses your Hostmargin account — no new password. New here? Create a free Hostmargin account first.
- 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, usuallymain. 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). - 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.
- Pick a subdomainYour site will live at
https://<subdomain>.lpad.dev. You can add your own domain now or later. - DeployClick Create & Deploy and watch the pipeline and build log live. When it says Live, open your site.
- Turn on auto-deploysCopy the webhook URL and secret from the project's Settings tab into GitHub or GitLab. From now on,
git pushis all it takes. See Git webhooks. - 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.
# 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:
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:
- Copy the deploy keyIt's on the project page right after you create the project, and always in Settings → Deploy key.
- Add it to the repositoryGitHub: Settings → Deploy keys → Add deploy key. GitLab: Settings → Repository → Deploy keys. Title it
LaunchPadand leave write access off. - 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-loginoritau-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:
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 repo | Install command |
|---|---|
pnpm-lock.yaml | pnpm install --frozen-lockfile |
yarn.lock | yarn install --frozen-lockfile |
package-lock.json | npm ci |
package.json only | npm install |
Gemfile | bundle install |
composer.json | composer 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.
| Framework | Build command | Output 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 outputdistWorks 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.
// 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 outputbuildIf 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.
{
"name": "my-app",
"homepage": "/",
"scripts": { "build": "react-scripts build" }
}Angular
buildnpm run build outputauto from angular.jsonUse 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.
// package.json
"scripts": {
"build": "ng build"
}
// angular.json → projects.my-app.architect.build.options
"outputPath": "dist/my-app" // site lands in dist/my-app/browserVue (Vite or Vue CLI)
buildnpm run build outputdistBoth 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/publicUse 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.
// package.json
"scripts": {
"generate": "nuxt generate"
}Next.js (static export)
buildnpm run build outputoutEnable 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.
// 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 outputpublicThe 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.
// svelte.config.js (SvelteKit)
import adapter from '@sveltejs/adapter-static';
export default {
kit: { adapter: adapter({ fallback: 'index.html' }) }
};Astro
buildnpm run build outputdistAstro 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.
// astro.config.mjs
import { defineConfig } from 'astro/config';
export default defineConfig({
site: 'https://yoursite.lpad.dev',
});Hugo
buildhugo outputpublicBuilds with the official Hugo image — no package.json needed. Set baseURL to your site address. Add --minify to the build command for smaller pages.
# hugo.toml baseURL = 'https://yoursite.lpad.dev/' languageCode = 'en-in' title = 'My site'
Jekyll
buildjekyll build output_siteBuilds with the official Jekyll image. If there is a Gemfile, gems install first with bundle install. Set url in _config.yml.
# _config.yml url: "https://yoursite.lpad.dev" baseurl: ""
Anything else (Eleventy, VitePress, Docusaurus…)
buildyour build command outputyour outputEnter the command you run locally and the folder it produces. A few 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 step | Build step | |
|---|---|---|
| Runs | The install command for your lockfile | Your build command |
| Network | On — to download packages | Off — no internet access |
| CPU | 2 cores | 1 core |
| Memory | 1.5 GB | 1.5 GB |
| Time limit | 10 minutes | Your plan's build timeout (see limits) |
| Package cache | Per-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:
| Variable | Value |
|---|---|
CI | true |
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:
# 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:
- Your
engines.nodeIfpackage.jsonasks 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. - Older tooling gets Node 16
react-scripts4 or older,webpack4 or older and Vue CLI 4 or older crash on Node 17+ withERR_OSSL_EVP_UNSUPPORTED, so they build on Node 16. - Otherwise the defaultNode 20 (Node 18 for Svelte).
{
"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
| Step | What happens |
|---|---|
| Queued | Waiting for a build slot. Pro and Business plans use a priority queue. |
| Cloning | A shallow clone of your branch at the commit being deployed. |
| Installing | Dependencies install (skipped when there's nothing to install). |
| Building | Your build command runs, offline. |
| Copying | The output directory is stored as a new release and checked against your storage limit. |
| Activating | The live site switches to the new release in one atomic step. |
| SSL Check | Certificates for your hostnames are confirmed or issued. |
| Live | Your 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.
https://launchpad.hostmargin.com/webhook/<project-id>
GitHub
- Open webhook settingsIn your repository: Settings → Webhooks → Add webhook.
- Payload URLPaste your LaunchPad webhook URL.
- Content typeChoose
application/json. - SecretPaste your LaunchPad webhook secret. GitHub signs each request with it (
X-Hub-Signature-256) and LaunchPad rejects anything unsigned. - EventsSelect Just the push event, keep Active ticked and save. GitHub sends a ping — LaunchPad answers
pongand you'll see a green tick.
GitLab
- Open webhook settingsIn your project: Settings → Webhooks → Add new webhook.
- URLPaste your LaunchPad webhook URL.
- Secret tokenPaste your LaunchPad webhook secret. GitLab sends it in the
X-Gitlab-Tokenheader. - 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
| Situation | Response | Result |
|---|---|---|
| Push to your production branch | 202 | Deployment queued |
| Push to another branch | 202 | Ignored |
| Project paused | 202 | Ignored |
| Branch deleted | 202 | Ignored |
| Other events (issues, tags…) | 202 | Ignored |
| Missing or wrong secret | 403 | Rejected |
| Plan limit reached | 402 | Not 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
- Add the domainOpen Domains, choose the project and enter the domain, e.g.
www.example.com. - Create the DNS recordAt your DNS provider, add the record below.
- VerifyClick Verify. LaunchPad checks your DNS, then issues a free Let's Encrypt certificate and starts serving the domain over HTTPS.
| Domain | Type | Name | Value |
|---|---|---|---|
Subdomain (www.example.com, blog.example.com) | CNAME | www | Your 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:
$ 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
| Behaviour | Details |
|---|---|
| HTTPS & HTTP/2 | Every 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 apps | A path that isn't a file or folder serves /index.html, so client-side routers work on refresh and deep links. |
| Caching | JS, CSS, images and fonts are cached for 1 year (immutable). HTML is not long-cached, so new deploys show up immediately. |
| Hidden files | Anything 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.htmlat 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,
__MACOSXand.DS_Storefiles 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
- Open Storage BoxIn the dashboard sidebar, choose Storage Box.
- Pick a nameUse lowercase letters, numbers and hyphens, for example
my-shop. It appears in every public link and can't be changed later. - UploadDrag files onto the page, or click Upload. Use Folder to organise them. The button copies a file's public link.
Public and private files
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.
- 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 withpk_. - Add the scriptPut
<script src="https://launchpad.hostmargin.com/v3/launchpad/storage-upload.js"></script>on your page. - UploadCall
HostmarginStorage.upload(file, { key: 'pk_…' }). It resolves to{ url, key }, so save theurlwith 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.
| Endpoint | https://storage.hostmargin.com |
| Region | garage |
| Bucket | lp-<box name> |
| Addressing | Path-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
| Free | Pro | Business | |
|---|---|---|---|
| Storage Box space | 10 GB | 50 GB | 250 GB |
| Largest file | 100 MB | 5 GB | 5 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
- 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. - 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?"
- 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 finds | What you get |
|---|---|
| Wrong build settings: a missing script, the wrong output folder | The corrected settings, with Fix & redeploy |
| A problem in your code: a missing file, a type error, a dependency conflict | What 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 limit | A 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
- 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
.vsixfrom 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. - Sign inRun
LaunchPad: Sign infrom the command palette. Your browser opens LaunchPad — press Allow and the editor is signed in. If your editor can't receive the hand-back, runLaunchPad: Sign in with a tokenand paste the token shown on the page. - 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 runnpm run buildfirst, and skipsnode_modules,.gitand.envfiles. Right-click any folder → LaunchPad: Deploy folder. - The link is saved as
launchpad.projectin.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.
| Permission | Owner | Editor | Viewer |
|---|---|---|---|
| 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
| Limit | Free | Pro | Business |
|---|---|---|---|
| Price | ₹0/mo | ₹499/mo | ₹1,499/mo |
| Projects | 3 | 10 | Unlimited |
| Deployments / month | 50 | 500 | Unlimited |
| Build minutes / month | 100 | 500 | 2,000 |
| Bandwidth / month | 5 GB | 50 GB | 200 GB |
| Build timeout | 120s | 180s | 300s |
| Storage per project | 10,000 MB | 20,000 MB | 30,000 MB |
| Custom domains | 1 | 5 | Unlimited |
| Team members | 1 | 3 | 10 |
| Storage Box | 10 GB | 50 GB | 250 GB |
| Log retention | 7 days | 30 days | 90 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
✗ 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
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
✗ 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
⚠ 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
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
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
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
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
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
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)
{"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
{"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
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.