Skip to content

clawhub

https://www.convex.dev/

https://docs.convex.dev/home

npm i -g bun
bun -v
bun install
cp .env.local.example .env.local
bunx convex dev --typecheck=disable
Downloading Convex backend binary
bunx convex dashboard
bunx convex env set AUTH_GITHUB_ID <your-client-id>
bunx convex env set AUTH_GITHUB_SECRET <your-client-secret>
bunx convex env set SITE_URL http://localhost:3000

填充样本数据,确保界面不会空:

# 3 sample skills (padel, gohome, xuezh)
bunx convex run --no-push devSeed:seedNixSkills

# 50 extra skills for pagination testing (optional)
bunx convex run --no-push devSeedExtra:seedExtraSkillsInternal

# Refresh the cached skills count (required after seeding)
bunx convex run --no-push statsMaintenance:updateGlobalStatsInternal

To reset and re-seed: 重置和重新种子:

bunx convex run --no-push devSeed:seedNixSkills '{"reset": true}'
CLAWHUB_REGISTRY=http://127.0.0.1:3210 CLAWHUB_SITE=http://localhost:3000 clawhub search "padel"
clawhub publish <path-to-skill-directory>

上次更新时间:

最近更新