mirror of
https://github.com/hanzoai/bot-hub.git
synced 2026-10-30 18:46:42 +00:00
Migration from Convex/Vercel to self-hosted infrastructure: API Backend (api/): - Hono server with PostgreSQL (Drizzle ORM) + pgvector - Skills CRUD, search (hybrid vector + lexical), auth (hanzo.id OAuth) - Upload (MinIO S3), stars, comments, API tokens - Rate limiting middleware, session management Frontend Adapter (src/lib/): - api.ts: REST API client replacing Convex SDK - hooks.ts: React hooks replacing convex/react useQuery/useMutation - AuthContext.tsx: Auth provider replacing ConvexAuthProvider Deployment: - Dockerfile (multi-stage: API build + web build + production) - K8s manifests for hub.hanzo.bot on hanzo-k8s - GitHub Actions CI/CD (build → GHCR → deploy) Rebrand: - clawhub/clawdhub/ClawHub → bothub/Bot Hub - Domain: clawhub.ai → hub.hanzo.bot - CLI: clawhub → bothub - Package: @hanzo/bot-hub-api
42 lines
864 B
JSON
42 lines
864 B
JSON
{
|
|
"name": "bothub",
|
|
"version": "0.7.0",
|
|
"description": "Bot Hub CLI \\u2014 install, update, search, and publish agent skills.",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"bin": {
|
|
"bothub": "bin/bothub.js"
|
|
},
|
|
"files": [
|
|
"bin",
|
|
"dist",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"dev": "node --enable-source-maps dist/cli.js",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"dependencies": {
|
|
"@clack/prompts": "^0.11.0",
|
|
"arktype": "^2.1.29",
|
|
"commander": "^14.0.2",
|
|
"fflate": "^0.8.2",
|
|
"ignore": "^7.0.5",
|
|
"json5": "^2.2.3",
|
|
"mime": "^4.1.0",
|
|
"ora": "^9.0.0",
|
|
"p-retry": "^7.1.1",
|
|
"semver": "^7.7.3",
|
|
"undici": "^7.16.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.0.9",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
}
|
|
}
|