lobsite! Sign in Sign up

Docs

Quick start

In a built project, run one command. No account needed: the site lasts 6 hours unless you log in and claim it.

~/my-site $ npx lobsite

The folder is the argument, dir in lobsite.toml, or the first of dist/, build/, out/, _site/, public/. Only files that changed upload.

Drag and drop

Sign in and drop a folder or a zip anywhere on the dashboard. The same checks run before anything uploads; secret files are always left out.

lobsite.toml

site = "quiet-fox-4821"
dir  = "dist"

[[redirects]]
from   = "/blog/:slug"
to     = "/posts/:slug"
status = 301            # 301 | 302 | 307 | 308

[[headers]]
for = "/assets/*"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"

[forms.contact]
required = ["email", "message"]
redirect = "/thanks"

Unknown keys are an error, with the closest valid key suggested. The config travels with each deploy, so a rollback restores it.

Forms

<form action="/_lobsite/forms/contact" method="POST">
  <input name="email" type="email" required>
  <textarea name="message" required></textarea>
  <button>Send</button>
</form>

Forms are found at deploy time. Spam protection (a honeypot, timing and rate limits) is added for you. Submissions land in your inbox and email.

Custom domains

lobsite domain add www.example.com prints the record to add: a CNAME to cname.lobsite.app. Certificates are issued and renewed for you. If another account has also added the domain, a TXT record proves it's yours.

Previews and rollback

Every deploy has its own URL, <id>--<site>.lobsite.app. lobsite deploy --preview leaves production alone; lobsite rollback and lobsite promote switch the live deploy without uploading.

CLI

lobsite [dir]Deploy a folder (the default command)
lobsite deploy --previewUpload without changing production
lobsite deploysList kept deploys
lobsite rollback [id]Make an earlier deploy live
lobsite promote <id>Make any deploy live
lobsite login / logout / whoamiYour account
lobsite claim [site]Keep an anonymous site
lobsite ls / open / rmYour sites
lobsite domain add|status|rmCustom domains
lobsite forms ls / export <name> --csvForm submissions

Limits

AnonymousFreePaidComing soon
SitesNo cap220
Files per site5001,00010,000
Per file5 MB5 MB100 MB
Site size50 MB50 MB2 GB
Storage—1 GB20 GB
Deploys an hour1030100
Deploy historyWhile the site lives7 days30 days
Custom domains per account—15
Custom domains per site—12
Bandwidth1 GB10 GB100 GB
Form submissions a month—255,000

Bandwidth is per month per account (per site lifetime for anonymous sites).