Replaces the problematic file:// protocol Config.html with a stable
Node.js HTTP server following industry standard patterns (n8n, Langflow).
Changes:
- Add portable/config-server/ with REST API (GET/POST /api/config)
- Add simplified Chinese/English web UI for AI model and QQ Bot config
- Update Windows-Start.bat to launch both services simultaneously
- Config Center on port 18788
- OpenClaw Gateway on port 18789
- Remove Config.html file:// protocol issues
- Use zero-dependency pure Node.js standard library
Benefits:
- No file:// CORS or WebSocket issues
- Industry-standard localhost HTTP pattern
- Simplified configuration interface for Chinese users
- Unified startup experience
🤖 Generated with Claude Code
- Windows-Start.bat: Always open dashboard instead of Config.html
The dashboard can guide first-time setup, avoiding file:// protocol issues
- Windows-Diagnose.bat: Add Chinese output for better user experience
Error counting and friendly suggestions included
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Major fixes for Windows portable version:
1. **Fixed critical bugs:**
- Replace Unix /dev/null with Windows nul in all .bat files
- Unified config path to data/.openclaw/openclaw.json
- Fixed cross-platform node_modules compatibility issue
2. **Implemented separated core directories:**
- app/core-mac/ for Mac dependencies
- app/core-win/ for Windows dependencies
- Prevents cross-platform file system conflicts
- Shared data/ directory for configs and memory
3. **Enhanced setup.sh:**
- Now downloads both Mac and Windows Node.js runtimes
- Ensures U-Claw works on both platforms after setup
4. **Added diagnostic tools:**
- Windows-Diagnose.bat for troubleshooting
- Mac-Diagnose.command for troubleshooting
- Auto-generates diagnostic-log.txt
5. **Improved user experience:**
- Added Welcome.html - Simple 3-step guide in Chinese
- All scripts updated to use platform-specific core directories
- Better error messages and user guidance
Files modified:
- portable/Windows-Start.bat: Use core-win, fix syntax
- portable/Windows-Menu.bat: Use core-win, fix syntax
- portable/Mac-Start.command: Use core-mac
- portable/Mac-Menu.command: Use core-mac
- portable/setup.sh: Download both platforms, use core-mac
Files added:
- portable/Windows-Diagnose.bat: Diagnostic tool
- portable/Mac-Diagnose.command: Diagnostic tool
- portable/Welcome.html: User-friendly welcome page
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Skills (40KB total, in portable/skills-cn/):
- deepseek-helper: DeepSeek API usage and model selection
- china-weather: Chinese city weather via wttr.in
- xiaohongshu-writer: 小红书爆款笔记写作
- wechat-article: 微信公众号文章写作
- douyin-script: 抖音/快手短视频脚本
- bilibili-helper: B站内容优化
- china-search: 百度/搜狗/Bing国内搜索
- zhihu-writer: 知乎回答写作
- weibo-poster: 微博内容创作
- china-translate: 中英互译+本地化
setup.sh auto-copies skills-cn/ into OpenClaw skills directory.
No external dependency on ClawHub for these skills.
- build-usb.sh: one-click USB drive builder (downloads Node.js + OpenClaw
from China mirrors, packages into USB-ready directory)
- Mac-Install.command: install from USB to Mac (~/.uclaw/), offline-first
with China mirror fallback
- Windows-Install.bat: same for Windows
- README.md rewritten to position project as "USB drive builder toolkit"
- Add "开发者搭建指南" page with full clone-to-run instructions
- Add "国内镜像源" page with npm/Node.js/Electron/Git mirrors
- Update quickstart to show 3 ways: USB, desktop app, developer build
- Update USB run page with actual file names (Mac-Start.command etc)
- Update install-pc page with setup.sh one-click workflow
- Add portable vs desktop comparison table
- setup.sh: auto-downloads Node.js + npm deps + runtime from China mirrors
- setup.bat: same for Windows, guides to install Node.js if missing
- Both set Electron mirror to npmmirror.com for China users
- Updated README with new setup instructions
- openclaw.mjs is at node_modules/openclaw/openclaw.mjs, not core root
- Remove npm run build (openclaw doesn't need a build step via npm)
- Fix both Mac-Start.command and Mac-Menu.command
- CLAUDE.md: architecture, dev setup, branding rules for AI agents
- llms.txt: update version to 2.0, fix platform support, add developer
quick start, env vars, config format, correct script names
- Replace all openclaw-cn commands with openclaw (official)
- Remove OpenClaw-CN community fork links (jiulingyun)
- Remove clawd.org.cn, skillhub.tencent.com references
- Remove clawdbot-ai/awesome-openclaw-skills-zh links
- Update guide.html, llms.txt, skills.html, SkillHub.html, tutorial
- All links now point to U-Claw (u-claw.org) or OpenClaw official
- Simplify menus from 17 to 8 options (config, dashboard, QQ, platforms, diagnostics, backup, restore, sysinfo)
- Pre-install QQ bot plugin (@sliverp/qqbot) - users only need AppID + Secret
- Install scripts now extract next to themselves (works on USB or computer)
- Rename all scripts to English (Mac-Install, Windows-Install, Mac-Start, etc.)
- Add README.txt for USB drive with bilingual instructions
- Rewrite README.md to match current v1.1 structure
- Remove old Chinese-named scripts, build script, test files, QR images
- Add Toolkit/ and U-Claw-CN/ to .gitignore
- Add U-Claw.html navigation page with OS auto-detection and live status
- Rename scripts: start → Mac-Start/Windows-Start, menu → Mac-Menu/Windows-Menu
- Update installer scripts to reference new v2 directory structure (app/core)
- Update .gitignore to exclude build artifacts and marketing assets
- Single package for Mac ARM64 + Windows x64
- start.command/bat = quick launch (gateway + browser)
- menu.command/bat = full 13-option menu:
config wizard, QQ Bot, Feishu, skills, diagnostics,
backup/restore, reset, China mirror, system info
- app/data/system separation for safe upgrades
- Windows bat files: UTF-8 BOM + CRLF + English text to avoid garbled Chinese in cmd.exe
- macOS scripts: xattr -rd com.apple.quarantine to fix "unverified developer" popup
- New install scripts: Mac-安装并启动.command, Windows-安装并启动.bat
(extract tar.gz to local disk then launch)
- Add JSON-LD structured data for AI crawlers and search engines
- Add llms.txt for AI agent discovery (product info, commands, skills)
- Add WeChat ID (hecare888) to contact section in help doc
- Add canonical URL and robots meta
- Add guide.html: full help documentation with sidebar navigation
(快速开始/接入平台/模型配置/技能/常见问题/官方文档)
includes 39 curated Chinese skills, embedded WeChat QR for offline use
- Add skills.html: skills marketplace page with search, category filter,
and one-click install commands for 6 Chinese social platforms
- Update index.html: add guide entry button in hero and footer
Rename scripts with -Windows/-Mac/-Linux suffix so users can easily
identify which file to double-click on the USB drive.
Add tests/test-scripts.sh with 93 checks covering:
- File existence, bash syntax, portable mode, gateway run, security
- Cross-platform consistency between .bat and .command versions
Old approach wrote .env which OpenClaw ignores. Now writes directly
to portable-home agent config files and sets default model via
openclaw config set.
Gateway run doesn't open browser by itself. Now scripts wait for
port 18789 to be ready, read auth token from config, and open the
dashboard URL in the default browser automatically.
- Config/state/memory now saved to USB drive (portable-home/)
- Remove pnpm dependency, use npm directly
- Add spinner animation for long copy operations
- Use tar instead of cp -R to avoid macOS resource fork issues
- Add dashboard menu option [17]
- Add safety warnings for shared/temporary computers
- Simplify docs: remove Linux support, outdated pricing info
- Add ~/.local/bin symlinks (no sudo needed)