GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - canyugs/openclaw-sandbox-browser

BranchesTags
Open more actions menu

Latest commit

 

History

32 Commits
32 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
cdp_proxy.py
cdp_proxy.py
 
 
entrypoint.sh
entrypoint.sh
 
 
zeabur-template-moltbot-sandbox-browser-H8L4G1-old.yaml
zeabur-template-moltbot-sandbox-browser-H8L4G1-old.yaml
 
 
zeabur-template-openclaw-sandbox-browser-H8L4G1.yaml
zeabur-template-openclaw-sandbox-browser-H8L4G1.yaml
 
 

Repository files navigation

OpenClaw Sandbox Browser

Headless Chromium browser sandbox for OpenClaw.

This container provides a headless Chromium browser that OpenClaw can control via Chrome DevTools Protocol (CDP).

Quick Start

# Pull the image
docker pull ghcr.io/canyugs/openclaw-sandbox-browser:main

# Run in headless mode
docker run -d -p 9222:9222 ghcr.io/canyugs/openclaw-sandbox-browser:main

# Test CDP is working
curl http://localhost:9222/json/version

Environment Variables

Variable Default Description
OPENCLAW_BROWSER_CDP_PORT 9222 CDP port to expose
OPENCLAW_BROWSER_HEADLESS 1 Run in headless mode (1=yes, 0=no)
OPENCLAW_BROWSER_VNC_PORT 5900 VNC server port
OPENCLAW_BROWSER_NOVNC_PORT 6080 noVNC web interface port
OPENCLAW_BROWSER_ENABLE_NOVNC 1 Enable noVNC (1=yes, 0=no)

Note: Legacy environment variables MOLTBOT_BROWSER_* and CLAWDBOT_BROWSER_* are also supported for backward compatibility.

Usage with OpenClaw

In your OpenClaw configuration (openclaw.json):

{
  "browser": {
    "enabled": true,
    "attachOnly": true,
    "defaultProfile": "remote",
    "profiles": {
      "remote": {
        "cdpUrl": "http://openclaw-sandbox-browser:9222",
        "color": "#FF4500"
      }
    }
  }
}

Visual Debugging (VNC/noVNC)

By default, the browser runs in headless mode for better performance. To enable visual debugging:

Enable Desktop Mode

# Run with desktop mode enabled
docker run -d \
  -p 9222:9222 \
  -p 6080:6080 \
  -p 5900:5900 \
  -e OPENCLAW_BROWSER_HEADLESS=0 \
  ghcr.io/canyugs/openclaw-sandbox-browser:main

Access Methods

Method Port URL/Connection
noVNC (Web) 6080 Open http://localhost:6080 in browser
VNC Client 5900 Connect to localhost:5900 with any VNC client

Ports Overview

Port Protocol Description
9222 HTTP/WebSocket Chrome DevTools Protocol (CDP)
6080 HTTP noVNC web interface
5900 TCP VNC server (no password)

Building

docker build -t openclaw-sandbox-browser:local .

Architecture

  • Based on debian:bookworm-slim for minimal footprint
  • Includes Chromium with CJK fonts support
  • Uses Caddy as reverse proxy for CDP (handles Host header rewrite)
  • Includes X11 virtual framebuffer (Xvfb) for non-headless mode
  • Includes x11vnc and noVNC for remote desktop access

Deploy on Zeabur

Deploy on Zeabur

License

MIT

About

No description, website, or topics provided.

Resources

Readme
MIT license
Activity

Stars

14 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.