插件与 SDK 统一调用。HTTPS + Bearer Token 认证,限流 60 次 / 分钟,上传包最大 8MB。
/api/v1/upload/token获取上传凭证与限制(有效期 1 小时)/api/upload上传封面 / 截图 / 交付文件(multipart)/api/v1/works创建作品(工具端主调用)/api/v1/works列出我的作品与审核状态/api/v1/works/{id}查询单个作品状态与审核结果{
"title": "AI 排课助手",
"tagline": "3 分钟排好一周课表",
"category": "ai_tool",
"problem": "教培机构排课冲突多,调课通知靠微信群刷屏。",
"source_tool": "cursor",
"source_url": "https://github.com/you/pai-ke",
"demo_url": "https://pai-ke.vercel.app",
"screenshot": "/uploads/cover.png",
"files": ["/uploads/pai-ke.zip"],
"target_users": ["教培机构", "兴趣班老师"],
"deliverables": ["完整源码", "部署文档", "3 个月更新"],
"tags": ["排课", "教培"],
"open_source": "MIT",
"monetization": {
"enabled": false,
"type": "buyout",
"price": 0,
"currency": "CNY",
"license": "commercial"
}
}必填:title(2–30 字)、tagline(4–24 字)、category。其余字段可选。 提交后状态为 pending_review,通过审核后自动上架。
{
"code": 0,
"data": {
"work_id": "cm3x...",
"slug": "ai-pai-ke-zhu-shou",
"status": "pending_review",
"review_eta": "< 24h",
"gallery_url": "http://localhost:3100/works/ai-pai-ke-zhu-shou",
"compliance_level": "pass",
"warnings": []
}
}仓库自带 scripts/vibeforge-publish.mjs,可接入 CI。
# 生成 Token 后,在项目根目录执行
export VF_TOKEN="vf_xxxxxxxxxxxxxxxx"
node scripts/vibeforge-publish.mjs \
--title "排课助手" \
--tagline "3 分钟排好一周课表" \
--category ai_tool \
--demo https://pai-ke.vercel.app \
--file ./dist/pai-ke.zip