---
title: "How to put a ChatGPT canvas or a Codex project online"
description: "Connect Cool Computers to ChatGPT or install its Codex plugin, and the page or app you made goes online at name.cool.computer, private or public."
canonical: "https://www.cool.computer/blog/publish-chatgpt-canvas"
last_updated: "2026-11-17"
---
# How to put a ChatGPT canvas or a Codex project online

> Connect Cool Computers to ChatGPT or install its Codex plugin, and the page or app you made goes online at name.cool.computer, private or public.

To put a ChatGPT canvas online, connect Cool Computers to ChatGPT and ask it to put the page on cool.computer, or save the code as a file and run `cool publish page.html`. For a Codex project, install the Cool Computers plugin in Codex and ask it to publish the app it built. Either way you get an address such as `my-page.cool.computer` that you keep private, share by email or open to anyone.

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

## From ChatGPT

ChatGPT runs no commands, so it publishes through the Cool Computers MCP server.

1. Connect Cool Computers from ChatGPT's connector or plugin directory, or add this address by hand:

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

2. Sign in when ChatGPT asks. The server signs in with OAuth.

3. In the chat with your canvas, ask: "put this page on cool.computer as a private site called my-page".

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

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

A single `cool_publish` call takes at most 64 KiB of arguments. Most single pages fit; for anything larger, use the terminal steps below.

## From a terminal

1. Copy the code from the canvas and save it as `page.html`. This works for a complete HTML page. If the canvas is React or JSX, ask ChatGPT 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-page`.

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

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

   On Windows, in PowerShell: `irm https://cool.computer/install.ps1 | iex`. More on [the CLI page](/install).

3. Publish it:

   ```sh
   cool publish page.html --name my-page
   ```

   One HTML file is published as the site's `index.html`. Without an account the site is public, and you get a claim link: open it and sign in within 24 hours to keep the site. Signing in in the browser does not sign in the CLI, so run `cool login --email you@example.com` before you update the site from the terminal. Signed in, add `--visibility private` to keep it to yourself and the people you invite.

4. When the page changes, save it again and publish to the same site:

   ```sh
   cool publish page.html --computer my-page
   ```

[This post](/blog/host-html-file-free) covers folders, updates and publishing over HTTP in more detail.

## From Codex

Codex in the CLI or the ChatGPT desktop app can publish what it builds with the Cool Computers plugin.

1. Run `/plugins` in Codex CLI, or open Plugins in the ChatGPT desktop app.

2. Install Cool Computers and start a new session. The plugin marks its MCP server required, so Codex waits for the Cool Computers tools before a task starts.

3. Ask Codex to publish the app it built. With a shell, it builds the app if it needs a build, then runs:

   ```sh
   cool publish ./dist --name my-app --visibility private
   ```

4. Ask Codex to listen for comments. It runs `cool comments watch my-app --agent Codex` in one of its own background terminals, When you send it comments from the page, the watch exits and prints the command that reads them; Codex runs it, makes the change, publishes again and starts the watch again.

Without the plugin, paste the setup prompt from [/setup](/setup) into Codex. More on the [Codex page](/codex).

## Why and when to use it

Use it when a page from ChatGPT or Codex should live at an address of its own:

- A stable link: `my-page.cool.computer` stays the same across releases.
- Private when you need it: A private site opens only for you and the people you invite by email, after they sign in.
- Feedback on the page: Everyone who can open it can pin a comment to an element or draw on it, and Codex can act on the comments you send it.
- The same site from any agent: ChatGPT, Codex, Claude Code, Cursor or any MCP client can publish to it.
- More than static files: A `cool.json` can add an API under `/api` that runs at the edge, a small database and secrets, with no VM. A server, a bot or a scheduled job can get its own always-on VM on Pro, with Codex installed on it.

## How it compares

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

A static hosting service can also serve the file. Those are usually built around a Git repository and a build step; `cool publish` takes the file as it is.

## Questions

### Can I host the HTML from a ChatGPT canvas?

Yes. Save it as an HTML file and run `cool publish page.html --name my-page`, or connect Cool Computers to ChatGPT and ask it to publish the page. It is served at `my-page.cool.computer`.

### How do I share a Codex app as a link?

Install the Cool Computers plugin in Codex and ask it to publish the app. It runs `cool publish` and gives you the address. Share it with `cool share add my-app ana@example.com`, or make it public with `cool share public my-app`.

### Do I need an account?

Not from a terminal: a publish without an account makes a public site and gives you a claim link, valid for 24 hours. ChatGPT's connector signs you in when you connect it. A private site needs an account.

### Is it free?

Free costs nothing and needs no card: 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. Your own ChatGPT or Codex subscription is separate. See [pricing](/pricing).

### What if the app needs a backend?

A `cool.json` with `functions` adds an API under `/api` that runs at the edge, with no VM. A program that has to keep running gets a VM on Pro. See [how it works](/how-it-works).

To see what other people have put online, browse [/explore](/explore), or see [other MCP clients](/mcp-clients) that connect the same way.
