SuperAPI AI 工具集

clawtime

通用与其它

查看项目

更新于 10-16 03:07

技能介绍

用途:为 OpenClaw 搭建并运行 ClawTime 网页聊天界面,提供 passkey 认证、3D 头像和语音对话。

主要能力:基于 Three.js 的体素 3D 头像,按状态(idle、thinking、talking 等)动画;语音模式默认用服务端 whisper.cpp 做语音转文字,TTS 用 edge-tts(无需 API key),支持打断(barge-in)、2 秒静音检测与噪声过滤;passkey 免密登录。

安装与配置:在 ~/.openclaw/workspace 下 git clone https://github.com/youngkent/clawtime.git,cd clawtime 后 npm install,首次运行生成 ~/.clawtime/。必须在 ~/.clawtime/.env 设置 GATEWAY_TOKEN(否则报 “device identity required”),并设置 BOT_NAME、BOT_EMOJI。语音模式需安装 whisper.cpp;多语言用 base 模型而非 base.en;可用 WHISPER_BIN 指定路径,Whisper 不可用时回退浏览器 SpeechRecognition。自定义头像文件放在 ~/.clawtime/avatars/<name>.js,并在 config.json 设 selectedAvatar。改 .env 后需 systemctl --user restart clawtime。

启停与运维:以 systemd 用户服务运行 server.js,并配置 tunnel 服务;用 journalctl --user -u clawtime -f 查看日志。

限制:免费 Cloudflare 隧道 URL 随机且重启后变化,passkey 需重新注册;如需固定 URL 需付费方案。官方未提供收费与价格等更多信息。