Codex

Publish a website from Codex and get a public link

Last updated: 2026-11-25

In Codex, ask: "Put this online with npx flypod and give me the link." Codex runs flypod in your project, uploads the built files and replies with a public URL. You do not need an account, a hosting provider or a config file.

npx flypod ./dist --json

What Codex does

Changes go to the same link

Ask for a change and to deploy again. The next flypod in that folder ships a new version to the same address, so the link you already sent shows the new version. flypod rollback undoes the last one.

Keep the site

A site deployed without an account lasts 14 days. To keep it, ask Codex to sign you in. It runs flypod login --json and gives you a link. Confirm in your browser and Codex's next flypod command keeps every site you made on that computer. Signing in is free.

Make Codex use flypod every time

Run npx flypod install skill once in the project. It writes an Agent Skill to .agents/skills/flypod/, which Codex reads, so a later "give me a link to this" goes straight to flypod. Or add one line to the project's AGENTS.md:

To publish a site or share a build, run: npx flypod <folder> --json

In a Codex cloud task

flypod uploads to flypod.dev, so the task needs internet access. If its environment blocks the network, allow flypod.dev, or run the deploy from Codex on your own machine.

What it does not do

flypod hosts static sites: HTML, CSS, browser JavaScript, images and Markdown. An app that needs a server, a database or an API key on the server will not run there. A deploy can be up to 10 MB and 200 files. The full list is on the limits page.

Questions

How do I get a public link to a site I built with Codex?

Ask Codex to deploy the folder with npx flypod. It runs the command and gives you a live URL. You do not need an account first.

Is the link public?

Yes. Anyone with the URL can open the site. While it is anonymous it is marked noindex, so search engines leave it out.

How long does the link work?

14 days if you have not signed in. Sign in once, free, and every site that machine deployed is kept until you delete it.

How do I make Codex use flypod every time?

Run npx flypod install skill once in the project. It writes an Agent Skill to .agents/skills/flypod/, which Codex reads. A line in AGENTS.md saying to publish with npx flypod works too.

Does it work in a Codex cloud task?

Only when the task can reach the internet. If its environment blocks network access, allow flypod.dev, or deploy from Codex on your own machine.


Related: publish from Claude Code, publish from Cursor, hosting for AI agents, share an HTML file as a link, and what flypod can't do.