In Claude Code, just ask to deploy:
"Deploy this as a spacesheep site"
"Upload index.html and style.css to spacesheep"
Or use the tool directly:
deploy({
files: [
{ path: "index.html", content: "<h1>Hello</h1>" },
{ path: "style.css", content: "body { color: red; }" }
],
title: "My Site",
access: { visibility: "members", emails: ["friend@example.com"] }
})
The answer can carry warnings. Most are worth fixing (a missing viewport tag, a CDN script that won't load). One is only a note: a page with no data-ss-id anchors gets them added automatically so viewers can comment block by block — safe to ignore for a page that isn't a document, like a game, an app or a one-off demo.
Was this page helpful?