anomalyco / anomalyco/opencode
[FEATURE]: Configurable web UI title to tell multiple instances apart
@Hona is already working on this.
Since Sep 8, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
I run several opencode web instances at once, one per project. Every browser tab is titled "OpenCode", so I can't tell them apart and have to click through tabs to find the one I want.
packages/app/index.html hardcodes <title>OpenCode</title> and nothing overrides it at runtime, so there is currently no way to distinguish instances.
I'd like to set the title per instance with an env var:
OPENCODE_WEB_UI_TITLE="work: frontend" opencode web
I have a working change that rewrites the <title> in the served HTML, for both the embedded UI and the proxied dev UI, and leaves the title alone when the variable is unset. Happy to open a PR if you're open to this approach.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.