repovid 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repovid",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Turn your web app into narrated demo videos and a guide page, using the coding agent you already have.",
5
5
  "homepage": "https://repovid.io",
6
6
  "license": "UNLICENSED",
package/src/publish.mjs CHANGED
@@ -43,6 +43,7 @@ export async function publish(planFile, out, confirmed) {
43
43
  if (!r.remaining) break;
44
44
  console.log(`processing, ${r.remaining} left`);
45
45
  }
46
- console.log(`Published: ${draft.url}\nAnyone with this link can watch. Manage it at ${new URL(draft.url).origin}/app.`);
46
+ const { origin } = new URL(draft.url);
47
+ console.log(`Published: ${draft.url}\n${videos.map(v => `Video link, ${v.title}: ${origin}/v/${draft.slug}/${v.id}.mp4`).join("\n")}\nAnyone with these links can watch. Embed codes and more are at ${origin}/app.`);
47
48
  }
48
49
 
package/src/skill.md CHANGED
@@ -85,4 +85,4 @@ Then run `npx repovid preview` to open the guide page, and ask the user to watch
85
85
  If `render` says the free run is used, offer the $5 licence. If they agree, run `npx repovid upgrade`: a secure Stripe page opens in their browser. Once they've paid, render again.
86
86
 
87
87
  ## 7. Share (optional)
88
- `npx repovid publish .repovid/plan.json --public-link` uploads the videos and guide text to RepoVid and returns a link. Anyone with the link can watch. Only run it after the user has watched every video and told you to publish. Publishing again from the same folder updates the same link and keeps earlier versions. The owner manages projects at repovid.io/app. Publishing needs a hosting plan. Show them `npx repovid plans`, and when they choose, run `npx repovid plans <name>` to open the payment page.
88
+ `npx repovid publish .repovid/plan.json --public-link` uploads the videos and guide text to RepoVid and returns a link. Anyone with the link can watch. Only run it after the user has watched every video and told you to publish. Publishing again from the same folder updates the same link and keeps earlier versions. It also prints a direct link for each video, to paste anywhere; give the user those too. Embed codes and project management are at repovid.io/app. Publishing needs a hosting plan. Show them `npx repovid plans`, and when they choose, run `npx repovid plans <name>` to open the payment page.