Birta

How to share OpenCode generated HTML

OpenCode’s /share gives a public link to the conversation on opncd.ai, while the page it wrote stays a file on your machine. Connect Birta once and the HTML gets an address you own: your domain, your choice of who opens it, the same link after every edit.

Connect OpenCode to Birta

What OpenCode gives you today

In the project: a file

OpenCode writes index.html into your working directory. To look at it, you open the file on your own machine.

/share: the conversation, not the page

A shared session is public to anyone with the link on opncd.ai. The rendered page is not part of it.

Connect OpenCode to Birta once

Give OpenCode a place to publish the page it already has.

  1. 1

    Open opencode.json

    Add a remote server under mcp in the project’s opencode.json, or in your global config: name it Birta, type remote.

  2. 2

    Paste the address

    https://birta.dev/mcp

    This is the server’s url. OpenCode is open source, so there is no plan to check.

  3. 3

    Sign in once

    The first time OpenCode uses Birta, a browser tab asks you to sign in — with a one-time code from your email or with Google. No key to copy.

Then ask OpenCode to publish

Copy this into the conversation where OpenCode made your page.

OpenCode

Publish the HTML page you just made as a site on Birta. Create a project named "Pricing calculator", put the page into index.html with its CSS and JavaScript, 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 OpenCode 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 page an address.

Connect once, publish from any chat.

Start free

More ways to share agent output