zhaoxinyi02/ClawPanel
About
🐾 ClawPanel — A visual management panel for the OpenClaw AI assistant. Supports single-binary deployment with Go, unified management of 20+ channels, cross-platform operation, and real-time log monitoring.
AI & Machine LearningMeasured star growth
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -2
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README_EN.md
Original
ClawPanel
OpenClaw Smart Management Panel — Single-binary deployment, cross-platform, full-featured visual management
Go Single Binary · React 18 · TailwindCSS · SQLite · WebSocket Real-time · Cross-platform
Quick Start · Features · Changelog · API Docs · 中文
[!CAUTION] Disclaimer
This project is for learning and research purposes only. Commercial use is strictly prohibited. Using third-party clients to log in to QQ/WeChat may violate Tencent's Terms of Service and carries a risk of account suspension. Please use test accounts. The author has not performed any reverse engineering and only integrates existing open-source projects. No responsibility is assumed for any consequences. By downloading and using this project, you agree to the full disclaimer.
[!NOTE] v5.5.1 Update — this release fixes compatibility with newer OpenClaw config schemas, protects dreaming settings, and completes the GitHub-only install/update path after retiring the Lite release line. See changelogs/v5.5.1.md
[!IMPORTANT] The Lite edition has been discontinued. ClawPanel now ships only the standard edition. It no longer bundles OpenClaw runtime and no longer provides Lite build, install, update, or packaging scripts. Historical Lite releases and changelogs remain available for reference.
[!NOTE] v5.0.4 New — 🔧 NapCat one-click diagnose & repair, system diagnostic report, QR login auto-detect & auto-close, disabled auto-login, container auto-restart after install, PATH detection fix. View changelog
Features
Smart Dashboard
- OpenClaw process monitoring (start/stop/restart)
- Enabled channels overview, current model, uptime, memory usage
- Quick actions: one-click restart OpenClaw / Gateway / ClawPanel / NapCat
Channel Management (20+ Channels)
Unified configuration for 20+ channels with one-click enable/disable:
- Built-in: QQ (NapCat) · WeChat · Telegram · Discord · WhatsApp · Slack · Signal · Google Chat · BlueBubbles · WebChat
- Plugins: Feishu · DingTalk · WeCom · QQ Official Bot · IRC · Mattermost · Teams · LINE · Matrix · Twitch
- QQ Login: QR code / quick / password — with logout and NapCat container restart
- Smart QR Refresh: Auto-detects expired QR codes, retries to fetch fresh ones
Configuration Center
- Model Config: Multi-provider management (OpenAI / Anthropic / Google / DeepSeek / Volcengine etc.)
- Agent Config: System prompt, temperature, max tokens
- Browser Control Presets: Visual switching between
browser.enabled=falseandbrowser.enabled=true + browser.defaultProfile="openclaw"to reduce accidental takeover of the system browser - JSON Mode: Direct editing of full configuration JSON
- Auto-injects
compat.supportsDeveloperRole=falsefor non-OpenAI providers
Multi-Agent Console (v5.1.0+)
- Agent lifecycle management: create / edit / delete / default agent selection
- Bindings editor with structured form + advanced JSON mode
- Channel-aware account routing: reads
channels.<channel>.accounts/defaultAccountand assistsaccountIdselection - Route preview supports
channel/sender/peer/parentPeer/guildId/teamId/accountId/roles - Preview semantics aligned with OpenClaw: bindings without
accountIdonly match the channel default account - Sessions page supports
agent=all, and cron jobs support selectablesessionTarget
Orchestration Monitor
- Global topology graph: React Flow-based DAG visualization of all channels, agents, and routing relationships at a glance
- Three edge types: Channel → Agent bindings, Agent → Agent sub-agent calls, unbound Channel → default Agent fallback
- Click nodes/edges for detail panel: Agent identity/model/tools/sandbox, Channel status/linked agents, Binding match conditions/priority
- Metrics bar: agent count, channel count, binding count, total sessions
- Status cards: per-agent session count, last active time, online status
- dagre auto-layout + manual drag, zoom/pan/minimap support
- Manual refresh rendering, dark mode and i18n (zh-CN / en) support
Skill Center + Plugin Management
- Skills/plugins separated view with search and filter
- One-click enable/disable, real-time scanning of installed skills
Event Log
- Real-time message stream: QQ messages, bot replies, system events
- Filter by source/type, keyword search
- SQLite persistent storage — survives restarts
- External service log ingestion (POST /api/events)
System Management
- Environment detection (OS / CPU / Go / OpenClaw version)
- Config backup & restore (auto-backup before restore)
- Software installation center: one-click install Docker, NapCat, WeChat bot
- Message center: real-time installation task progress
- Identity document editing (IDENTITY.md / USER.md etc.)
- Password change, version update check
AI Assistant
Built-in AI chat assistant floating panel, supports multi-provider/multi-model switching, automatically uses OpenClaw's configured API.
Panel Self-Update
- Uses GitHub Releases for update checks and downloads
- Auto: check → download → SHA256 verify → replace → restart
- Isolated updater process: runs via
systemd-run --scope, survives main process stop - Auto-backup old binary (
.bak), SHA256 integrity check - Supports offline update: upload local binary file
OpenClaw Visual Update
- Click "Go to Update" to open dedicated update page, visually execute
openclaw update - Real-time update steps, progress bar, and command output log
- Auto-detect current version and npm latest version
- Auto-send gateway restart signal after update
Architecture
┌──────────────────────────────────────────────┐
│ ClawPanel (Single Binary) │
│ │
│ ┌───────────┐ ┌────────────┐ ┌─────────┐ │
│ │ Go Backend│ │React Front │ │ SQLite │ │
│ │ (Gin) │←→│ (go:embed) │ │ DB │ │
│ │ :19527 │ │ │ │ │ │
│ └─────┬─────┘ └────────────┘ └─────────┘ │
│ │ │
│ ┌─────┴──────┐ ┌────────────┐ ┌────────┐│
│ │ Process │ │ WebSocket │ │Updater ││
│ │ Manager │ │ Hub │ │ :19528 ││
│ └─────┬──────┘ └──────┬─────┘ └────────┘│
└────────┼────────────────┼────────────────────┘
│ │
┌────┴────┐ ┌──────┴──────┐
│ OpenClaw│ │NapCat/WeChat│
│ Process │ │ Containers │
└─────────┘ └─────────────┘
Tech Stack
| Layer | Technology |
|---|---|
| Backend | Go 1.24+ · Gin · SQLite (modernc.org/sqlite) · gorilla/websocket · golang-jwt |
| Frontend | React 18 · TypeScript · TailwindCSS · Lucide Icons · Vite |
| Deployment | Single binary · go:embed embedded frontend · Cross-platform static build (CGO_ENABLED=0) |
| AI Engine | OpenClaw — supports GPT-4o / Claude / Gemini / DeepSeek etc. |
Quick Start
One command to install — just like BT Panel. Auto-registers system service, auto-start on boot, configures firewall.
Option 1: One-click Install (Recommended)
Linux / macOS
curl -fsSL https://raw.githubusercontent.com/zhaoxinyi02/ClawPanel/main/scripts/install.sh -o install.sh
sudo bash install.sh
Auto-completes: download binary → install to /opt/clawpanel → register system service → auto-start → configure firewall → start.
Windows (PowerShell as Admin)
irm https://raw.githubusercontent.com/zhaoxinyi02/ClawPanel/main/scripts/install.ps1 | iex
Or download ClawPanel-Setup.exe from Releases and run as administrator.
Option 2: Manual Download
Download the binary for your platform from Releases:
# Linux
chmod +x clawpanel-v<version>-linux-amd64 && ./clawpanel-v<version>-linux-amd64
# macOS
chmod +x clawpanel-v<version>-darwin-arm64 && ./clawpanel-v<version>-darwin-arm64
# Windows (double-click or command line)
clawpanel-v<version>-windows-amd64.exe
Visit http://localhost:19527 after startup. Default password: clawpanel.
[!WARNING] Manual run does not register a system service. The service stops when you close the terminal. Use one-click install instead.
Option 3: Build from Source
git clone https://github.com/zhaoxinyi02/ClawPanel.git
cd ClawPanel
make build # Build for current platform
make cross # Cross-compile for all platforms
make installer # Build Windows exe installer
./bin/clawpanel
[!TIP] Requires Go 1.24+ and Node.js 22+. Optional mirror settings:
export GOPROXY=https://goproxy.cn,direct npm config set registry https://registry.npmmirror.com
Local Testing and Coverage
Before submitting changes, it is recommended to run:
go test ./...
go test ./... -coverprofile=local/coverage.out
go tool cover -func=local/coverage.out
For a faster verification pass focused on recent changes, you can start with:
go test ./internal/eventlog ./internal/updater
GitHub Actions Automation
The repository now includes two workflows for testing and release packaging:
CI(.github/workflows/ci.yml)- Trigger:
push/pull_request/ manual dispatch - Runs:
go vet ./...go test -count=1 -shuffle=on ./...(ubuntu/windowsmatrix)go test -race -covermode=atomic -coverprofile=coverage.out ./...- frontend
npm ci + npm run build - backend build with embedded frontend dist (
make backend-only)
- Artifacts:
go-coverage(coverage.out+coverage.txt)frontend-distclawpanel-linux-amd64-cifor quick validation
- Trigger:
Release Build(.github/workflows/release.yml)- Trigger:
pushtagpro-v*(for examplepro-v5.5.1) / manual dispatch - Runs: automatic multi-platform binaries (
linux/darwin/windows) + Windows installerClawPanel-Setup-v{version}.exe - Publish: for tag runs, assets are uploaded to GitHub Releases with
checksums.txt
- Trigger:
Additionally, Dependabot (.github/dependabot.yml) checks GitHub Actions dependency updates weekly.
Example:
git tag pro-v5.5.1
git push origin pro-v5.5.1
Environment Variables
| Variable | Default | Description |
|---|---|---|
CLAWPANEL_PORT |
19527 |
Web server port |
CLAWPANEL_DATA |
./data |
Data directory (config + database) |
OPENCLAW_DIR |
~/.openclaw |
OpenClaw config directory |
OPENCLAW_CONFIG |
- | OpenClaw config file path (auto-derives directory) |
OPENCLAW_APP |
- | OpenClaw app directory (for skill scanning) |
OPENCLAW_WORK |
- | OpenClaw work directory |
CLAWPANEL_SECRET |
random | JWT signing secret |
ADMIN_TOKEN |
clawpanel |
Admin password |
CLAWPANEL_DEBUG |
false |
Debug mode |
Service Management
# systemd (Linux)
systemctl start clawpanel
systemctl stop clawpanel
systemctl restart clawpanel
systemctl status clawpanel
journalctl -u clawpanel -f
# Windows Service
sc start ClawPanel
sc stop ClawPanel
sc query ClawPanel
Cross-platform Support
| Platform | Architecture | Binary |
|---|---|---|
| Linux | x86_64 | clawpanel-v<version>-linux-amd64 |
| Linux | ARM64 | clawpanel-v<version>-linux-arm64 |
| macOS | x86_64 | clawpanel-v<version>-darwin-amd64 |
| macOS | ARM64 (M1/M2/M3) | clawpanel-v<version>-darwin-arm64 |
| Windows | x86_64 | clawpanel-v<version>-windows-amd64.exe |
Changelog
See changelogs/ for full release notes.
v5.0.0 — Full Rewrite (2026-02-22)
- Full rewrite: Backend Node.js → Go (Gin), Frontend React 18 + TailwindCSS
- Single-binary deploy: Static compiled binary with embedded frontend, no Node.js/Docker needed
- Cross-platform: Linux / Windows / macOS (x86_64 / arm64)
- SQLite persistence: Event logs and config stored in SQLite
- WebSocket real-time: Process logs and message events pushed in real-time
- Process manager: Built-in OpenClaw process management
- AI assistant: Built-in multi-model AI chat panel
- Software center: One-click install Docker, NapCat, WeChat bot
- Quick restart: One-click restart OpenClaw / Gateway / ClawPanel / NapCat
- QR code fix: Smart refresh mechanism for expired QR codes
- Activity log: Bot reply messages displayed, persistent storage
- Native installers: Linux/macOS/Windows one-click install + system service registration
v4.x and earlier
- v4.4.0 (2026-02-21) — AI assistant, model compatibility fixes
- v4.3.0 (2026-02-19) — Skills/plugins separation, password change, i18n, native installers
- v4.2.x (2026-02-16~17) — Violet theme, channel display fixes, QQ login fixes
- v4.1.0 (2026-02-14) — 20+ channels, skill center, 6-tab system config
- v4.0.0 (2026-02-13) — ClawPanel brand upgrade
- v3.0.0 (2026-02-10) — QQ + WeChat dual-channel
- v2.0.0 (2026-02-09) — React + TailwindCSS admin panel
- v1.0.0 — Basic admin panel + NapCat Docker integration
Acknowledgments
- OpenClaw — AI assistant engine
- Gin — Go web framework
- NapCat — QQ protocol framework
- modernc.org/sqlite — Pure Go SQLite driver
- Lucide — Icon library
Disclaimer
This project is for learning and research purposes only. Commercial use is strictly prohibited.
- No Commercial Use — Must not be used for any commercial purpose
- Account Risk — Using third-party clients to log in to QQ/WeChat may result in account suspension
- No Reverse Engineering — This project does not perform any reverse engineering
- Use at Your Own Risk — Users assume all risks and legal responsibilities
Please read the full DISCLAIMER.md
License
CC BY-NC-SA 4.0 © 2026 — No Commercial Use
Explore related projects
Loading…