Skip to content

dongsheng123132/u-claw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

213 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿฆž U-Claw๏ผˆ่™พ็›˜๏ผ‰

่™พ็›˜ โ€” ๅ…จ็ƒ้ฆ–ไธช U ็›˜้‡Œ่ฟ่กŒ็š„ AI ๅŠฉๆ‰‹ | The world's first AI assistant that runs from a USB drive ๅˆถไฝœใ€Œๆ’ไธŠๅฐฑ่ƒฝ็”จใ€็š„ AI ๅŠฉๆ‰‹ U ็›˜ โ€” ๆ•™็จ‹ไธŽๆบไปฃ็  Build a plug-and-play AI assistant USB drive โ€” Tutorial & Source Code

License: MIT

ไธญๆ–‡ | English | ๐Ÿ“– ๅฎŒๆ•ดๆ•™็จ‹


ไธญๆ–‡

่ฟ™ๆ˜ฏไป€ไนˆ

U-Claw๏ผˆ่™พ็›˜๏ผ‰ๆ˜ฏไธ€ไธชๅˆถไฝœๆ•™็จ‹ + ๅ…จๅฅ—ๆบไปฃ็ ๏ผŒๆ•™ไฝ ๆŠŠ OpenClaw๏ผˆๅผ€ๆบ AI ๅŠฉๆ‰‹ๆก†ๆžถ๏ผ‰ๅšๆˆ U ็›˜โ€”โ€”ๆ’ไธŠไปปๆ„็”ต่„‘๏ผŒๅŒๅ‡ปๅฐฑ่ƒฝ็”จ AIใ€‚ไธบไป€ไนˆๅซ่™พ็›˜๏ผŸU-Claw = USB + Claw๏ผˆ่™พ้’ณ๏ผ‰๏ผŒU ็›˜ + AI = ่™พ็›˜ใ€‚

ไปฃ็ ๅบ“ๆœฌ่บซๅฐฑๆ˜ฏ U ็›˜็š„ๆ–‡ไปถ้ชจๆžถ๏ผŒ่ฟ่กŒ setup.sh ่กฅ้ฝๅคงไพ่ต–ๅŽ๏ผŒๆ•ดไธช portable/ ็›ฎๅฝ•็›ดๆŽฅๆ‹ท่ดๅˆฐ U ็›˜ๅณๅฏใ€‚

๐Ÿ“– ๅฎŒๆ•ดๆ•™็จ‹ โ€” ไปŽ้›ถๅผ€ๅง‹็š„ๆ‰‹ๅทฅๅฎ‰่ฃ…ๆŒ‡ๅ—ใ€ๆจกๅž‹้…็ฝฎใ€่ŠๅคฉๅนณๅฐๆŽฅๅ…ฅ๏ผŒๅฐ็™ฝไนŸ่ƒฝ็œ‹ๆ‡‚ใ€‚

ไธ€้”ฎๅฎ‰่ฃ…๏ผˆๆŽจ่๏ผ‰

ไธ้œ€่ฆ U ็›˜๏ผŒไธ€่กŒๅ‘ฝไปค็›ดๆŽฅ่ฃ…ๅˆฐ็”ต่„‘๏ผš

# Mac / Linux
curl -fsSL https://u-claw.org/install.sh | bash

# Windows (PowerShell ็ฎก็†ๅ‘˜)
irm https://u-claw.org/install.ps1 | iex

่‡ชๅŠจๅฎŒๆˆ: Node.js ไธ‹่ฝฝ โ†’ OpenClaw ๅฎ‰่ฃ… โ†’ 10 ไธชไธญๅ›ฝๆŠ€่ƒฝ โ†’ ๆจกๅž‹้…็ฝฎ โ†’ ๅฏๅŠจ่„šๆœฌ็”Ÿๆˆใ€‚ๅ…จ็จ‹ๅ›ฝๅ†…้•œๅƒ๏ผŒๆ— ้œ€็ฟปๅข™ใ€‚

่ฏฆ่ง install/README.mdใ€‚

ๅฟซ้€Ÿๅผ€ๅง‹๏ผšๅˆถไฝœไพฟๆบ็‰ˆ U ็›˜

# 1. ๅ…‹้š†ไปฃ็ 
git clone https://github.com/dongsheng123132/u-claw.git

