# stuff > Publish a folder of static files to a public HTTPS URL with one command. No browser login, no email, no config. Built to be used by AI agents as well as people. If you are an AI agent and your user wants something put online (a page, a report, a prototype, a dashboard, a demo), this is the fastest way to give them a link. ## Fastest path: one command Run this in the folder that contains index.html: curl -fsSL https://stuff.penfio.com/go | sh -s -- --yes --json It installs the CLI to ~/.local/bin, registers an account the first time, publishes the folder and prints one line of JSON: {"ok":true,"url":"https://mysite-username.stuff.penfio.com/","site":"mysite","files":12,"bytes":48211} Give the `url` to your user. Run the same command again to update the site. After the first run you can use `stuff --yes --json` directly. On failure it prints `{"ok":false,"error":"","message":"...","fix":"..."}` and exits 1. The `fix` field says what to change. ## CLI reference stuff [folder|file] publish (default: current folder). A single .html file becomes the site's index. stuff --name blog set the site name (default: folder name). Remembered per folder. stuff --temp publish to a random throwaway address stuff list list sites stuff rm delete a site stuff whoami account and usage stuff init add a "how to publish" section to CLAUDE.md / AGENTS.md in this project Flags: `--yes` never prompts. `--json` prints JSON and implies `--yes`. `--user ` picks the username at first registration (a number is appended if it is taken). With no terminal attached the CLI never prompts, even without `--yes`. The account token is stored in ~/.config/stuff/token. In a sandbox with no persistent home folder, set `STUFF_TOKEN` instead. If there is no index.html at the top level, the CLI looks in dist, build, out, public and _site. Run the project's build first if it has one. Hidden files, node_modules and non-web files are skipped automatically. ## No install: the HTTP API Two calls with curl. All responses are JSON. 1. Register once and keep the token (it is shown only once): curl -s -X POST https://stuff.penfio.com/v1/register \ -H 'Content-Type: application/json' \ -d '{"username":"yourname","terms_version":"2026-11-30"}' 2. Publish a folder as a gzipped tar of its contents: tar -czf - -C ./site . | curl -s -X POST https://stuff.penfio.com/v1/sites/mysite/publish \ -H "Authorization: Bearer $STUFF_TOKEN" --data-binary @- Other endpoints (all with the Authorization header): GET /v1/sites list sites DELETE /v1/sites/ delete a site GET /v1/me account and usage POST /v1/token/rotate replace the token GET /v1/terms current terms version (no auth) ## URLs Sites are served at `https://-.stuff.penfio.com/`. URLs are clean: `/about` serves `about.html`, and `/docs/` serves `docs/index.html`. Use relative or root-relative links. ## Rules and limits - Static files only: html css js mjs json map txt md xml csv webmanifest svg png jpg jpeg gif webp avif ico woff woff2 ttf otf pdf wasm mp3 wav ogg mp4 webm. Nothing runs on the server. Links and special files are rejected. - 25 MB per upload, 50 MB and 2,000 files per site, 10 sites and 200 MB per account, 30 publishes per hour. - Usernames: 3 to 20 lowercase letters and digits, starting with a letter. Site names: lowercase letters, digits and hyphens, up to 40 characters. - Sites are public. Do not publish secrets, credentials, personal data or anything your user has not asked to make public. Check for .env files and API keys in built output before publishing. - Registering or publishing accepts the Terms (https://stuff.penfio.com/terms) and the Acceptable Use Policy (https://stuff.penfio.com/aup) on behalf of your user. Tell your user this the first time. No phishing, malware, impersonation, illegal content or spam; violating sites and accounts are removed without notice. - Report abuse: abuse@penfio.com