Skip to content
PluginStats

@vymalo/opencode-browser weekly downloads statistics

By vymalo · npm · AI SDKs

OpenCode plugin that gives the model hands in a real browser: it registers browser_* tools (open, click, type, scroll, screenshot, snapshot, …) and hosts a localhost WebSocket bridge that a companion Chromium/Firefox extension connects to. Tabs are organi

View on npm Stale · Dec 2, 2026

@vymalo/opencode-browser has 418 recorded weekly downloads on npm, an increase of 245% over the past 30 days, ranking #2306 of 3,247 tracked listings.

Weekly downloads
418
Official API · Dec 5, 2026
7-day growth
-12.4%
-59 weekly downloads
30-day growth
+245%
+297 weekly downloads
90-day growth
-34.9%
-224 weekly downloads
Rank
#2306
Among tracked npm listings

About @vymalo/opencode-browser

@vymalo/opencode-browser

Give an OpenCode agent hands in a real browser — open tabs, click, type, scroll, screenshot — organized into named tab groups.

npm node: >=22 license: MIT

Requires OpenCode v2. This release targets the v2 plugin API and does not run on v1. Migrating from 0.17.x? See Migrating from v1.

This is the OpenCode plugin half of a dual plugin. It registers browser_* tools the model can call and hosts a localhost WebSocket bridge. A companion browser extension (Chromium MV3 + Firefox) connects to the bridge and drives real tabs.

Browser extensions can't host servers, so the plugin is the server and the extension dials out to it. The bridge is served with the ws package, which runs under both runtimes OpenCode uses — Bun (CLI / opencode web) and Node (the desktop app) — so it works in either.

flowchart LR
    Model[OpenCode model] -->|browser_* tools| Plugin["@vymalo/opencode-browser<br/>(bridge host)"]
    Plugin <-->|ws://127.0.0.1:4517<br/>token handshake| Ext[Browser extension]
    Ext -->|CDP / content script| Tabs[(Real browser tabs<br/>in named groups)]

Table of contents

How it works

  1. OpenCode loads the plugin; it binds a WebSocket bridge on 127.0.0.1:<port> and prints a shared token (or uses the one you set).
  2. You load the extension once, paste the bridge URL + token into its dashboard, and connect.
  3. The model calls a browser_* tool → the plugin sends a command frame over the bridge → the extension executes it against a real tab → the result comes back to the model.

The extension and plugin agree on a small, dependency-free wire protocol; the same protocol is mirrored into the extension so the two never drift.

Install

// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "plugins": [{ "package": "@vymalo/opencode-browser", "options": { "port": 4517 } }]
}

On first run with no token, the plugin generates one and logs it once (browser_bridge_token_generated). Paste that into the extension's dashboard along with the bridge URL (ws://127.0.0.1:4517).

The generated token is persisted (with the port) to a per-user bridge.json so it survives restarts — ~/Library/Application Support/opencode-browser/bridge.json (macOS), ~/.local/state/opencode-browser/bridge.json (Linux), %APPDATA%\opencode-browser\bridge.json (Windows). Read it from there any time instead of digging through the log; see docs/browser.md → The bridge state file.

Get the extension from the Releases page (opencode-browser-extension-<version>-chrome.zip / -firefox.zip), from the Chrome Web Store / Firefox Add-ons, or build it from apps/browser-extension.

Quickstart

A typical first session, end to end:

You:    Open example.com in a group called "research" and tell me the page heading.
Model:  browser_open({ group: "research", url: "https://example.com" })
        browser_snapshot({ group: "research" })          → refs e1, e2, …
        browser_get_text({ group: "research" })
        → "Example Domain — This domain is for use in illustrative examples…"

You:    Screenshot it.
Model:  browser_screenshot({ group: "research", fullPage: true })
        → "Saved screenshot to .opencode/browser/research/2026-…png (1280×3200)."
        (the model then reads that file to see it)

A titled tab group named "research" appears in the browser; the extension dashboard logs every action and keeps a screenshot gallery.

Options

The plugin entry's options in opencode.json:

OptionDefaultMeaning
enabledtrueMaster switch.
host"127.0.0.1"Bind interface. Keep it loopback — see Security.
port4517Bridge port.
tokengeneratedShared secret the extension must present. Empty string ⇒ generated + logged.
groups["page","control"]Tool groups to register (page | control | debug).
executor"auto"auto | cdp | content — forwarded to the extension as a preference.
timeoutMs30000Per-command timeout.
screenshotDir".opencode/browser"Screenshot output dir (relative → resolved against the project directory).
logLevel"info"debug/trace unlock the verbose tiers. Falls back to OPENCODE_LOG_LEVEL. Records go to OpenCode's own logger, which gates them again (Effect's default minimum is Info) — set OPENCODE_LOG_LEVEL=DEBUG too.

The 34 tools

Names are stable browser_* identifiers, partitioned into three groups gated by the groups option. Every tool takes a group (the named tab group) unless noted.

page — observe (8, default on)…

Description from the npm listing.

  • opencode
  • opencode-plugin
  • opencode-v2
  • browser
  • automation
  • chromium
  • firefox
  • extension
  • cdp
  • ai-sdk

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@vymalo/opencode-browser weekly downloads on npm, last 90 days: 418 weekly downloads as of Dec 5, 2026, -34.9% over 90 days.@vymalo/opencode-browserWeekly downloads on npm · Last 90 days418downloads / week-34.9% over 90 days02004006008001K1.2K1.4K1.6K1.8KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@vymalo/opencode-browser weekly downloads on npm, last 90 days: 418 weekly downloads as of Dec 5, 2026, -34.9% over 90 days.

7/30/90-day growth

@vymalo/opencode-browser weekly downloads growth on npm: -12.4% over 7 days, +245% over 30 days, -34.9% over 90 days.@vymalo/opencode-browserWeekly downloads growth on npm418downloads / week now7-day growth-59 weekly downloads-12.4%30-day growth+297 weekly downloads+245%90-day growth-224 weekly downloads-34.9%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@vymalo/opencode-browser weekly downloads growth on npm: -12.4% over 7 days, +245% over 30 days, -34.9% over 90 days.

Ranking history

@vymalo/opencode-browser npm ranking history: currently #2306 (by weekly downloads).@vymalo/opencode-browsernpm ranking · by weekly downloads · Last 90 days#2306current rank#1700#1800#1900#2000#2100#2200#2300#2400Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankDec 2, 2026 – Dec 6, 2026 · 3 observations · Updated Dec 5, 2026pluginstats.com
@vymalo/opencode-browser npm ranking history: currently #2306 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 116, #6 (overall #2,306)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 14, #11 (overall #271)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (121)
Recent weekly downloads observations for @vymalo/opencode-browser
Date (UTC)Weekly downloadsChange vs. previous
418-60
478-16
494-14
508+21
487+4
483+13
470-7
477+21
456-22
478+10
468-15
483+7
476-16
492—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@vymalo/opencode-browser. First seen Dec 2, 2026; last successful collection Dec 2, 2026. See the methodology.