Local CLI · coding-agent companion · infrastructure you own

Publish any HTML or Markdown — straight from Claude Code or Codex to the internet.

Your agent makes something great. You say one yes. Out comes a durable public link — yours to share and yours to keep — on your free Cloudflare account.

$ npx pagecast Copy Copied
View on GitHub
Works with Claude Code & Codex Your own account, no lock-in Free
Pagecast 0.5.0 is available now. Safer publishing, project-scoped ownership, and recoverable operations are live on npm and GHCR. Read the release notes →
The agent moment

From a generated report to a real link, without leaving the chat.

No copy-paste, no dashboards, no deploy dance. Publishing becomes a single beat in the conversation you were already having.

01

Your agent writes it

Claude Code or Codex finishes a report, doc, or dashboard — as HTML or Markdown.

02

It offers to publish

“Publish this?” You say yes. Pagecast runs pagecast publish for you.

03

You get a public URL

A durable link on your Cloudflare Pages — live the moment it returns.

  your-site.pages.dev/p/q3-growth-… Live · synced
Markdown · published

Q3 Growth Report

Published to your Cloudflare account · updated just now

Why Pagecast

A real public link. On infrastructure you own.

Four reasons it feels less like a deploy tool and more like a natural extension of your agent.

Your own account

It ships to your free Cloudflare Pages. New 0.5 links remember their exact account and project; unattributed legacy links stay read-only until you attach their original target.

Any agent

Works with Claude Code and Codex — not bolted to one vendor’s editor. It goes where you already work.

Unlisted by default

0.5 combines a memorable label with a 128-bit capability. Anyone with the URL can open it; use password protection when you need access control.

HTML + Markdown

Hand it a polished HTML page or a plain .md file. Both render cleanly and publish exactly the same way.

An honest comparison

Pagecast vs. Codex Sites

Codex Sites is a solid feature — and it’s enterprise-only, OpenAI-hosted, and Codex-only. Here’s the honest contrast.

Pagecast

Free · yours
  • Free, no seat license
  • Hosted on your own Cloudflare account
  • Works with Claude Code & Codex
  • A real public URL, with an optional password gate
  • HTML and Markdown

Codex Sites

Enterprise
  • Paid seats, enterprise plans
  • OpenAI-hosted — not your infrastructure
  • Codex-only
  • Login-walled access
  • Tied to the vendor’s editor

Comparison reflects publicly described positioning of OpenAI’s enterprise “Codex Sites” at time of writing. Pagecast isn’t affiliated with or endorsed by OpenAI or Cloudflare — it just stands on your own free Cloudflare account.

Safer publishing in 0.5

Clear link choices. Recovery when reality interrupts.

Link visibility

New links are unlisted capabilities by default. A short link or vanity rename is an intentional public drop, so the dashboard makes that visibility change explicit.

Live sync

Republish and the same URL updates in place. Share the link once; readers always see the latest — no new addresses to chase down.

Operation recovery

Managed publishes record unfinished Cloudflare and local steps. The dashboard can retry safe work and tells you when a conflict needs manual action.

Password protection

Gate a page at Cloudflare’s edge. Password changes, expiry, sync, rename, and revoke all stay attached to the link’s recorded target.

Durable links

Served from Cloudflare’s edge — your links stay up whether your laptop is open, closed, or powered off.

Quickstart

Live in about a minute.

No build step, no config files, no account to create with us. Three moves and you’re published.

1.

Run it

One command in your terminal. No global install, no setup ceremony.

$ npx pagecast
2.

Connect Cloudflare

One click connects your free Cloudflare account — so every page you publish is yours to keep.

Connect Cloudflare →
3.

Ask your agent to publish

Let Claude Code or Codex draft a report, then say yes when it offers to publish.

$ npx pagecast publish ./report.md --json

Give your agent a publish button.

Free, on your own Cloudflare account, from the chat you’re already in. Copy the command and go.

$ npx pagecast Copy Copied
Star on GitHub