Commit Graph

158 Commits

Author SHA1 Message Date
dongsheng123132
14ec40312b Add GitHub stats (884 Stars, 164 Forks) to hackathon page 2026-03-18 21:45:45 +08:00
dongsheng123132
34350e0259 Add hackathon page for 北纬·龙虾大赛 submission 2026-03-18 21:42:54 +08:00
dongsheng123132
cb8f369907 feat: pre-install remote-help.bat and uninstall.bat in .uclaw/
- remote-help.bat: one-click remote support (downloads remote.ps1 on demand)
- uninstall.bat: one-click uninstall with confirmation prompt
- Both included in install summary output
2026-03-18 20:02:50 +08:00
dongsheng123132
6b7fd7a4df feat: add remote support service page, replace community resources
- New "远程维护服务" page with pricing, one-line commands, WeChat QR
- Replace "社区资源" nav item (redirected traffic to own services)
- Add remote support CTA in "联系我们" page
- Security explanation and FAQ for remote assistance
2026-03-18 19:29:53 +08:00
dongsheng123132
1ce4cd60ff feat: add stable remote support via frp (replaces bore)
- frp server on VPS 101.32.254.221:7000 (auto-start, systemd)
- remote.ps1 (Windows) + remote.sh (Mac/Linux) client scripts
- Auto-reconnect, no rate limits, token-authenticated
- Random port 20000-20099, clear instructions for WeChat sharing
2026-03-18 19:15:54 +08:00
dongsheng123132
165d860383 docs: update guide.html with Windows pre-bundle install flow
- Split install steps into Mac/Linux (npm) and Windows (pre-bundle zip)
- Add Windows troubleshooting FAQ (Node version, download speed, remote help)
- Mention pre-bundle mode in quickstart section
- Add remote-help.ps1 as support option
2026-03-18 19:11:56 +08:00
dongsheng123132
e9f8a01fc3 fix: upgrade Node to v22.16.0 (OpenClaw requires >=22.16.0) and fix config format
- Node v22.14.0 → v22.16.0 in all install scripts
- Config: remove deprecated agent.* format, use minimal gateway-only config
- OpenClaw auto-migrates agent config on first run
2026-03-18 19:03:15 +08:00
dongsheng123132
3b98a7351f feat: add finish.ps1 standalone installer (no interaction, no npm) 2026-03-18 18:53:15 +08:00
dongsheng123132
faad0d7efa feat: replace npm install with pre-bundled zip download
- Bundle openclaw + qqbot as zip on GitHub Releases
- Download via China GitHub mirrors (ghfast, gh-proxy, ghproxy)
- No more npm install = no git dependency, no ENOENT, no pipe issues
- Falls back through multiple mirrors before giving up
2026-03-18 17:56:38 +08:00
dongsheng123132
5f5f802328 fix: use Set-Location instead of --prefix for npm install
--prefix flag is ignored by npm on Windows, causing it to look for
package.json in user home dir instead of core dir. Switch to explicit
Set-Location (cd) to change CWD before running npm install.
2026-03-18 17:45:56 +08:00
dongsheng123132
6d7bd42abe feat: add one-line remote support scripts (Windows + Mac/Linux)
- remote-help.ps1: auto-install SSH + bore tunnel for Windows
- remote-help.sh: auto-enable SSH + bore tunnel for Mac/Linux
- Users run one command, get connection info to send to support
2026-03-18 17:29:16 +08:00
dongsheng123132
6ec0559010 fix: disable ErrorActionPreference Stop around npm calls
PowerShell $ErrorActionPreference="Stop" treats any npm stderr output
(warnings, progress) as a terminating NativeCommandError. Temporarily
switch to "Continue" during npm install and check $LASTEXITCODE instead.
2026-03-18 16:26:16 +08:00
dongsheng123132
18565950ea fix: bypass npm.cmd entirely, use node.exe npm-cli.js for Windows pipe mode
- Replace $INSTALL_NPM (npm.cmd) with $NPM_CLI (npm-cli.js) + $INSTALL_NODE
- Use --prefix instead of Push-Location to avoid CWD issues in irm|iex pipe
- Restore PATH for downloaded Node (npm-cli.js internally needs node in PATH)
- Use [IO.File]::WriteAllText with BOM-free UTF8 for package.json/config/skills
- Add debug output before npm install for easier troubleshooting
2026-03-18 16:21:53 +08:00
dongsheng123132
71d76a4055 fix: Windows npm.cmd cannot be executed by node.exe directly
On Windows, npm.cmd is a batch wrapper, not a JS file. Calling
`node.exe npm.cmd install` causes loader errors. Fix:
- Add downloaded Node dir to PATH so npm.cmd can find node.exe
- Call `npm.cmd install` directly instead of `node.exe npm.cmd install`
- Add error handling for OpenClaw install failure
2026-03-18 16:06:15 +08:00
dongsheng123132
08a913c21c fix: rename "Linux 启动盘" to "万能启动 U 盘(裸机可用)"
The bootable USB works on ANY x86 PC (Windows desktops, Mac Intel,
bare metal), not just Linux machines. Old name was misleading —
users thought it was a Linux-only feature.
2026-03-18 16:03:38 +08:00
dongsheng123132
2538d28d74 refactor: reorganize guide.html sidebar navigation
Old: 10 groups, "快速开始" had 11 items mixing install/config/reference
New: 10 groups with clear separation of concerns:
1. 🚀 快速开始 (2 items: intro + quickstart overview)
2. 📦 安装方式 (6 items: all install methods grouped together)
3. ⚙️ 首次配置 (3 items: post-install setup)
4. 🤖 模型配置 (unchanged)
5. 💬 接入平台 (unchanged)
6. 🎯 技能 (unchanged)
7. 📋 日常使用 (merged "推荐工具" single-item group here)
8. 🔒 进阶部署 (moved env-vars + commands here from FAQ)
9.  常见问题 (trimmed to FAQ + doctor + uninstall)
10. 📖 关于 (renamed from 官方文档, consolidated)
2026-03-18 15:50:08 +08:00
dongsheng123132
bb537f3ce2 feat: add one-line install module (curl | bash / irm | iex)
New install/ module for network-based installation without USB:
- install.sh: Mac/Linux 7-step installer (Node.js + OpenClaw + QQ plugin + 10 CN skills + interactive model config + launcher)
- install.ps1: Windows PowerShell equivalent
- All downloads via npmmirror.com China mirrors
- 10 AI model choices with Chinese interactive menu (default DeepSeek)
- Scripts copied to website/ for Vercel hosting at u-claw.org/install.sh

