Birta

How to publish a file from Codex

Codex works in files: it creates and edits them in your working folder and hands you a path. Connect Birta once and the file becomes a page at an address you own: your domain, your choice of who opens it, the same link after every edit.

Connect Codex to Birta

What Codex gives you today

A file on your disk

Codex writes into the working directory, or into an isolated environment for cloud tasks. The result is a path to send, not a page to open.

Sites, if you are on a paid plan

Codex can deploy the project with Sites, in public beta on Plus and higher.

Connect Codex to Birta once

Give Codex a place to publish the file it already has.

  1. 1

    Add Birta in the terminal

    codex mcp add birta -- npx -y @birta/cli mcp

    Run this once. Codex keeps it in one config, shared by the app, the CLI and the IDE extension. It needs Node.js 20 or newer; nothing else to install.

  2. 2

    No terminal? Use the app

    In the Codex app the same server goes in through Settings, then MCP servers, then Add server. Or add it to ~/.codex/config.toml by hand.

  3. 3

    Ask once, confirm once

    The first request that needs your account returns a link. Open it, sign in with a one-time code from your email or with Google, and repeat the request. No key to copy.

Then ask Codex to publish

Copy this into the conversation where Codex made your file.

Codex

Publish the files you made for this page as a site on Birta. Create a project named "Pricing calculator", upload index.html with its CSS, JavaScript and images, publish it, and give me the live link.

  • published, version 1
  • here is the live link: pricing-calculator.birta.link

Share it. Keep making it better.

Tell Codex what to change. It publishes again to the same address.

Same URL after edits

Each change is a new version on the same address. Every version is kept, rollback is one step.

Only certain people

Close version links to everyone but the people you add. They sign in and leave remarks on the page.

A few good questions

Give your file an address.

Connect once, publish from any chat.

Start free

More ways to share agent output