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 --preview | Upload without changing production |
lobsite deploys | List kept deploys |
lobsite rollback [id] | Make an earlier deploy live |
lobsite promote <id> | Make any deploy live |
lobsite login / logout / whoami | Your account |
lobsite claim [site] | Keep an anonymous site |
lobsite ls / open / rm | Your sites |
lobsite domain add|status|rm | Custom domains |
lobsite forms ls / export <name> --csv | Form submissions |
Limits
| Anonymous | Free | PaidComing soon | |
|---|---|---|---|
| Sites | No cap | 2 | 20 |
| Files per site | 500 | 1,000 | 10,000 |
| Per file | 5 MB | 5 MB | 100 MB |
| Site size | 50 MB | 50 MB | 2 GB |
| Storage | — | 1 GB | 20 GB |
| Deploys an hour | 10 | 30 | 100 |
| Deploy history | While the site lives | 7 days | 30 days |
| Custom domains per account | — | 1 | 5 |
| Custom domains per site | — | 1 | 2 |
| Bandwidth | 1 GB | 10 GB | 100 GB |
| Form submissions a month | — | 25 | 5,000 |
Bandwidth is per month per account (per site lifetime for anonymous sites).