Skip to content

liuzeming-yuxi/Openclaw-Connector

Repository files navigation

OpenClaw Connector Logo

OpenClaw Connector

Securely bridge remote AI agents to your local machine

FeaturesQuick StartInstallationUser GuideContributing

Platform Tauri React Rust Downloads License

简体中文 | English


Screenshot

Why OpenClaw Connector?

OpenClaw agents run on your server, but often need to interact with your local environment — running commands, controlling browsers, accessing local files.

OpenClaw Connector solves two problems:

  1. Bridging server and local — It creates a secure tunnel between OpenClaw agents and your local machine, so agents can execute tasks on your computer as if they were sitting next to you.

  2. Secure gateway access — The OpenClaw gateway should never be exposed to the public internet. This app lets you access it securely from your local machine through an encrypted SSH tunnel — no open ports, no public URLs.

Features

  • SSH Tunnel — Secure reverse tunnel to your Linux gateway with auto-reconnect
  • Agent Bindings — Bind AI agents to your local node for remote task execution
  • Browser CDP — Expose local Chrome browser to agents via Chrome DevTools Protocol
  • Session Management — Notify agents across chat sessions with one click
  • Device Identity — Ed25519 keypair for secure device authentication
  • Emergency Disconnect — One-click kill switch to instantly sever all connections

Installation

Download the latest release for your platform from the Releases page.

Platform File
macOS (Apple Silicon) OpenClaw.Connector_x.x.x_aarch64.dmg
macOS (Intel) OpenClaw.Connector_x.x.x_x64.dmg
Linux (Debian/Ubuntu) OpenClaw.Connector_x.x.x_amd64.deb
Linux (AppImage) OpenClaw.Connector_x.x.x_amd64.AppImage
Windows OpenClaw.Connector_x.x.x_x64-setup.exe

macOS note: On first launch, macOS may show "cannot verify developer". Go to System Settings → Privacy & Security, scroll down and click "Open Anyway".

Linux AppImage: Run chmod +x OpenClaw.Connector_*.AppImage first.

Quick Start

Prerequisites

  • A running OpenClaw gateway on a remote Linux server
  • SSH access to the server from your local machine

New to OpenClaw? See the User Guide for detailed setup instructions and parameter explanations.

Build from Source

# Clone the repo
git clone https://github.com/liuzeming-yuxi/Openclaw-Connector.git
cd Openclaw-Connector

# Install dependencies (requires Node.js 18+, pnpm, Rust toolchain)
pnpm install

# Run in development mode
pnpm tauri dev

# Or build for production
pnpm tauri build

Tech Stack

Layer Technology
Desktop Framework Tauri 2
Frontend React 19 + TypeScript + Tailwind CSS 4
State Management Zustand 5
Backend Rust (Tokio async runtime)
Tunnel SSH reverse port forwarding
Browser Automation Chrome DevTools Protocol (CDP)

Project Structure

├── src/                    # React frontend
│   ├── pages/              # Page components
│   ├── components/ui/      # Reusable UI components
│   ├── store/              # Zustand state stores
│   └── types/              # TypeScript type definitions
├── src-tauri/              # Rust backend
│   └── src/
│       ├── lib.rs          # Tauri command handlers
│       ├── ssh_tunnel.rs   # SSH tunnel management
│       ├── browser.rs      # Chrome CDP lifecycle
│       ├── ws_client.rs    # WebSocket client
│       ├── config.rs       # Configuration persistence
│       ├── health.rs       # Gateway health monitoring
│       └── device_identity.rs  # Ed25519 device keys
├── docs/                   # Documentation
└── package.json

Development

# Run frontend + backend in dev mode
pnpm tauri dev

# Run frontend tests
pnpm test

# Run Rust tests
cargo test --manifest-path src-tauri/Cargo.toml

# Type check
pnpm build

Roadmap

  • Cross-platform support (Windows & Linux)
  • Multi-language UI (i18n: Chinese + English)
  • Theme switching (Light / Dark mode)
  • OpenClaw health check & auto-repair
  • Browser automation beyond Chrome (Firefox, Edge, etc.)
  • Comprehensive CI/CD pipeline (multi-platform matrix)
  • PR-level CI checks (lint, test, clippy)
  • Architecture / sequence diagram
  • Safer port management (avoid killing unrelated processes)
  • Operator WebSocket graceful shutdown on disconnect
  • Unified config source of truth (frontend vs backend)

Star History

Star History Chart

Acknowledgments

OpenClaw Connector is built on excellent open-source projects:

  • OpenClaw — The AI agent runtime
  • Tauri — Lightweight desktop framework
  • React — UI component library
  • Zustand — Lightweight state management
  • Tailwind CSS — Utility-first CSS framework
  • Lucide — Beautiful icon set

Contributing

See CONTRIBUTING.md for guidelines.

Security

See SECURITY.md for the security model and vulnerability reporting.

License

MIT

About

macOS desktop connector for OpenClaw: securely bridge remote agents to your local machine via SSH tunnel and local browser CDP.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages