@appeeky/open-slideshow 0.1.0 → 0.2.0
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/README.md +93 -23
- package/dist/bin.js +0 -0
- package/dist/brand.d.ts +2 -0
- package/dist/brand.js +36 -19
- package/dist/brandkit.d.ts +50 -0
- package/dist/brandkit.js +212 -0
- package/dist/cli.js +94 -0
- package/dist/decks.js +11 -1
- package/dist/ideas.d.ts +50 -0
- package/dist/ideas.js +146 -0
- package/dist/images.d.ts +15 -2
- package/dist/images.js +23 -5
- package/dist/index.d.ts +9 -0
- package/dist/index.js +9 -0
- package/dist/lint.d.ts +5 -2
- package/dist/lint.js +18 -2
- package/dist/mcp.js +72 -2
- package/dist/preview.d.ts +18 -0
- package/dist/preview.js +96 -0
- package/dist/publish.d.ts +5 -0
- package/dist/publish.js +6 -1
- package/dist/readability.d.ts +19 -0
- package/dist/readability.js +42 -0
- package/dist/render.d.ts +21 -2
- package/dist/render.js +143 -11
- package/dist/results.d.ts +89 -0
- package/dist/results.js +252 -0
- package/dist/schema.d.ts +166 -11
- package/dist/schema.js +38 -1
- package/dist/screenshots.d.ts +18 -0
- package/dist/screenshots.js +69 -0
- package/dist/templates.d.ts +4 -1
- package/dist/templates.js +145 -0
- package/dist/text.js +2 -1
- package/dist/variants.d.ts +48 -0
- package/dist/variants.js +175 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/video.d.ts +22 -0
- package/dist/video.js +59 -0
- package/dist/workspace.d.ts +5 -0
- package/dist/workspace.js +16 -0
- package/package.json +1 -1
- package/skills/open-slideshow/SKILL.md +16 -3
- package/skills/open-slideshow/references/brand.md +10 -0
- package/skills/open-slideshow/references/ideas.md +23 -0
- package/skills/open-slideshow/references/images.md +9 -1
- package/skills/open-slideshow/references/languages.md +10 -0
- package/skills/open-slideshow/references/results.md +47 -0
- package/skills/open-slideshow/references/review.md +8 -1
- package/skills/open-slideshow/references/screenshots.md +26 -0
- package/skills/open-slideshow/references/series.md +20 -0
- package/skills/open-slideshow/references/templates.md +37 -0
- package/skills/open-slideshow/references/troubleshooting.md +11 -1
- package/skills/open-slideshow/references/video.md +18 -0
|
@@ -11,6 +11,17 @@ A template says which slide kinds come in which order, and what to write on each
|
|
|
11
11
|
| `ranking` | cover → tip ×3–10 counting down → bridge? → app? | Opinions and comparisons. People argue in comments. |
|
|
12
12
|
| `quotes` | cover → quote ×3–6 → bridge? → app? | Mindset content. Real quotes only. |
|
|
13
13
|
| `checklist` | cover → list ×1–4 → bridge? → app? | Routines and steps. High saves. |
|
|
14
|
+
| `myth-fact` | cover → myth/fact ×3–6 → bridge? → app? | Beliefs people hold. Strong comments. Facts only. |
|
|
15
|
+
| `instead` | cover → swap ×3–6 → bridge? → app? | Small habit changes. Easy to save. |
|
|
16
|
+
| `wish-i-knew` | cover → lesson ×3–7 → bridge? → app? | Experience. Feels personal. |
|
|
17
|
+
| `how-to` | cover → step ×3–7 → bridge? → screen? → app? | Doing one thing, in order. Shows the app with a screenshot. |
|
|
18
|
+
| `comparison` | cover → point ×2–5 → verdict → app? | Choosing between options. Fair, specific. |
|
|
19
|
+
| `pov` | cover → moment ×2–5 → the fix → app? | A situation the viewer knows, in "you". |
|
|
20
|
+
| `hot-takes` | cover → take ×3–6 → bridge? → app? | Opinions the user really holds. Comments. |
|
|
21
|
+
|
|
22
|
+
Each template also lists example hooks (`templates_list`). Use them for the shape of the hook, never word for word.
|
|
23
|
+
|
|
24
|
+
The app slide in every template can be preceded by a `screenshot` slide that shows the app (see `screenshots.md`).
|
|
14
25
|
|
|
15
26
|
## Choosing
|
|
16
27
|
|
|
@@ -54,6 +65,32 @@ A template says which slide kinds come in which order, and what to write on each
|
|
|
54
65
|
- Group the items by when or where ("1 hour before", "In bed").
|
|
55
66
|
- 3–5 items per list, each a few words, written so they can be ticked off.
|
|
56
67
|
|
|
68
|
+
**myth-fact**
|
|
69
|
+
- Title `*Myth:* …`, body `*Fact:* …`.
|
|
70
|
+
- Only facts the user can stand behind. No "studies show" without the study.
|
|
71
|
+
|
|
72
|
+
**instead**
|
|
73
|
+
- Title "Instead of …", body "try …" and one line of why.
|
|
74
|
+
|
|
75
|
+
**wish-i-knew**
|
|
76
|
+
- First person, one lesson each, with the detail that makes it real ("I bought three planners").
|
|
77
|
+
|
|
78
|
+
**how-to**
|
|
79
|
+
- Steps as actions, in order. The step is the title; how is the body.
|
|
80
|
+
- A `screenshot` slide before the app slide shows the screen where the app does the work.
|
|
81
|
+
|
|
82
|
+
**comparison**
|
|
83
|
+
- One thing compared per slide. Be fair, including where the user's app is not the best pick.
|
|
84
|
+
- End with who should choose which. Never name a competitor's product unless the user asks and the claims are true.
|
|
85
|
+
|
|
86
|
+
**pov**
|
|
87
|
+
- The cover starts with "POV:" and puts the viewer in the moment.
|
|
88
|
+
- Each slide is one beat of what happens next, in "you".
|
|
89
|
+
|
|
90
|
+
**hot-takes**
|
|
91
|
+
- Only opinions the user holds. Ask if unsure.
|
|
92
|
+
- One line of why per take, so it starts a discussion, not a fight.
|
|
93
|
+
|
|
57
94
|
## Drift
|
|
58
95
|
|
|
59
96
|
`template-shape` is a warning, not an error. If the user wants a different order on purpose, keep their order and leave `template` out, or keep it and tell them lint will keep warning. Do not force the user's content into the shape.
|
|
@@ -24,6 +24,16 @@ Every tool error says what went wrong. Most also say the fix. This list covers t
|
|
|
24
24
|
| `deck x is already published` | Make a new deck. |
|
|
25
25
|
| `not rendered yet` / `changed since it was rendered` / `render … is missing` | Call `deck_render`, look at the sheet again, then publish. |
|
|
26
26
|
| `fix these first: …` | Lint errors block publishing. Fix them (`review.md`). |
|
|
27
|
+
| `making a video needs ffmpeg` | The user installs ffmpeg (the message says how), or sets `FFMPEG_PATH`. Ask before installing anything. |
|
|
28
|
+
| `ffmpeg failed: …` | Read the last lines. Usually a slide file is missing: render again. |
|
|
29
|
+
| `wait N days before posting it again` / `was used before` | Reposts need 30 days and a hook people have not seen. |
|
|
30
|
+
| `the translation has N slides` / `is a … in the original but …` | `deck_translate` needs every slide, in order, with the same kinds and list lengths. |
|
|
31
|
+
| `each hook must be different` | Each `hook_test` hook must differ from the cover and from each other. |
|
|
32
|
+
| `the series has N parts` | All parts exist. Start a new series, or ask the user. |
|
|
33
|
+
| `no idea x` | `ideas_list` shows the ids. |
|
|
34
|
+
| `no colours found` / `give the app's website` / `names no website` | Pass `url`, or set colours with `brand_set`. |
|
|
35
|
+
| `… refused to be read (HTTP 403)` | The site blocks automated reads. Try later, or ask the user for the brand colours. |
|
|
36
|
+
| `no screenshots in this repo and no App Store id` | `image_import` a screenshot the user sends, or set the App Store id. |
|
|
27
37
|
|
|
28
38
|
## Images
|
|
29
39
|
|
|
@@ -33,7 +43,7 @@ Every tool error says what went wrong. Most also say the fix. This list covers t
|
|
|
33
43
|
| `limiting requests (HTTP 429)` | Wait a minute, or pick another photo or provider. |
|
|
34
44
|
| `download failed: HTTP 404/403` | The photo is gone or blocked. Pick another one. |
|
|
35
45
|
| `SVG images are not accepted` / `format … not accepted` | Convert to PNG or JPEG first. |
|
|
36
|
-
| `image is too small` | Use
|
|
46
|
+
| `image is too small` | Under 200 px. Use a bigger image; 600 px or more for a photo behind the words. Screenshots from a phone are fine. |
|
|
37
47
|
| `larger than 25 MB` | Resize or export a smaller JPEG. |
|
|
38
48
|
| `set UNSPLASH_ACCESS_KEY` / `set PEXELS_API_KEY` | Use Openverse, or the user adds their key to their environment and restarts the agent. |
|
|
39
49
|
| `give exactly one of hit, url or path` | Pass only one. |
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Preview and video
|
|
2
|
+
|
|
3
|
+
## Preview on a phone
|
|
4
|
+
|
|
5
|
+
`deck_preview { id, gif }` writes `renders/preview.html`: the deck on a phone you can swipe (or use the arrow keys), with the caption under it and a button that shows where TikTok's buttons and caption cover the slides. Tell the user to open it in a browser before posting.
|
|
6
|
+
|
|
7
|
+
With `gif: true` it also writes `renders/preview.gif`, a small looping preview to put in a pull request, a message or a doc.
|
|
8
|
+
|
|
9
|
+
Render first: both use the rendered slides, and refuse a deck changed since its last render.
|
|
10
|
+
|
|
11
|
+
## Video
|
|
12
|
+
|
|
13
|
+
`deck_video { id, seconds, fade, size }` turns the rendered slides into `renders/video.mp4`: each slide for `seconds` (default 2.5), a soft fade between them (`fade`, default 0.35; 0 cuts), 9:16, H.264, no sound.
|
|
14
|
+
|
|
15
|
+
- Use it for Instagram Reels, YouTube Shorts and TikTok video posts, where a photo post is not possible or the user wants both.
|
|
16
|
+
- Music is added in the app when posting: trending sounds are only available there.
|
|
17
|
+
- 2–3 seconds a slide suits short text. Give slides with more words more time, or split them.
|
|
18
|
+
- It needs ffmpeg on the user's machine. If it is missing, the message says how to install it (or set `FFMPEG_PATH`). Do not install it yourself without asking.
|