Skip to content

0 5 0/feat/second readme update#11

Open
Liamoscarmccaffrey wants to merge 3 commits intomainfrom
0-5-0/feat/second-readme-update
Open

0 5 0/feat/second readme update#11
Liamoscarmccaffrey wants to merge 3 commits intomainfrom
0-5-0/feat/second-readme-update

Conversation

@Liamoscarmccaffrey
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/routes/+layout.svelte
<link rel="icon" href={favicon} />
<meta property="og:title" content="BrowserCode" />
<meta property="og:description" content="Run AI coding CLIs in-browser." />
<meta name="description" content={pageDescription} />
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is redundant. There is already a description tag coming from elsewhere. In the page there will be two tags which might confuse crawlers

Comment thread README.md
<br />

<h2 id="about">What is BrowserCode?</h2>
# Build web apps that embed AI coding CLIs
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not correct and confusing

Comment thread README.md
# Build web apps that embed AI coding CLIs

BrowserCode is a browser runtime for AI coding CLIs. BrowserCode is a working example of [BrowserPod](https://browserpod.io/), it includes:
BrowserCode is an open source project built on [BrowserPod](https://browserpod.io/), a serverless runtime with a POSIX filesystem, `bash`, `git`, `npm`, and live previews, all running client-side via WebAssembly.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'Serverless' means "run on edge server". Does not mean run in a browser.

Comment thread README.md

<h2 id="breaking-browsercode">Breaking BrowserCode</h2>
This is BrowserCode beta. Don't be kind to it. Stretch it, bend it, find out what breaks. Here are a few walls you might hit:
BrowserCode is a runtime for AI coding CLIs. Using [BrowserPod](https://browserpod.io/), the POSIX filesystem, the dev server, and the network proxy all run **inside the user's browser tab** via WebAssembly. It boots instantly.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not agree with this. It's an demo or integration of BrowserPod to run coding CLIs maybe?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The network proxy also by definition does not run in the browser

Comment thread README.md
| [`/codex`](https://browsercode.io/codex) | Codex *(coming soon)* |
| [`/opencode`](https://browsercode.io/opencode) | OpenCode *(coming soon)* |

Depending on your auth method, you may be asked to copy a code from a separate tab. After that, prompt the agent like you would on your laptop — except the filesystem it edits, the `npm install` it runs, and the dev server it spins up are all living in the same tab.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Difficult to parse sentence

Comment thread README.md Outdated
│ └──────────────┘ │ BrowserPod portal ──── public URL ──┼──┐
│ │ │ │
│ ┌──────────────┐ └─────────────────────────────────────────┘ │
│ │ Portal pane │◀──────────── iframe ──────────────────────────── │
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extend the art on 3-4 cols to be able to see the iframe arrow separate from the browser tab box

Comment thread README.md Outdated
| **Real Node.js, in the browser** | Node 22 compiled to Wasm. Run `node`, `npm install`, `npm run build` against an actual POSIX filesystem — no shims, no fake VFS. |
| **POSIX-like filesystem** | Pods are ephemeral, but files can persist via OPFS / IndexedDB. The agent's project state is yours, scoped to the tab. |
| **Instant previews via portal URLs** | Any port the agent opens gets a public preview URL through BrowserPod's portal. |
| **Cross-origin isolated** | `COOP`/`COEP`/`CORP` headers configured for both Vite dev and Cloudflare prod (see [_headers](_headers) and [vite.config.ts](vite.config.ts)). Required for `SharedArrayBuffer` and Wasm threads. |
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a feature, it's a requirement

Comment thread README.md Outdated
export const cliConfigs: Record<string, CLIConfig> = {
// ...
mytool: {
userImage: 'wss://disks.browserpod.io/mytool_YYYYMMDD.ext2',
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Users cannot load images there. We should either remove this section or document how to use images hosted locally or on user servers.

Comment thread README.md

This is BrowserCode's second beta. Don't be kind to it. Here are the walls you'll hit:

- **The agent may ignore its primer on the first turn.** The `CLAUDE.md` / `GEMINI.md` shipped into the Pod tells the model it's running on Wasm, but it can default to its usual behavior before consulting the file. Re-prompt or remind it.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is true at all

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 7, 2026

Deploying browsercode with  Cloudflare Pages  Cloudflare Pages

Latest commit: f3ad8b8
Status: ✅  Deploy successful!
Preview URL: https://89fd24b7.browsercode.pages.dev
Branch Preview URL: https://0-5-0-feat-second-readme-upd.browsercode.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants