Pagecast: publish HTML or Markdown from your coding agent

1 min read
claude-codecodexcloudflarecoding-agents
View as Markdown
Originally from pagecasthq.pages.dev
View source

My notes

Summary

Pagecast is a CLI tool (run via npx pagecast) that lets a coding agent (Claude Code or Codex) publish HTML or Markdown directly to your own free Cloudflare Pages account with a single confirmation. You own the URL, data, and bandwidth - no middleman service, no login-walled previews, and stable URLs that update in place on republish.

Key Insight

  • Publishes to your own free Cloudflare Pages, not a third-party host. No lock-in, nothing to cancel - the link survives even if your laptop is off (served from Cloudflare’s edge).
  • Single command, no install ceremony: npx pagecast to set up, one click to connect Cloudflare, then pagecast publish report.md. No build step, no config files, no account with the vendor.
  • Stable URLs that update in place - republishing keeps the same address, so a shared link always shows the latest version. Supports custom memorable paths (not random hashes).
  • Agent-native workflow: designed so the agent offers “Publish this?” inside the chat you’re already in; works with both Claude Code and Codex (not bolted to one editor).
  • Positioned against OpenAI’s “Codex Sites” - which the site notes is enterprise-only, OpenAI-hosted, and Codex-only. Pagecast’s pitch is the opposite: free, vendor-neutral, self-owned. (Not affiliated with OpenAI or Cloudflare.)
  • Can watch a file and push on every save, and supports quick HTML/Markdown edits inside Pagecast without a round-trip to the code editor.