# 2. ่กฅ้ฝๅคงไพ่ต–๏ผˆNode.js + OpenClaw๏ผŒๅ›ฝๅ†…้•œๅƒ๏ผŒ็บฆ 1 ๅˆ†้’Ÿ๏ผ‰
cd u-claw/portable && bash setup.sh

# 3. ๆ‹ท่ดๅˆฐ U ็›˜
cp -R portable/ /Volumes/ไฝ ็š„U็›˜/U-Claw/   # Mac
# ๆˆ– Windows ่ต„ๆบ็ฎก็†ๅ™จ็›ดๆŽฅๆ‹–่ฟ‡ๅŽป

ๅฎŒๆˆ๏ผ ๆ’ไธŠ U ็›˜๏ผŒๅŒๅ‡ปๅฏๅŠจ่„šๆœฌๅฐฑ่ƒฝ็”จใ€‚

U ็›˜ๅŠŸ่ƒฝไธ€่งˆ

ๅŠŸ่ƒฝ Mac Windows
ๅ…ๅฎ‰่ฃ…่ฟ่กŒ Mac-Start.command Windows-Start.bat
ๅŠŸ่ƒฝ่œๅ• Mac-Menu.command Windows-Menu.bat
ๅฎ‰่ฃ…ๅˆฐ็”ต่„‘ Mac-Install.command Windows-Install.bat
้ฆ–ๆฌก้…็ฝฎ Config.html Config.html

U ็›˜ๆ–‡ไปถ็ป“ๆž„

U-Claw/                          โ† ๆ•ดไธชๆ‹ทๅˆฐ U ็›˜
โ”œโ”€โ”€ Mac-Start.command             Mac ๅ…ๅฎ‰่ฃ…่ฟ่กŒ
โ”œโ”€โ”€ Mac-Menu.command              Mac ๅŠŸ่ƒฝ่œๅ•
โ”œโ”€โ”€ Mac-Install.command           ๅฎ‰่ฃ…ๅˆฐ Mac
โ”œโ”€โ”€ Windows-Start.bat             Windows ๅ…ๅฎ‰่ฃ…่ฟ่กŒ
โ”œโ”€โ”€ Windows-Menu.bat              Windows ๅŠŸ่ƒฝ่œๅ•
โ”œโ”€โ”€ Windows-Install.bat           ๅฎ‰่ฃ…ๅˆฐ Windows
โ”œโ”€โ”€ Config.html                   ้ฆ–ๆฌก้…็ฝฎ้กต้ข
โ”œโ”€โ”€ setup.sh                      ่กฅ้ฝไพ่ต–๏ผˆๅผ€ๅ‘่€…็”จ๏ผ‰
โ”œโ”€โ”€ app/                          โ† ๅคงไพ่ต–๏ผˆsetup.sh ไธ‹่ฝฝ๏ผŒไธ่ฟ› git๏ผ‰
โ”‚   โ”œโ”€โ”€ core/                        OpenClaw + QQ ๆ’ไปถ
โ”‚   โ””โ”€โ”€ runtime/
โ”‚       โ”œโ”€โ”€ node-mac-arm64/          Mac Apple Silicon
โ”‚       โ”œโ”€โ”€ node-mac-x64/           Mac Intel
โ”‚       โ””โ”€โ”€ node-win-x64/           Windows 64-bit
โ””โ”€โ”€ data/                         โ† ็”จๆˆทๆ•ฐๆฎ๏ผˆไธ่ฟ› git๏ผ‰
    โ”œโ”€โ”€ .openclaw/                   ้…็ฝฎๆ–‡ไปถ
    โ”œโ”€โ”€ memory/                      AI ่ฎฐๅฟ†
    โ””โ”€โ”€ backups/                     ๅค‡ไปฝ

Linux ๅฏๅฏๅŠจ็‰ˆ

่ฟžๆ“ไฝœ็ณป็ปŸ้ƒฝๆฒกๆœ‰๏ผŸๆฒกๅ…ณ็ณปใ€‚ๅฏๅฏๅŠจ็‰ˆๅฏไปฅ่ฎฉไปปๆ„็”ต่„‘ไปŽ U ็›˜็›ดๆŽฅๅฏๅŠจ Ubuntu + AI๏ผš

  • ๆœฌไป“ๅบ“ๅ†…๏ผšbootable/ ็›ฎๅฝ•๏ผˆไธŽๅ…ถไป–ๆจกๅ—ๅฎŒๅ…จ็‹ฌ็ซ‹๏ผŒไบ’ไธๅฝฑๅ“๏ผ‰
  • ็‹ฌ็ซ‹ไป“ๅบ“๏ผšu-claw-linux๏ผˆๅ†…ๅฎนไธ€่‡ด๏ผŒๆ–นไพฟๅ•็‹ฌๅ…‹้š†๏ผ‰