Updated guide.html with dedicated "一键在线安装" page section and quickstart integration.
2026-03-18 15:39:33 +08:00
dongsheng123132
916138ec10 docs: add bootable Linux module to CLAUDE.md
- Add bootable/ as third distribution form
- Add bootable Linux USB build commands (4-step PowerShell)
- Add bootable/ to architecture diagram with key details
- Add Bootable Linux Key Details section (persistence, mirrors, env vars)
- Note bootable/ independence and u-claw-linux repo sync requirement
2026-03-18 15:09:30 +08:00
hfshfg
d9526c3b19 docs: add persistence.dat initramfs lesson to bootable README
Document the gotcha: unformatted persistence.dat causes Ventoy mount
failure and Ubuntu dropping to initramfs. Added verification method
(ext4 magic number at offset 1080) and troubleshooting entry.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 13:56:57 +08:00
hfshfg
a954f8662d fix: persistence.dat Method B now uses docker-desktop WSL for ext4 formatting
Previously, when no standard WSL distro was available, Method B only created
an empty sparse file without ext4 formatting. This caused Ventoy to fail
mounting persistence.dat on boot, dropping to initramfs.

Now Method B tries docker-desktop WSL (/sbin/mkfs.ext4) before falling back
to raw file. Also added ext4 magic number (0xEF53) verification step.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 13:54:12 +08:00
dongsheng123132
a348ed1232 Rewrite linux.html with tested step-by-step guide
- Complete first-time setup guide (6 steps, all verified on live USB)
- Official install + China mirror install options
- Correct gateway command: `openclaw gateway run --bind lan` (not `start`)
- Use `openclaw dashboard` to open console with auth token
- Fix OpenClaw commands section with tested commands

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 01:35:50 +08:00
dongsheng123132
05aad8acf9 Add Dashboard links and desktop shortcut info to linux.html
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 01:21:57 +08:00
dongsheng123132
fbad06ae22 Add Linux command cheatsheet page (linux.html)
Covers OpenClaw ops, system info, network, files, processes, SSH,
apt, disk, user management, and rescue commands. All with one-click
copy buttons for easy use on Linux without Claude Code.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 01:10:56 +08:00
dongsheng123132
108bd7c770 Add ssh.html quick-copy link to remote control section
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 00:22:39 +08:00
dongsheng123132
8e8a6469a6 Add SSH remote control guide to Linux section in guide.html
Complete step-by-step instructions for enabling SSH on Ubuntu Live USB,
including manual method (3 commands), connecting from another computer,
Claude Code integration tips, and Tailscale for remote access.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 00:18:34 +08:00
dongsheng123132
c602cac0a2 Add SSH setup page for Linux remote control
Simple one-page guide at u-claw.org/ssh.html with copy-paste commands
for enabling SSH on Ubuntu Live USB.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 00:15:08 +08:00
hfshfg
c7ac2e6a7a feat: add quick command reference to guide, SSH support, and handoff doc
- Add copy-paste command reference card to guide.html Linux section
- Add enable-ssh.sh standalone script for remote access on Live USB
- Add optional SSH install prompt to setup-openclaw.sh
- Add HANDOFF.md for Mac mini Claude Code remote takeover

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 21:01:23 +08:00
hfshfg
953d87f59d fix: update Linux bootable to Ubuntu 24.04.4, add format-persistence.sh, rewrite guide
- Update all 24.04.2 references to 24.04.4 (ISO name, URLs, SHA256, docs)
- Add format-persistence.sh to bootable/linux-setup/ (from working E: drive)
- Rewrite website guide.html Linux tutorial: Linux Mint + Rufus → Ventoy + Ubuntu

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 20:08:14 +08:00
dongsheng123132
5813e384af feat: improve Linux bootable USB stability and user experience
- Enhanced Live USB environment detection and support
- Added troubleshooting guide (TROUBLESHOOTING.md)
- Added installation test script (test-installation.sh)
- Improved error handling in PowerShell scripts
- Better network retry logic for downloads
- Enhanced desktop integration for Live environments
- Added detailed improvements summary (IMPROVEMENTS_SUMMARY.md)
- Updated README with troubleshooting links

