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 page itself gets the link: reviewers comment on it instead of the transcript, and OpenCode works their remarks into the next version when you ask.
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
Bring what OpenCode already made into a project your team can open.
- 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
Paste the address
https://birta.dev/mcpThis is the server’s url. OpenCode is open source, so there is no plan to check.
- 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.
Publish the HTML page you just made as a page 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. Work on it together.
People comment right on the page. Ask OpenCode, or any agent you connect, to work through the remarks: the next version lands on 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.
Comments on the page
Colleagues mark remarks on the page itself, no OpenCode account needed. You choose who opens it.
A few good questions
Work on it with your team.
Start in the Birta chat, or connect OpenCode and any agent your team uses.