ๅŸบไบŽ Ventoy + Ubuntu 24.04 LTS + ๆŒไน…ๅŒ–ๅญ˜ๅ‚จ๏ผŒๅœจ Windows ไธŠ่ฟ่กŒ 4 ๆญฅ PowerShell ่„šๆœฌๅณๅฏๅˆถไฝœใ€‚่ฏฆ่ง bootable/README.mdใ€‚

ๆกŒ้ขๅฎ‰่ฃ…็‰ˆ๏ผˆElectron App๏ผ‰

้™คไบ† U ็›˜ไพฟๆบ็‰ˆ๏ผŒ่ฟ˜ๆœ‰ๆกŒ้ข App ็‰ˆๆœฌ๏ผš

cd u-claw-app
bash setup.sh            # ไธ€้”ฎๅฎ‰่ฃ…ๅผ€ๅ‘็Žฏๅขƒ๏ผˆๅ›ฝๅ†…้•œๅƒ๏ผ‰
npm run dev              # ๅผ€ๅ‘ๆจกๅผ่ฟ่กŒ
npm run build:mac-arm64  # ๆ‰“ๅŒ… โ†’ release/*.dmg
npm run build:win        # ๆ‰“ๅŒ… โ†’ release/*.exe

ๆ”ฏๆŒ็š„ AI ๆจกๅž‹

ๅ›ฝไบงๆจกๅž‹๏ผˆๆ— ้œ€็ฟปๅข™๏ผ‰๏ผš

ๆจกๅž‹ ๆŽจ่ๅœบๆ™ฏ
DeepSeek ็ผ–็จ‹้ฆ–้€‰๏ผŒๆžไพฟๅฎœ
Kimi K2.5 ้•ฟๆ–‡ๆกฃ๏ผŒ256K ไธŠไธ‹ๆ–‡
้€šไน‰ๅƒ้—ฎ Qwen ๅ…่ดน้ขๅบฆๅคง
ๆ™บ่ฐฑ GLM ๅญฆๆœฏๅœบๆ™ฏ
MiniMax ่ฏญ้Ÿณๅคšๆจกๆ€
่ฑ†ๅŒ… Doubao ็ซๅฑฑๅผ•ๆ“Ž

ๅ›ฝ้™…ๆจกๅž‹๏ผš Claude ยท GPT ยท Gemini๏ผˆ้œ€็ฟปๅข™ๆˆ–ไธญ่ฝฌ๏ผ‰

ๆ”ฏๆŒ็š„่Šๅคฉๅนณๅฐ

ๅนณๅฐ ็Šถๆ€ ่ฏดๆ˜Ž
QQ โœ… ๅทฒ้ข„่ฃ… ่พ“ๅ…ฅ AppID + Secret ๅณๅฏ
้ฃžไนฆ โœ… ๅ†…็ฝฎ ไผไธš้ฆ–้€‰
Telegram โœ… ๅ†…็ฝฎ ๆตทๅค–ๆŽจ่
WhatsApp โœ… ๅ†…็ฝฎ Baileys ๅ่ฎฎ
Discord โœ… ๅ†…็ฝฎ โ€”
ๅพฎไฟก โœ… ็คพๅŒบๆ’ไปถ iPad ๅ่ฎฎ

ๅ›ฝๅ†…้•œๅƒ

ๆ‰€ๆœ‰่„šๆœฌ้ป˜่ฎค่ตฐๅ›ฝๅ†…้•œๅƒ๏ผŒๆ— ้œ€็ฟปๅข™๏ผš

่ต„ๆบ ้•œๅƒ
npm ๅŒ… registry.npmmirror.com
Node.js npmmirror.com/mirrors/node
Electron npmmirror.com/mirrors/electron

ๅผ€ๅ‘ & ่ดก็Œฎ

git clone https://github.com/dongsheng123132/u-claw.git
cd u-claw/portable && bash setup.sh
bash Mac-Start.command   # Mac ๆต‹่ฏ•

ๅนณๅฐๆ”ฏๆŒ๏ผš