Key improvements:
1. Auto-detection of Live USB environment (boot=casper)
2. Additional dependency installation for Live environments
3. Network download retry mechanism (3 attempts)
4. Smart browser opening with fallback instructions
5. Comprehensive installation validation script
6. Detailed fault diagnosis and recovery guide
2026-03-16 20:00:14 +08:00
dongsheng123132
a93e9161dd docs: 补充教程内容 — 安装方式、新手模型推荐、故障排除
- 安装指南新增 pnpm 安装、源码构建、常见问题(sharp/PATH/WSL2)
- 模型选择新增新手首次配置推荐表 + 第三方 Key 警告
- 故障排除新增 sharp 修复、PATH 修复、WSL2 建议
- 社区资源新增官方中文安装文档链接

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 18:48:47 +08:00
dongsheng123132
b8ec5902f0 docs: add tutorial link to README
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:03:20 +08:00
dongsheng123132
ba236bbe24 feat: add comprehensive tutorial page with step-by-step guides
New tutorial.html covering:
- Three installation paths (USB, one-click script, manual)
- Complete manual installation from scratch (Node.js, npm mirrors, OpenClaw)
- Per-provider model setup guides (DeepSeek, Kimi, Qwen, OpenRouter)
- Per-platform chat bot tutorials (QQ, Telegram, Feishu, WeChat, Discord)
- Daily usage scenarios, skills system, cron jobs
- Troubleshooting guide, security hardening, VPS deployment
- Command quick reference and config file reference

Designed to complement hello-claw (datawhalechina) by filling gaps:
beginner-friendly manual install, detailed per-platform setup, and
portable USB-specific guidance.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 16:22:38 +08:00
dongsheng123132
83996e42db feat: enhance Windows scripts to match Mac feature parity
Windows-Start.bat:
- Fix duplicate browser tab opening (was opening 3 tabs)
- Read gateway token from config instead of hardcoding
- Add config sync from legacy location
- Use delayed browser open for gateway startup time

Windows-Menu.bat:
- Fix Node version display bug (double %% issue)
- System info: add Windows version, architecture, memory, disk size
- Check updates: auto-fetch latest version from npmmirror, one-click upgrade
- Disk cleanup: show directory sizes, clean old backups/logs/npm cache
- Log management: add export to desktop, clean logs older than 7 days
- Restore backup: numbered list selection instead of typing folder name
- Kill processes: add confirmation prompt before killing
- Chat platforms: individual setup guidance per platform

Windows-Install.bat:
- Add Node.js online download fallback (was exit-only when missing)
- Add system Node.js version check (require v20+)
- Generated start.bat now has port detection loop
- Show install size on completion

