← 返回
数据分析 中文

openclaw menubar

Enable OpenClaw as a native macOS menu bar app with quick access popup. **macOS ONLY** - not compatible with Windows or Linux. Use when user asks to "enable menubar", "add menu bar", "run in menu bar", "make it accessible from menu bar", or wants quick OpenClaw access without opening full dashboard.
将 OpenClaw 启用为原生 macOS 菜单栏应用,支持快速访问弹窗。**仅限 macOS** - 不兼容 Windows 或 Linux。适用于用户要求「启用菜单栏」、「添加菜单栏」、「在菜单栏运行」、「从菜单栏访问」,或希望快速访问 OpenClaw 而无需打开完整控制面板时。
prab002
数据分析 clawhub v1.0.0 1 版本 99914.2 Key: 无需
★ 0
Stars
📥 1,165
下载
💾 22
安装
1
版本
#latest

概述

OpenClaw Menu Bar

> ⚠️ macOS ONLY - This skill requires macOS. Menu bar apps are not supported on Windows or Linux.

Adds a native macOS menu bar app for quick OpenClaw access - click the crab icon 🦀 in your menu bar to get an instant chat popup.

Quick Start

Install & Launch

scripts/install.sh
scripts/start.sh

The crab icon will appear in your menu bar. Click it to open the chat window.

Stop

scripts/stop.sh

Check Status

scripts/status.sh

What It Does

  • Menu bar icon: Crab 🦀 icon appears in macOS menu bar
  • Quick popup: Click icon → instant chat window (no browser needed)
  • Keyboard shortcut: Cmd+Shift+O to toggle popup
  • Native feel: Proper macOS vibrancy, stays on top when needed
  • Lightweight: Electron app, ~480x680px popup window

Icon Setup

The menubar app requires two icon files in assets/openclaw-menubar/icons/:

  • icon.png (22x22 pixels, transparent PNG)
  • icon@2x.png (44x44 pixels, transparent PNG)

Option 1: Auto-generate icons

cd assets/openclaw-menubar
./create-icon.sh

This creates a simple crab emoji icon.

Option 2: Custom icons

Replace the generated icons with your own 22x22 and 44x44 transparent PNGs.

Note: macOS menu bar uses monochrome template mode (auto-colorizes your icon).

Window Size

Edit assets/openclaw-menubar/main.js:

browserWindow: {
  width: 480,  // Change width
  height: 680  // Change height
}

Keyboard Shortcut

Edit assets/openclaw-menubar/main.js:

globalShortcut.register('CommandOrControl+Shift+O', () => {
  // Change 'O' to any key
});

Architecture

  • Electron app using menubar package
  • Header: Custom HTML header (index-webchat.html) with branding
  • Content: OpenClaw webchat loaded via BrowserView with auth token
  • Auto-auth: Reads gateway config from ~/.openclaw/openclaw.json

Requirements

  • macOS (menu bar apps are macOS-specific)
  • OpenClaw Gateway running on localhost
  • Node.js (for Electron)

Troubleshooting

Icon not showing

  • Icon must be 22x22 PNG with transparent background
  • macOS menu bar uses monochrome template mode (auto-colorizes)

"OpenClaw Not Running" error

  • Ensure OpenClaw Gateway is running: openclaw gateway status
  • Check config: cat ~/.openclaw/openclaw.json

Window doesn't open

  • Check logs in Console.app (search "OpenClaw")
  • Try: scripts/stop.sh && scripts/start.sh

Files

  • assets/openclaw-menubar/ - Complete Electron app
  • scripts/install.sh - Install dependencies (npm install)
  • scripts/start.sh - Launch the menu bar app
  • scripts/stop.sh - Kill the app process
  • scripts/status.sh - Check if app is running

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 04:02 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 368 📥 140,905
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 166 📥 60,283
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 199 📥 65,276