ๅนณๅฐ ็Šถๆ€ ่ฏดๆ˜Ž
Mac Apple Silicon (M1-M4) โœ… ไพฟๆบ็‰ˆ + ๆกŒ้ข็‰ˆ
Mac Intel (x64) โœ… ไพฟๆบ็‰ˆ + ๆกŒ้ข็‰ˆ
Windows x64 ๐Ÿšง ๅผ€ๅ‘ไธญ ไพฟๆบ็‰ˆ + ๆกŒ้ข็‰ˆ
Linux x64๏ผˆๅฏๅฏๅŠจ U ็›˜๏ผ‰ โœ… bootable/ ็›ฎๅฝ•

ๆฌข่ฟŽ PR๏ผ็‰นๅˆซ้œ€่ฆ๏ผšWindows ่„šๆœฌๅฎŒๅ–„ใ€ๆ•™็จ‹็ฟป่ฏ‘ใ€‚

๐Ÿฆž ๅฏปๆ‰พๆŠ€ๆœฏไผ™ไผด

U-Claw ๆ˜ฏไธ€ไธชๅฟซ้€Ÿๆˆ้•ฟ็š„ๅผ€ๆบ้กน็›ฎ๏ผŒ็›ฎๅ‰ๅทฒๆœ‰ไธๅฐ‘ๅ•†ไธšๅˆไฝœๆœบไผšใ€‚

ๆˆ‘ไปฌๆญฃๅœจๅฏปๆ‰พ๏ผš

  • ๆŠ€ๆœฏไผ™ไผด โ€” ๅ…จๆ ˆ / Node.js / Electron / ่„šๆœฌ่‡ชๅŠจๅŒ–
  • ่ต„ๆบๅˆไฝœ โ€” ๆธ ้“ใ€ๅ†…ๅฎนใ€็คพๅŒบ่ฟ่ฅ

ๅฆ‚ๆžœไฝ ๅฏน AI ๅทฅๅ…ท็š„่ฝๅœฐๅ’Œๅ•†ไธšๅŒ–ๆ„Ÿๅ…ด่ถฃ๏ผŒๆฌข่ฟŽ่”็ณป๏ผš

FAQ

Q: ้œ€่ฆ็ฟปๅข™ๅ—๏ผŸ ไธ้œ€่ฆใ€‚ๅฎ‰่ฃ…ๅ’Œ่ฟ่กŒๅ…จ็จ‹ไฝฟ็”จๅ›ฝๅ†…้•œๅƒ๏ผŒๅ›ฝไบงๆจกๅž‹ API ็›ด่ฟžใ€‚

Q: U ็›˜้œ€่ฆๅคšๅคง๏ผŸ 4GB+๏ผˆๅฎŒๆ•ด็บฆ 2.3GB๏ผ‰ใ€‚

Q: ่ƒฝๅˆ†ๅ‘ๅ—๏ผŸ MIT ๅ่ฎฎ๏ผŒ้šไพฟๅคๅˆถๅˆ†ๅ‘ใ€‚

Q: Mac ๆ็คบ"ๆœช้ชŒ่ฏ็š„ๅผ€ๅ‘่€…"๏ผŸ ๅณ้”ฎ่„šๆœฌ โ†’ ๆ‰“ๅผ€ใ€‚

Q: setup.bat / setup.sh ๆ‰ง่กŒๅคฑ่ดฅ๏ผŒๆ็คบๆจกๅ—ๆ‰พไธๅˆฐ๏ผŸ ้€šๅธธๆ˜ฏ npm install ่ฟ‡็จ‹ไธญ็ฝ‘็ปœไธญๆ–ญๅฏผ่‡ด node_modules ไธๅฎŒๆ•ดใ€‚่งฃๅ†ณๆญฅ้ชค๏ผš

  1. ๅˆ ้™คไธๅฎŒๆ•ด็š„ไพ่ต–๏ผšrmdir /s /q portable\app\core\node_modules๏ผˆWindows๏ผ‰ๆˆ– rm -rf portable/app/core/node_modules๏ผˆMac๏ผ‰
  2. ๅˆ‡ๆขๆท˜ๅฎ้•œๅƒ้‡ๆ–ฐๅฎ‰่ฃ…๏ผšcd portable/app/core && npm install --registry=https://registry.npmmirror.com

