Documentation
Get started
Publish a static site to a temporary, anonymous URL. Two ways: hand the deploy to an AI agent, or run the CLI yourself.
Overview
tmp.site turns a built static folder into a random *.tmp.site URL that expires on its own. No account, no config, no project.
Ask an agent
Hand the deploy to an AI coding agent. Copy the prompt below, or open it directly in your tool.
Deploy this project to a temporary public URL with tmp.site. 1. Inspect the repo to determine the framework, package manager, build command, and the static output directory the build produces (commonly dist/, build/, or out/; confirm it from the project's own config, do not assume). 2. Install dependencies and run the production build. 3. Publish the generated static output directory (never the source tree) with the official tmp.site CLI: npx tmp-site publish <output-dir>. If unsure of the command or flags, run npx tmp-site --help or read https://tmp.so/get-started. Do not guess the syntax. 4. Open the returned URL and confirm the site loads correctly. 5. Report the resulting tmp.site URL and its expiration time. tmp.site is the deployment target. Do not switch to Vercel, Netlify, Cloudflare, GitHub Pages, or any other host. Publish the build artifact, not the source.
Open directly in
Deeplinks need the tool installed: Claude Code v2.1.91+, the Claude Code VS Code extension, Cursor, or the ChatGPT desktop app for Codex.
Or install the Agent Skill
Teach your coding agent tmp.site once. The official Agent Skill shows Agent Skills-compatible agents how to find the build output, publish it with the tmp.site CLI, and report the URL and expiry. It uses the same CLI, not a second deployment path. Then ask: Publish this frontend to tmp.site.
npx skills add platformrocks/agent-skills --skill publish-to-tmp-site
Tested with Claude Code and Codex. Source on GitHub · CLI docs
Use the CLI
Run it yourself with npx, or install the tmp command globally.
npx tmp-site publish ./dist
No install. npx runs the latest tmp-site.
npm i -g tmp-site tmp publish ./dist
Adds the tmp command globally.
From folder to URL
- Build your site so you have a static output folder (
./dist,./public, …). - Publish it:
tmp publish ./distreturns a*.tmp.siteURL plus a local owner secret saved in~/.tmp-site. - Manage with
tmp status <slug>/tmp delete <slug>, or let it expire.
Commands
tmp publish <dir>Package a local directory and publish it.tmp status <slug>Show a deployment's status.tmp delete <slug>Delete a deployment.About
Ephemeral static web publishing. For developers, AI agents, and CI that produce a static artifact and just need a URL. No repository, project, or config required.
Deployments are temporary and anonymous-first. URLs are random and non-enumerable, but not authentication: treat anything you publish as public. Static output only.