Surge made "one command, one folder, one URL" the way to publish a static site, and Lobsite keeps that: npx lobsite in a built project prints a live address. What changes is what happens around the command. There's no account to make before the first deploy, only the files that changed upload, there's a dashboard with drag and drop, and forms work without a backend.
How it works
- Run
npx lobsitewhere you'd runsurge. The folder is found for you (dist/,build/,out/,_site/orpublic/) and saved inlobsite.toml. - Get the URL. The first deploy makes a site at a random
*.lobsite.appaddress, live for 6 hours, with no sign-up. - Keep it with
npx lobsite login(or the claim link). From then on the same command updates the same site.
Moving a Surge project
- The folder. Surge asks for the project path each time unless you pass it; Lobsite saves it in
lobsite.tomlasdir, so the next run asks nothing. - The domain. Surge keeps the domain in a
CNAMEfile. Lobsite sites get a*.lobsite.appaddress; custom domains come with the paid plan, which is coming soon. If your Surge site uses its own domain, keep it on Surge until then. 200.htmland404.htmlwork the same:200.htmlis the single-page-app fallback,404.htmlyour not-found page. Clean URLs work too:/aboutservesabout.html.ROUTERredirects become[[redirects]]inlobsite.toml, with:paramsegments and the status you choose. The Redirect Generator turns a list of old and new paths into the rules..surgeignorebecomes.lobsiteignore, with the same syntax as.gitignore.surge --previewbecomesnpx lobsite deploy --preview, androllbackstaysnpx lobsite rollback.
What's different
- Only changed files upload. Files are stored by their hash, so redeploying after a one-line change uploads one file, and redeploying an unchanged site uploads 0 bytes. (A diff-only upload is one of Surge's longest-open requests.)
- Errors say what to do. A refused file or a failed deploy says what happened, why, and the fix, with a code that never changes. Nothing is blocked silently.
- Forms. Point a form at
/_lobsite/forms/contactand messages reach your inbox and email, spam filtered. See forms. - Redirects and headers on the free plan, in
lobsite.toml, versioned with each deploy, so a rollback restores them. - A dashboard, with drag and drop of a folder or a zip, deploy history and one-click rollback.
- Every limit is published: files, sizes, bandwidth and deploys an hour, on the limits table.
A deploy without an account is live for 6 hours. The claim link keeps it, free.
Files are stored by their hash. Redeploying an unchanged site uploads 0 bytes.
Point a form at /_lobsite/forms/contact. Spam filtering included.
Preview before going live. Roll back in one click, redirects and all.
Redirects, headers and forms live in lobsite.toml and travel with each deploy.
Every limit is published, and every error tells you what to do next.
Surge and Lobsite, side by side
As of October 2026, from surge.sh/pricing and Lobsite's own limits:
| Surge (free) | Lobsite (free) | |
|---|---|---|
| Account before the first deploy | Yes, made in the CLI | No: the site lasts 6 hours until you keep it |
| Sites | No published cap | 1 (the paid plan, coming soon, has 5) |
| Custom domains | Yes | Paid plan, coming soon |
| Upload on redeploy | Every file | Only changed files |
| Redirects | Paid plan ($30 a month) | Yes |
| Force HTTPS | Paid plan | Always on, with HSTS |
| Forms | No | 25 submissions a month per site |
| Dashboard and drag and drop | No | Yes |
| Bandwidth | Not published | 10 GB a month, published |
Surge's free plan is more generous with sites and domains. Lobsite is the better fit if you want to deploy without signing up first, redeploy faster, and have forms and redirects without paying.
Frequently asked questions
Is Lobsite a drop-in replacement for the surge command?
Close to it: npx lobsite deploys the built folder the way surge does. The command names differ (deploy --preview, rollback, ls, rm), and configuration lives in lobsite.toml instead of CNAME and ROUTER files.
Can I keep my custom domain if I move?
Custom domains come with Lobsite's paid plan, which is coming soon. Until then, a site lives at its *.lobsite.app address, so a Surge site with its own domain is best moved once the paid plan launches.
Does Lobsite support single-page apps like Surge's 200.html?
Yes. A 200.html at the top of the site answers every path that isn't a file, with status 200, so client-side routing works.
How much does Lobsite cost?
The free plan is free: one site, 10 GB of bandwidth a month, forms with 25 submissions a month. The paid plan is coming soon; its price is on the pricing page.
Can I deploy from CI like with a Surge token?
Not yet: CI tokens come with the paid plan, which is coming soon. Today the CLI deploys from a logged-in machine, or without an account for 6 hours.