Q: ็ณป็ปŸๅทฒๆœ‰ Node.js v24๏ผŒๅฎ‰่ฃ…ๅคฑ่ดฅ๏ผŸ Node.js v24 ๆ˜ฏๆœ€ๆ–ฐๅผ€ๅ‘็‰ˆ๏ผŒ้ƒจๅˆ†ไพ่ต–ๅฐšไธๅ…ผๅฎนใ€‚้œ€่ฆ v20 ๆˆ– v22 LTSใ€‚ๅˆ ้™คๅทฒไธ‹่ฝฝ็š„ runtime ็›ฎๅฝ•ๅŽ้‡ๆ–ฐ่ฟ่กŒ setup๏ผŒๅฎƒไผš่‡ชๅŠจไธ‹่ฝฝๅ†…็ฝฎ็š„ Node v22๏ผš

# Windows
rmdir /s /q portable\app\runtime\node-win-x64
setup.bat

# Mac
rm -rf portable/app/runtime/node-mac-arm64
bash setup.sh

Q: Mac ไธŠๆ็คบ .toSorted is not a function๏ผŸ ็ณป็ปŸๆ—ง็‰ˆ Node.js ่ขซๆฃ€ๆต‹ๅˆฐๅนถ่ทณ่ฟ‡ไบ†ๅ†…็ฝฎ็‰ˆๆœฌไธ‹่ฝฝ๏ผŒไฝ†ๆ—ง็‰ˆ Node ไธๆ”ฏๆŒ .toSorted()๏ผˆ้œ€่ฆ v20+๏ผ‰ใ€‚ๅˆ ้™ค runtime ็›ฎๅฝ•่ฎฉ่„šๆœฌ้‡ๆ–ฐไธ‹่ฝฝๅ†…็ฝฎ Node v22๏ผš

rm -rf portable/app/runtime/node-mac-arm64
bash setup.sh

Q: ๅฆ‚ไฝ•ๅŒๆ—ถ้…็ฝฎๅคšไธช AI ๆจกๅž‹ๅนถๅˆ‡ๆข๏ผŸ ๆ”ฏๆŒๅŒๆ—ถ้…็ฝฎๅคšไธช provider๏ผๆ‰“ๅผ€ Config.html โ†’ ๅœจ Providers ๅŒบๅŸŸ็‚นๅ‡ปใ€ŒๆทปๅŠ ใ€๏ผŒ้€ไธชๅกซๅ…ฅๅ„ๆจกๅž‹็š„ API Key ๅ’Œๅœฐๅ€๏ผˆๅฆ‚ DeepSeekใ€Kimiใ€้€šไน‰็ญ‰๏ผ‰โ†’ ไฟๅญ˜ๅŽ๏ผŒๅœจ่Šๅคฉ็•Œ้ขๅทฆไธŠ่ง’ไธ‹ๆ‹‰่œๅ•้šๆ—ถๅˆ‡ๆขใ€‚้…็ฝฎๆŒไน…ไฟๅญ˜ๅœจ U ็›˜ไธŠใ€‚

Q: U ็›˜ๅฎ‰่ฃ…ๅŽๆ— ๆณ•ๅˆ›ๅปบๆ–‡ไปถ / ๅ†™ๅ…ฅๅคฑ่ดฅ๏ผŸ ไธค็งๅฏ่ƒฝ๏ผšโ‘  U ็›˜ไพง้ขๆœ‰็‰ฉ็†ๅ†™ไฟๆŠคๅผ€ๅ…ณ๏ผŒๆ‹จๅˆฐ่งฃ้”ไฝ็ฝฎ๏ผ›โ‘ก U ็›˜ๆ ผๅผไธๅ…ผๅฎน๏ผŒๅปบ่ฎฎๆ ผๅผๅŒ–ไธบ exFAT๏ผˆMac/Windows/Linux ไธ‰็ซฏๅ‡ๆ”ฏๆŒ่ฏปๅ†™๏ผ‰ใ€‚

Q: ไปŽ Ubuntu ๅ‘ U ็›˜ๅคๅˆถๆ—ถ็ฌฆๅท้“พๆŽฅไธขๅคฑ๏ผŸ node_modules/.bin/ ไธ‹ๆœ‰ๅคง้‡็ฌฆๅท้“พๆŽฅ๏ผŒFAT32/exFAT ๅœจ็›ดๆŽฅ cp -R ๆ—ถไผš่ทณ่ฟ‡ใ€‚็”จ rsync -aL ๅฏๅฐ†็ฌฆๅท้“พๆŽฅๅฑ•ๅผ€ไธบ็œŸๅฎžๆ–‡ไปถ๏ผš

