artifact-drop

Publish an HTML file.
Get a link you can share.

One command turns a report, plan, data snapshot or UI mock into a link on its own unguessable subdomain. Claude Code and Codex can run it for you, or you run it yourself.

curl -fsSL https://artifact-drop.page/install.sh | sh

Needs Node 22+ and an API key from your admin. Already have a key? Open the dashboard.

$ artifact-drop publish ./report.html --title "Q3 report"
Published v1 (14.5 kB, 1 file)
https://k3x9q2m7p1ab.artifact-drop.page/
Pinned:   https://k3x9q2m7p1ab.artifact-drop.page/v/1/
$ 

Every artifact gets its own origin

Anyone with the link can open the page. Without the link nobody can find it, and only an API key can publish. Pages are never indexed, and a wildcard certificate keeps hostnames out of Certificate Transparency logs.

Hash subdomain default
https://k3x9q2m7p1ab.artifact-drop.page/

12 characters from a-z0-9, picked at random on first publish. Anyone with the URL can open the page, so share it like a password, or add --password to ask viewers for one.

Slug subdomain --slug
https://qa-test.artifact-drop.page/

3 to 63 characters of a-z0-9-. Publishing to a slug you own adds a version. If another key owns the slug, publishing fails with slug_taken.

Pinned version /v/<n>/
https://qa-test.artifact-drop.page/v/3/

Never changes, and browsers cache it for a year. Share it when the page may change later and the reader must see this exact state.

Folder pages index.html
https://qa-test.artifact-drop.page/about

Upload a folder with an index.html and relative links. /about serves about.html.

Three commands to a link

The CLI is a single file with no dependencies. It needs Node 22 or newer.

Running publish again on the same local path adds a new version to the same artifact. Pass --new to start a fresh one, or --artifact <id|slug> to update a known artifact from any path. Identical content is a no-op.

  1. Install to ~/.local/bin/artifact-drop.

    curl -fsSL https://artifact-drop.page/install.sh | sh
  2. Log in with the key your admin gave you. It is saved to ~/.artifact-drop/config.json. The same key signs you in to the dashboard, where you can browse, rename, delete and publish by drag and drop.

    artifact-drop login <token>
  3. Publish a file or a folder.

    artifact-drop publish ./report.html
    # https://k3x9q2m7p1ab.artifact-drop.page/
    
    artifact-drop publish ./dist --slug qa-test --title "QA run"
    # https://qa-test.artifact-drop.page/

CLI reference

Add --json to any command for a machine-readable receipt. The token comes from login, --token or ARTIFACT_DROP_TOKEN.

CommandWhat it does
login <token>Saves the API key locally. logout removes it.
publish <path>Uploads a file or folder. Options: --slug, --title, --password, --new, --artifact.
listLists artifacts published with your key. --all shows everyone's for admins.
info <id|slug>Shows URLs, versions, size and file count.
update <id|slug>Changes the slug, title or password. --no-slug drops the slug. The old slug stops resolving.
delete <id|slug> --yesRemoves the artifact and every version.
whoamiPrints the key name and whether it is an admin key.
keys create <name> [--admin]adminCreates a team key and prints its token once.
keys listadminLists keys with last-used time.
keys revoke <id>adminRevokes a key immediately.

No CLI? Call the API over HTTPS: POST https://artifact-drop.page/api/artifacts with Authorization: Bearer <key> and an HTML body, or multipart with parts named file:<path>. list, info, update and delete have API endpoints too.

Teach Claude Code or Codex to drop a page

The skill tells the agent when to publish, how to call the CLI, and to reply with the URL. install.sh copies it into ~/.claude/skills and ~/.codex/skills when those folders exist. Otherwise add it by hand.

Then ask for something like "write up the migration plan as a page and publish it". The agent runs artifact-drop publish --json and hands back the link. Read the skill at /skill.md.

mkdir -p ~/.claude/skills/artifact-drop
curl -fsSL https://artifact-drop.page/skill.md \
  -o ~/.claude/skills/artifact-drop/SKILL.md
# what the agent runs
artifact-drop publish ./plan.html --json
{
  "url": "https://k3x9q2m7p1ab.artifact-drop.page/",
  "versionUrl": "https://k3x9q2m7p1ab.artifact-drop.page/v/1/",
  ...
}

What works on a page, and what is blocked

Allowed file types: html, css, js, mjs, json, txt, md, csv, xml, svg, png, jpg, gif, webp, avif, ico, woff(2), ttf, otf, mp4, webm, mp3, wav, ogg, pdf and wasm.

Works

  • Inline <script> and <style>
  • Scripts, styles and fonts from any HTTPS CDN
  • fetch to HTTPS APIs, localStorage
  • CSS, JS, images, fonts and JSON in a folder upload
  • Relative links between pages

Blocked or capped

  • 26.2 MB and 500 files per upload
  • Form submissions, via form-action 'none'
  • Plugins and <object> embeds, via object-src 'none'
  • Search indexing. Every page is noindex
  • Referrers. Pages send Referrer-Policy: no-referrer, so the URL does not leak to sites you link

Keep secrets, tokens and local file paths out of the page. Without a password, anyone with the link can open it. All versions together can use up to 8.6 GB. Once that is full, publishing fails with storage_full until you delete something.