Windows-Diagnose.bat:
- Add system info logging (Windows version, architecture)
- Add config file and model configuration check
- Expand port scan to full 18789-18799 range
- Show OpenClaw version in test output

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 15:51:54 +08:00
dongsheng123132
1159073c5f feat: add partner recruitment section to README and guide
Add bilingual "Looking for Partners" section in README (Chinese + English)
and a new "合作招募" page in guide.html sidebar, plus a recruitment card
in the existing "联系我们" contact page.
2026-03-14 20:57:32 +08:00
hfshfg
b9f37e1e1b feat: add bootable Linux USB module (independent within repo)
Add bootable/ directory with complete toolkit to create a bootable
Ubuntu USB drive with OpenClaw AI:
- 4-step PowerShell scripts for USB preparation on Windows
- Ventoy 1.0.99 boot manager with casper-rw persistence
- Self-contained Linux setup and startup scripts
- Detailed README with architecture, usage guide, and troubleshooting

bootable/ is fully independent - does not reference any files from
portable/, u-claw-app/, or website/. Also maintained as standalone
repo at u-claw-linux for convenience.

Update main README to reference both bootable/ and u-claw-linux repo.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 18:35:41 +08:00
hfshfg
44b1afa177 Merge branch 'main' of https://github.com/dongsheng123132/u-claw 2026-03-14 18:28:55 +08:00
hfshfg
16778dd104 docs: add Linux bootable USB as separate repo (u-claw-linux)
- Add links to u-claw-linux repo in README (both CN and EN sections)
- Add Linux x64 to platform support table
- Update CLAUDE.md platform status
- Move bootable/ to .gitignore (now independent repo)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 18:28:32 +08:00
dongsheng123132
c284a604c0 fix: add migration shim to Menu and Diagnose scripts
Mac-Menu, Mac-Diagnose, and Windows-Diagnose were missing the
core-mac/core-win → core migration shim, causing them to fail
on existing USB drives that still have the old directory name.
2026-03-14 17:37:00 +08:00
dongsheng123132
9cb2f258c4 docs: remove Linux portable refs from guide.html
Keep Linux live USB page as reference tutorial.
Remove Linux script names, directory entries, and install steps
from all other pages (quickstart, USB run, install, maintain, FAQ).
2026-03-14 00:12:55 +08:00
dongsheng123132
4fcd22d4e3 cleanup: remove Linux scripts, unify core dir, fix Intel Mac bug
- Delete usb-scripts/, Linux-*.sh, setup-linux-usb.sh, migrate.js
- Rename core-mac/core-win → core (with migration shims for existing USBs)
- Fix Mac-Menu.command ARM64 hardcode — now detects Intel/Apple Silicon
- setup.sh: remove Linux branch, Windows download only with --all-platforms
- Update README.md and CLAUDE.md to reflect Mac + Windows only
2026-03-14 00:08:56 +08:00
dongsheng123132
aa14c8528e feat: add recommended AI tools page to guide.html 2026-03-13 21:42:01 +08:00
dongsheng123132
e4c8e7550a feat: add Intel Mac (x64) support in Mac-Start.command
Co-authored-by: Zhangchen <2hangchen@users.noreply.github.com>
Closes #6
2026-03-13 19:02:11 +08:00
dongsheng123132
7766d59e55 merge: resolve conflict in Windows-Start.bat, add Linux scripts and maintain lib 2026-03-13 17:35:55 +08:00
dongsheng123132
c0dbe3bc41 docs: add 维护与卸载 section to guide.html
Add comprehensive maintenance & uninstall guide covering menu options 9-15:
kill processes, view logs, factory reset, full uninstall (USB/Electron/npm),
check updates, clean space, plugin management. Update FAQ with uninstall
and improved update answers.
2026-03-13 17:35:27 +08:00
hfshfg
8ae4d87e4f feat: add independent config server to replace Config.html
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
2026-03-12 20:26:15 +08:00
hfshfg
874e2445f8 Improve Windows startup and diagnostics
- 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>
2026-03-12 19:29:27 +08:00
hfshfg
25bc0076b0 fix: Windows support & cross-platform architecture
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>
2026-03-12 18:50:55 +08:00
hfshfg
11220537a0 fix: correct Windows batch file syntax and config path consistency
Fixed critical Windows-specific bugs in portable USB scripts:
- Replaced Unix /dev/null with Windows nul in all batch files
- Unified config file path to use .openclaw/openclaw.json consistently
- Windows-Start.bat now uses same config structure as Windows-Menu.bat

Files modified:
- portable/Windows-Start.bat: Fix /dev/null syntax, unify config path
- portable/Windows-Menu.bat: Fix multiple /dev/null occurrences
- usb-scripts/Windows-Install.bat: Fix /dev/null syntax

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-12 17:50:20 +08:00
dongsheng123132
920fc06679 feat: add 10 China-optimized skills, auto-install via setup.sh
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.
2026-03-12 15:48:17 +08:00
dongsheng123132
fe17abf2e9 docs: update CLAUDE.md with correct mental model — repo IS the USB content 2026-03-12 15:33:26 +08:00