Loading...
Loading...
Compare original and translation side by side
/myvibe:myvibe-publish --file ./dist.zip # Publish ZIP
/myvibe:myvibe-publish --file ./index.html # Publish HTML
/myvibe:myvibe-publish --dir ./dist # Publish directory
/myvibe:myvibe-publish --url https://example.com/app # Import from URL
/myvibe:myvibe-publish --dir ./dist --new # Force new Vibe
/myvibe:myvibe-publish --dir ./dist --did z2qaXXX # Update specific Vibe/myvibe:myvibe-publish --file ./dist.zip # 发布ZIP包
/myvibe:myvibe-publish --file ./index.html # 发布HTML文件
/myvibe:myvibe-publish --dir ./dist # 发布目录
/myvibe:myvibe-publish --url https://example.com/app # 从URL导入发布
/myvibe:myvibe-publish --dir ./dist --new # 强制创建新的Vibe
/myvibe:myvibe-publish --dir ./dist --did z2qaXXX # 更新指定Vibe| Option | Alias | Description |
|---|---|---|
| | Path to HTML file or ZIP archive |
| | Directory to compress and publish |
| | URL to import and publish |
| | MyVibe URL (default: https://www.myvibe.so/) |
| | Project title |
| Project description | |
| | Visibility: public or private (default: public) |
| Vibe DID for version update (overrides auto-detection) | |
| Force create new Vibe, ignore publish history |
| 选项 | 别名 | 描述 |
|---|---|---|
| | HTML文件或ZIP压缩包的路径 |
| | 待压缩并发布的目录 |
| | 待导入并发布的URL |
| | MyVibe的URL(默认值:https://www.myvibe.so/) |
| | 项目标题 |
| 项目描述 | |
| | 可见性:公开或私有(默认值:公开) |
| 用于版本更新的Vibe DID(覆盖自动检测) | |
| 强制创建新的Vibe,忽略发布历史 |
ReadBashgit remote get-url origin 2>/dev/null || echo "Not a git repo"Bashnode {skill_path}/scripts/utils/fetch-tags.mjs --hub {hub}ReadBashgit remote get-url origin 2>/dev/null || echo "Not a git repo"Bashnode {skill_path}/scripts/utils/fetch-tags.mjs --hub {hub}| Check | Project Type | Next Step |
|---|---|---|
| Single File | → Start screenshot, then Step 3 |
Has | Pre-built | → Step 2 (confirm rebuild) |
Has | Buildable | → Step 2 (build first) |
Multiple | Monorepo | → Step 2 (select app) |
Has | Static | → Start screenshot, then Step 3 |
--dirnode {skill_path}/scripts/utils/generate-screenshot.mjs --dir {publish_target} --hub {hub}--filenode {skill_path}/scripts/utils/generate-screenshot.mjs --file {publish_target} --hub {hub}--file--dirsource.type| 检查项 | 项目类型 | 下一步 |
|---|---|---|
带HTML/ZIP的 | 单个文件 | → 启动截图,然后进入步骤3 |
存在包含index.html的 | 预构建完成 | → 步骤2(确认是否重新构建) |
存在带构建脚本的 | 可构建项目 | → 步骤2(先执行构建) |
存在多个 | 单体仓库(Monorepo) | → 步骤2(选择要发布的应用) |
根目录存在 | 静态项目 | → 启动截图,然后进入步骤3 |
--dirnode {skill_path}/scripts/utils/generate-screenshot.mjs --dir {publish_target} --hub {hub}--filenode {skill_path}/scripts/utils/generate-screenshot.mjs --file {publish_target} --hub {hub}--file--dirsource.typeAskUserQuestionAskUserQuestion<title>og:title<h1><title>og:title<h1>node {skill_path}/scripts/utils/fetch-tags.mjs --hub {hub}| Tag Type | Match Method |
|---|---|
| techStackTags | Match package.json dependencies against tag slug |
| platformTags | From conversation context (Claude Code, Cursor, etc.) |
| modelTags | From conversation context (Claude 3.5 Sonnet, GPT-4, etc.) |
| categoryTags | Infer from project (game libs → game, charts → viz) |
node {skill_path}/scripts/utils/fetch-tags.mjs --hub {hub}| 标签类型 | 匹配方式 |
|---|---|
| techStackTags | 将package.json中的依赖项与标签别名匹配 |
| platformTags | 来自对话上下文(如Claude Code、Cursor等) |
| modelTags | 来自对话上下文(如Claude 3.5 Sonnet、GPT-4等) |
| categoryTags | 从项目推断(如游戏库→游戏,图表→可视化) |
AskUserQuestionPublishing to MyVibe:
──────────────────────
Title: [value]
Description:
[50-150 word story]
GitHub: [URL or "Not detected"]
Cover Image: [Will be included if ready]
Tags: Tech Stack: [...] | Platform: [...] | Category: [...] | Model: [...]AskUserQuestion即将发布到MyVibe:
──────────────────────
标题: [值]
描述:
[50-150字的故事]
GitHub: [URL或"未检测到"]
封面图片: [准备就绪后将包含]
标签: 技术栈: [...] | 平台: [...] | 分类: [...] | 模型: [...]scripts/node_modulesnpm installnode {skill_path}/scripts/publish.mjs --config-stdin <<'EOF'
{
"source": { "type": "dir", "path": "./dist", "did": "z2qaXXXX" },
"hub": "https://www.myvibe.so",
"metadata": {
"title": "My App",
"description": "Story description here",
"visibility": "public",
"githubRepo": "https://github.com/user/repo",
"platformTags": [1, 2],
"techStackTags": [3, 4],
"categoryTags": [5],
"modelTags": [6]
}
}
EOFdidcoverImage/tmp/myvibe-screenshot-{hash}.jsonscripts/node_modulesnpm installnode {skill_path}/scripts/publish.mjs --config-stdin <<'EOF'
{
"source": { "type": "dir", "path": "./dist", "did": "z2qaXXXX" },
"hub": "https://www.myvibe.so",
"metadata": {
"title": "My App",
"description": "Story description here",
"visibility": "public",
"githubRepo": "https://github.com/user/repo",
"platformTags": [1, 2],
"techStackTags": [3, 4],
"categoryTags": [5],
"modelTags": [6]
}
}
EOFdidcoverImage/tmp/myvibe-screenshot-{hash}.jsonPublished successfully!
🔗 [URL]发布成功!
🔗 [URL]📦 Previous version overwritten. Want to keep version history?
Upgrade to Creator → {hub}/pricing📦 已覆盖旧版本。是否要保留版本历史?
升级到Creator版 → {hub}/pricing| Error | Action |
|---|---|
| Dependencies missing | Run |
| 401/403 Auth error | Token auto-cleared, re-run to authorize |
| Build failed | Analyze error, offer fix, or publish source as-is |
| Screenshot failed | Skip coverImage, proceed without it |
| agent-browser missing | Run |
| Private mode is only available for Creator and Studio users | See "Private Mode Error Handling" below |
| 错误 | 操作 |
|---|---|
| 依赖缺失 | 在scripts目录中运行 |
| 401/403授权错误 | 自动清除令牌,重新运行以重新授权 |
| 构建失败 | 分析错误,提供修复方案,或直接发布源文件 |
| 截图失败 | 跳过coverImage,继续发布 |
| agent-browser缺失 | 运行 |
| 私有模式仅对Creator和Studio用户可用 | 参见下方"私有模式错误处理" |
visibility: privateAskUserQuestion| Option | Label | Description |
|---|---|---|
| 1 | Publish as Public | Your Vibe will be visible to everyone. You can change this later after upgrading. |
| 2 | View Upgrade Options | Open the pricing page to explore subscription plans with private publishing. |
visibility: "public"{hub}/pricingvisibility: privateAskUserQuestion| 选项 | 标签 | 描述 |
|---|---|---|
| 1 | 以公开模式发布 | 您的Vibe将对所有人可见。升级后您可以稍后更改此设置。 |
| 2 | 查看升级选项 | 打开定价页面查看支持私有发布的订阅方案。 |
visibility: "public"{hub}/pricing~/.myvibe/published.yaml--new~/.myvibe/published.yaml--new