rsync -aL --progress portable/ /media/YOUR_USB/U-Claw/

Q: QQbot ๆŠฅ้”™ Unknown channel: qqbot๏ผŸ Bundle ้‡Œ็š„ @sliverp/qqbot ๆ˜ฏๆœช็ผ–่ฏ‘็š„ TypeScript ๆบ็ ๏ผŒ้œ€่ฆๅ…ˆ็ผ–่ฏ‘๏ผš

cd portable/app/core/node_modules/@sliverp/qqbot
npm install && npm run build

ๆญฃๅผ Release ๅŒ…ๅทฒไฟฎๅคๆญค้—ฎ้ข˜๏ผŒๅปบ่ฎฎไปŽ Releases ไธ‹่ฝฝๆœ€ๆ–ฐ็‰ˆใ€‚

่”็ณป & ๅˆไฝœ

ๅพฎไฟกไบŒ็ปด็  โ€” ่ดบๅŽป็—… ai ๅทฅไฝœๅฎค

๐Ÿค ๆ‹›ๅ‹Ÿไปฃ็† / ๅธฆ่ดงๅˆไฝœ

่™พ็›˜ 3.0 ไฝ“้ชŒๆžไฝณ๏ผŒ้€€่ดง็އๆžไฝŽ๏ผŒๅ”ฎๅŽ็”ฑๆˆ‘ไปฌ่ดŸ่ดฃโ€”โ€”ไฝ ๅช็ฎกๅ–่ดง๏ผš

  • ๆŠ–ๅบ— / ็›ดๆ’ญๅธฆ่ดง๏ผšๆไพ›ๆœ€้ซ˜ไฝฃ้‡‘ๆฏ”ไพ‹๏ผŒไบงๅ“ๅทฒๅœจๅคšไธช็›ดๆ’ญ้—ด้ชŒ่ฏ่ฝฌๅŒ–
  • ไปฃ็†ๅˆ†้”€๏ผšไนฐๆ–ญๆˆ–ๆŒ‰ๅ•ๅˆ†ๆถฆๅ‡ๅฏ่ฐˆ๏ผŒๆ”ฏๆŒๅฎšๅˆถ็‰ˆๆœฌ
  • ๆŠ€ๆœฏๅˆไฝœ๏ผšๆœ‰ๅผ€ๅ‘่ƒฝๅŠ›่€…ๆฌข่ฟŽๆทฑๅบฆๅˆไฝœ

ๆœ‰ๆ„ๅ‘่ฏทๅพฎไฟก่”็ณป๏ผˆๅค‡ๆณจใ€Œไปฃ็†ๅˆไฝœใ€ไผ˜ๅ…ˆๅค„็†๏ผ‰ใ€‚


English

What is this

U-Claw (aka "่™พ็›˜" / "Xia Pan" in Chinese, meaning "Claw Drive") is a tutorial + complete source code for building an OpenClaw (open-source AI assistant framework) USB drive โ€” plug it into any computer, double-click, and start using AI.

The codebase itself is the USB file skeleton. Run setup.sh to download large dependencies, then copy the entire portable/ directory to a USB drive.

๐Ÿ“– Full Tutorial โ€” Step-by-step manual installation, model setup, chat platform integration.

One-Line Install (Recommended)

No USB needed โ€” install directly to your computer:

# Mac / Linux
curl -fsSL https://u-claw.org/install.sh | bash

# Windows (PowerShell as Admin)
irm https://u-claw.org/install.ps1 | iex

Automatically downloads Node.js, installs OpenClaw, configures 10 Chinese-optimized skills, and sets up your AI model. All downloads use China mirrors.

See install/README.md for details.

Quick Start: Build a Portable USB

# 1. Clone
git clone https://github.com/dongsheng123132/u-claw.git

# 2. Download dependencies (Node.js + OpenClaw, ~1 min)
cd u-claw/portable && bash setup.sh

# 3. Copy to USB drive
cp -R portable/ /Volumes/YOUR_USB/U-Claw/   # Mac
# Or drag & drop on Windows

Done! Plug in the USB, double-click the start script, and you're running AI.

USB Features

Feature Mac Windows
Run (no install) Mac-Start.command Windows-Start.bat
Menu Mac-Menu.command Windows-Menu.bat
Install to PC Mac-Install.command Windows-Install.bat
First-time config Config.html Config.html

