---
title: "How to share a Claude artifact as a real website"
description: "Put a Claude artifact online at its own address, name.cool.computer, keep it private or public, and get comments on the page."
canonical: "https://www.cool.computer/blog/share-claude-artifact-as-website"
last_updated: "2026-11-17"
---
# How to share a Claude artifact as a real website

> Put a Claude artifact online at its own address, name.cool.computer, keep it private or public, and get comments on the page.

To share a Claude artifact as a real website, publish its HTML to Cool Computers. In the Claude app, connect the Cool Computers connector and ask Claude to put the artifact on cool.computer; from a terminal, save the artifact as a file and run `cool publish artifact.html`. Either way you get an address such as `my-chart.cool.computer` that you can keep private, share by email, or open to anyone.

The page is online at once, and no computer runs behind it. Each time you publish again, it becomes a new release at the same address, so the link you shared keeps working.

## Option 1: from the Claude app

The Claude app runs no commands, so it publishes through the Cool Computers MCP server.

1. Connect Cool Computers from Claude's connector directory, or add this address as a connector by hand:

   ```text
   https://api.cool.computer/mcp
   ```

2. Sign in when Claude asks. The connector signs in with OAuth.

3. In the chat that made the artifact, ask: "publish this artifact on cool.computer as a private site called my-chart".

4. Claude calls `cool_publish` with the artifact's files and gives you the address, such as `https://my-chart.cool.computer`.

5. To share it with a colleague, ask Claude to share it with their email address. They get an invitation and sign in with that address to open it.

One limit to know: a single `cool_publish` call takes at most 64 KiB of arguments. Most single-page artifacts fit. For anything larger, use the CLI below.

## Option 2: from a terminal

1. Copy the artifact's code from Claude and save it as `artifact.html`. This works for an HTML artifact. If the artifact is React, ask Claude to rewrite it as one standalone HTML file first, or build the app and publish its build folder, such as `cool publish ./dist --name my-chart`.

2. Install the `cool` CLI. On macOS or Linux:

   ```sh
   curl -fsSL https://cool.computer/install.sh | sh
   ```

   On Windows, in PowerShell:

   ```powershell
   irm https://cool.computer/install.ps1 | iex
   ```

   With Homebrew: `brew install the-money-company-limited/tap/cool`.

3. Publish the file. Signed in, make it private:

   ```sh
   cool publish artifact.html --name my-chart --visibility private
   ```

   One HTML file is published as the site's `index.html`. Names are 1 to 56 lowercase letters and digits, with single hyphens between words.

4. Open the address it prints. Without an account, leave out `--visibility private`: the site is public, and you get a claim link. Open it and sign in within 24 hours to keep the site, or run `cool claim <claim-link>`. Signing in in the browser does not sign in the CLI, so run `cool login --email you@example.com` before the steps below.

5. Share it:

   ```sh
   cool share add my-chart ana@example.com
   ```

   Or make it public for anyone with the link: `cool share public my-chart`.

6. When Claude changes the artifact, save the new version and publish to the same site:

   ```sh
   cool publish artifact.html --computer my-chart
   ```

   If a change goes wrong, `cool releases my-chart` lists the releases, and `cool releases promote my-chart 2` makes release 2 live again.

You can also let a coding agent do all of this. Paste the setup prompt from [/setup](/setup) into Claude Code and it installs `cool`, publishes a page and signs you up. See [Claude Code](/claude-code).

## Why and when to use it

Use it when the artifact should live somewhere of its own:

- A stable address: `my-chart.cool.computer` stays the same across releases, so a link in a doc or an email keeps working.
- Real privacy: A private site opens only for you and the people you invite by email, after they sign in.
- Comments on the page: Everyone who can open the site can pin a comment to any element, or draw on the page. Your agent can read those comments, make the change, publish again and answer each one.
- Room to grow: A `cool.json` can add an API under `/api` that runs at the edge, a small database and secrets, still with no VM. If the work later needs a server that stays on, the site can get its own VM on Pro.
- Any agent: The same site can be published from Claude, Claude Code, Codex, Cursor or any MCP client, with any model.

## How it compares

Claude's own sharing is the simplest choice when a link inside Claude is all you need. Cool Computers fits when you want your own address, invite-by-email privacy, comments pinned to the page, or the same site updated from other agents.

A static hosting service can also serve an HTML file. Those are usually built around a Git repository and a build step. Cool Computers takes the file as it is, from your agent, in one command, and adds comments and sharing by email.

Pasting the HTML into a chat or a gist shares the code, not a working page. People have to download it or open it in a viewer.

## Questions

### Is it free to share a Claude artifact this way?

Yes. Free costs nothing and needs no card. It holds up to 20 sites at once, each with server code, a database and an inbox. Pro, USD 20 a month, adds VMs and lifts the limit on sites. See [pricing](/pricing).

### Can I share it with only one person?

Yes. Publish it private, then share it with that person's email with `cool share add`. They get an invitation and sign in with that address to open it. There is no share link for a private site.

### Do I need an account to publish?

No. A publish without an account makes a public site and gives you a claim link. Sign in within 24 hours to keep it, or the site is deleted. A private site needs an account.

### How do I update the artifact after I change it?

Publish again to the same site: `cool publish artifact.html --computer my-chart`, or ask Claude to publish the new version to `my-chart`. Each publish is a new release at the same address.

### Can people comment on the page?

Yes. Anyone who can open the site can pin a comment to an element or draw on it, and everyone on the page sees it as it arrives. On a public site, anyone signed in to Cool Computers can comment.

### Can I use my own domain?

Yes. `cool domain set my-chart app.example.com` prints the two DNS records to create. Page comments show on the `cool.computer` address, not on custom domains yet.

To see what other people have put online, browse [/explore](/explore). For the full picture, read [how it works](/how-it-works).
