Documentation
Documentation menu

Quickstart

Publish a local file and open the link returned by Tiiny Host.

Connect an agent

Copy the setup prompt and paste it into your agent.

View prompt
Help me set up Tiiny Host so you can publish files and websites for me.
If npm and Agent Skills are available, install the official Tiiny Host skill:
npx skills add tiiny-host/skills -y -g
Otherwise, read the publishing skill at https://raw.githubusercontent.com/Tiiny-Host/skills/main/skills/SKILL.md and use the REST API, or connect to https://mcp.tiiny.host if you support remote MCP.
Read the API documentation at https://tiiny.host/docs/ and ask me what I'd like to publish. Wait for my answer before uploading anything.

Get an API key

Sign in to Tiiny Host and open Manage Account → API Key. API-key access through the dashboard is available on Solo and above. Set the key as TIINY_API_KEY in your shell or secret manager.

Publish a file

Run this from a directory containing index.html. You can also use a PDF or a ZIP. For a ZIP containing a static site, put index.html at the archive root.

curl --fail-with-body https://ext.tiiny.host/v1/upload \
  -H "x-api-key: $TIINY_API_KEY" \
  -F 'files=@index.html'

The normal response looks like this for a Solo account.

{
  "success": true,
  "data": {
    "link": "example.tiiny.site",
    "status": "active",
    "inPreviewMode": false,
    "linkPreviewType": "NONE",
    "profile": { "quotaUsed": 524288, "projectLimit": 5 }
  }
}

Open https:// followed by data.link. When inPreviewMode is true, the published link is temporary. Read linkPreviewType for the reason.

Manage the project

Search documentation