File Structure

U-Claw/                          โ† Copy entire folder to USB
โ”œโ”€โ”€ Mac-Start.command             Mac launcher
โ”œโ”€โ”€ Mac-Menu.command              Mac menu
โ”œโ”€โ”€ Mac-Install.command           Install to Mac
โ”œโ”€โ”€ Windows-Start.bat             Windows launcher
โ”œโ”€โ”€ Windows-Menu.bat              Windows menu
โ”œโ”€โ”€ Windows-Install.bat           Install to Windows
โ”œโ”€โ”€ Config.html                   First-time config page
โ”œโ”€โ”€ setup.sh                      Download dependencies (dev use)
โ”œโ”€โ”€ app/                          โ† Large deps (downloaded by setup.sh, not in git)
โ”‚   โ”œโ”€โ”€ core/                        OpenClaw + QQ plugin
โ”‚   โ””โ”€โ”€ runtime/
โ”‚       โ”œโ”€โ”€ node-mac-arm64/          Mac Apple Silicon
โ”‚       โ”œโ”€โ”€ node-mac-x64/           Mac Intel
โ”‚       โ””โ”€โ”€ node-win-x64/           Windows 64-bit
โ””โ”€โ”€ data/                         โ† User data (not in git)
    โ”œโ”€โ”€ .openclaw/                   Config file
    โ”œโ”€โ”€ memory/                      AI memory
    โ””โ”€โ”€ backups/                     Backups

Linux Bootable USB

No operating system? No problem. Boot any computer from USB into Ubuntu + AI:

  • In this repo: bootable/ directory (fully independent from other modules)
  • Standalone repo: u-claw-linux (same content, easier to clone separately)

Based on Ventoy + Ubuntu 24.04 LTS + persistence. 4-step PowerShell scripts on Windows. See bootable/README.md for details.

Desktop App (Electron)

cd u-claw-app
bash setup.sh            # One-click dev setup (China mirrors)
npm run dev              # Dev mode
npm run build:mac-arm64  # Build โ†’ release/*.dmg
npm run build:win        # Build โ†’ release/*.exe

Supported AI Models

Chinese models (no VPN needed):

Model Best for
DeepSeek Coding, extremely cheap
Kimi K2.5 Long documents, 256K context
Qwen Large free tier
GLM (Zhipu) Academic use
MiniMax Voice & multimodal
Doubao Volcengine ecosystem

International models: Claude ยท GPT ยท Gemini (VPN or relay required in China)

Supported Chat Platforms

Platform Status Notes
QQ โœ… Pre-installed Enter AppID + Secret
Feishu (Lark) โœ… Built-in Enterprise favorite
Telegram โœ… Built-in International
WhatsApp โœ… Built-in Baileys protocol
Discord โœ… Built-in โ€”
WeChat โœ… Community plugin iPad protocol

China Mirrors

All scripts use China mirrors by default โ€” no VPN needed:

Resource Mirror
npm packages registry.npmmirror.com
Node.js npmmirror.com/mirrors/node
Electron npmmirror.com/mirrors/electron

Development & Contributing

git clone https://github.com/dongsheng123132/u-claw.git
cd u-claw/portable && bash setup.sh
bash Mac-Start.command   # Test on Mac

Platform Support:

Platform Status Notes
Mac Apple Silicon (M1-M4) โœ… Portable + Desktop
Mac Intel (x64) โœ… Portable + Desktop
Windows x64 ๐Ÿšง In progress Portable + Desktop
Linux x64 (Bootable USB) โœ… bootable/ directory

PRs welcome! Especially: Windows scripts, documentation.

๐Ÿ”ง Professional Services / ไธ“ไธšๆœๅŠก

Need help? We offer remote support and custom development:

Service Description Price
Remote Installation We remotely install OpenClaw + skills + model config for you Free
Troubleshooting Startup failures, port conflicts, network issues From ยฅ50
Model Tuning API key setup, model switching, prompt optimization From ยฅ50
Custom Development Custom skills, enterprise private deployment, QQ/WeChat/Feishu bot integration From ยฅ200
USB Green Edition Pre-built portable USB with your custom skills & models From ยฅ100

One-click remote support โ€” run one command, we connect and fix it:

# Mac / Linux
curl -fsSL https://u-claw.org/remote.sh | bash

