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, and a free account can add its own domain with one DNS record. 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 from Surge
- 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 dashboard 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.
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 | Yes, free |
| 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. Lobsite is the better fit if you want to deploy without signing up first, redeploy faster, and have forms and redirects without paying.
Surge alternative FAQ
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?
Yes. A free account can add a custom domain: lobsite domain add prints the CNAME record to point at Lobsite, and HTTPS is set up for you.
Does Lobsite support single-page apps like Surge's 200.html?
Yes. A 200.html at the top of the site answers every page path that isn't a file, with status 200, so client-side routing works. You can also skip the file and set spa = true in lobsite.toml; see single-page apps.
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.