Skip to content
    ↑↓ select↵ openesc close
    English中文
    Zaradacht

    Openchamber Mobile Bridge

    v0.1.1Sandbox & Infra
    opencode-openchamber-mobile-bridge

    OpenCode helper package for exposing OpenChamber from devcontainers through a host bridge and Tailscale Serve.

    GitHub stars

    0

    Monthly installs

    13

    3 in 7 days

    Composite scoreSCORE

    23.9

    Multi-signal model

    Last commit

    2 months ago

    2026-06-17

    Install and configure

    opencode.json

    Writes to this project's opencode.json — applies to this repository only.

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["opencode-openchamber-mobile-bridge@0.1.1"]
    }

    opencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.

    Expose OpenChamber running in a devcontainer to your private Tailscale network.

    This package provides:

    • a minimal OpenCode plugin entrypoint, and
    • a host-side CLI that starts OpenChamber inside a devcontainer, creates a local Docker bridge, and registers Tailscale Serve.

    It is generic and does not require a specific project manager.

    Requirements

    • Docker
    • Dev Containers CLI, when the target devcontainer is not already built
    • Tailscale on the host
    • Node.js 18+

    Install

    npm install -g opencode-openchamber-mobile-bridge
    

    Configure

    Create ~/.config/opencode/openchamber-mobile-bridge.json:

    {
      "projects": [
        {
          "name": "example-project",
          "workspace": "/path/to/project",
          "hostPort": 31001,
          "containerPort": 3000
        }
      ]
    }
    

    Or generate a starter file:

    opencode-openchamber-mobile-bridge init-config
    

    Use

    opencode-openchamber-mobile-bridge start example-project
    opencode-openchamber-mobile-bridge status example-project
    opencode-openchamber-mobile-bridge stop example-project
    opencode-openchamber-mobile-bridge list
    

    You can also run without a config entry:

    opencode-openchamber-mobile-bridge start example-project \
      --workspace /path/to/project \
      --host-port 31001
    

    The command prints a Tailscale URL and the generated OpenChamber UI password.

    Runtime model

    Tailnet client
      -> Tailscale Serve on host
      -> host localhost:<hostPort>
      -> Docker bridge sidecar
      -> devcontainer OpenChamber on <containerPort>
      -> OpenCode server detected by OpenChamber
    

    Privacy

    Do not commit your local config file. It may contain local paths and project names. Examples use placeholders only.