# Windows (Admin PowerShell)
irm https://u-claw.org/remote.ps1 | iex

WeChat: hecare888 (ๅค‡ๆณจใ€ŒU-Claw ่ฟœ็จ‹ใ€ไผ˜ๅ…ˆๅค„็†)

๐Ÿ‘‰ View full service details / ๆŸฅ็œ‹ๅฎŒๆ•ดๆœๅŠก่ฏฆๆƒ…

๐Ÿฆž Looking for Partners

U-Claw is a fast-growing open-source project with real commercial opportunities.

We're looking for:

  • Technical partners โ€” Full-stack / Node.js / Electron / scripting
  • Resource partners โ€” Distribution, content, community

If you're interested in AI tooling and commercialization, let's talk:

FAQ

Q: Do I need a VPN? No. All downloads use China mirrors. Chinese AI model APIs work directly.

Q: How big should the USB drive be? 4GB+ (~2.3GB full).

Q: Can I redistribute? MIT license โ€” copy and share freely.

Q: Mac says "unverified developer"? Right-click the script โ†’ Open.

Q: setup.bat / setup.sh fails with "module not found"? Usually caused by a network interruption during npm install, leaving node_modules incomplete. Fix:

  1. Delete incomplete dependencies: rmdir /s /q portable\app\core\node_modules (Windows) or rm -rf portable/app/core/node_modules (Mac)
  2. Reinstall using China mirror: cd portable/app/core && npm install --registry=https://registry.npmmirror.com

Q: Already have Node.js v24 and installation fails? Node.js v24 is a dev release โ€” some dependencies aren't compatible yet. You need v20 or v22 LTS. Delete the runtime folder to force a fresh download of the bundled Node v22:

# Windows
rmdir /s /q portable\app\runtime\node-win-x64
setup.bat

# Mac
rm -rf portable/app/runtime/node-mac-arm64
bash setup.sh

Q: Mac shows .toSorted is not a function? Your system Node.js was detected and the bundled version was skipped, but the system version is too old (needs v20+). Delete the runtime folder to re-download the bundled Node v22:

rm -rf portable/app/runtime/node-mac-arm64
bash setup.sh

Q: How do I use multiple AI models / providers? Multiple providers are supported! Open Config.html โ†’ click "Add" in the Providers section โ†’ enter API Key and endpoint for each model (DeepSeek, Kimi, Qwen, etc.) โ†’ save. Switch between models via the dropdown in the chat interface. Config is saved persistently on the USB drive.

Q: USB drive shows "cannot create file" / write errors? Two possibilities: โ‘  The USB drive has a physical write-protect switch on the side โ€” slide it to unlock; โ‘ก Format incompatibility โ€” format the drive as exFAT (supported on Mac/Windows/Linux).

Q: Symlinks missing when copying from Ubuntu to USB? node_modules/.bin/ contains many symlinks that get skipped during direct cp -R. Use rsync -aL to expand symlinks into real files:

rsync -aL --progress portable/ /media/YOUR_USB/U-Claw/

Q: QQbot error: Unknown channel: qqbot? The bundled @sliverp/qqbot is uncompiled TypeScript source. Compile it manually:

cd portable/app/core/node_modules/@sliverp/qqbot
npm install && npm run build

This is fixed in the latest Release โ€” downloading the pre-built release is recommended.

Contact & Partnership

WeChat QR โ€” He Qubing AI Studio

๐Ÿค Reseller / Affiliate Program

U-Claw 3.0 delivers excellent user experience with very low return rates. We handle all after-sales support โ€” you focus on selling:

  • Live commerce / TikTok shop: Top commission rates, proven conversion in live streams
  • Reseller / distribution: Revenue share or wholesale, custom branded versions available
  • Technical partnership: Deep collaboration welcome for developers

Interested? WeChat hecare888 (mention "partnership" for priority response).


Made with ๐Ÿฆž by ่ดบๅŽป็—… ai ๅทฅไฝœๅฎค

About

๐Ÿฆž U-Claw ่™พ็›˜ - OpenClaw AI ๅŠฉๆ‰‹็ฆป็บฟๅฎ‰่ฃ… U ็›˜ | ๆไพ›่ฟœ็จ‹็ปดๆŠคยทๅฎšๅˆถๅผ€ๅ‘ยทไผไธš็งๆœ‰ๅŒ–้ƒจ็ฝฒๆœๅŠก | Remote support & custom AI development

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors