Skip to content
Spacefast Docs
Esc
navigateopen⌘Jpreview
On this page

Publish your first site

Hand your project to your coding agent or run one CLI command, and get a live URL in seconds without an account.

Publish a folder, a zip, or a single index.html, and Spacefast serves it at a stable URL seconds after the upload completes. The first publish does not require an account.

Tell your agent

If you have a coding agent open, paste this:

Publish this space to Spacefast

The agent fetches the instructions, publishes, and reports back the live URL and the permanent version URL. If it published without an account, it also hands you a claim link. To give the agent a permanent setup with the CLI, skill, and MCP, see Set up an agent.

Run the CLI yourself

Install the CLI once:

curl -fsSL https://spacefast.com/install.sh | bash

Then publish your build output:

sf publish ./dist --name docs

--name sets the space title. If Spacefast guesses your setup wrong, --spa true forces the single-page-app fallback. The receipt prints the live URL and the permanent version URL. Without an account, it also prints a claim link. The full command set is in the CLI reference.

The first publish writes .spacefast/state.json next to the folder, so later publishes from the same directory update the same space at the same URL, and unchanged files are never uploaded twice. sf rollback promotes an earlier version with no rebuild.

Claim your space

A space published without an account expires unless you claim it within 6 hours. To claim it, open the claim link and sign in. After claiming, you keep the same URL for every future publish and get full version history. The details are on Publish without an account.

Publish without a terminal

Open drop.website and drag a folder, a zip, or an index.html file onto the page. The upload publishes the same way as the CLI and returns the same live URL, version URL, and claim link.

If you want to try the CLI without installing it, the Spacefast browser terminal gives you a working shell with a small static site in /workspace/site:

cd /workspace/site
sf publish .

Run sf --help to explore. To manage spaces already in your account, run sf login; the terminal opens the device-login page in a new tab. The terminal is a browser sandbox rather than your computer, so commands that need local files, installed packages, or a full operating system belong in the installed CLI.

Next

Last updated on August 19, 2026

Was this page helpful?