@hypersocial/decks-cli 0.2.1 → 0.3.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 +9 -4
- package/package.json +1 -1
- package/skills/hyperdecks/SKILL.md +297 -13
- package/skills/hyperdecks/chat.md +49 -0
- package/src/check.mjs +110 -240
- package/src/checkRules.mjs +558 -0
- package/src/commands.mjs +200 -10
- package/src/files.mjs +35 -0
- package/src/guide.mjs +55 -0
- package/src/hosted.mjs +74 -0
- package/src/importer.mjs +1 -1
- package/src/init.mjs +605 -0
- package/src/layouts.mjs +71 -0
- package/src/narrate.mjs +4 -13
- package/src/ops.mjs +101 -7
- package/src/runtime.mjs +73 -14
- package/src/scaffold.mjs +23 -22
- package/src/source.mjs +69 -0
- package/src/voice.mjs +11 -0
- package/templates/first-deck/character.json +26 -0
- package/templates/first-deck/self.json +26 -0
- package/templates/layouts/_deck.html +102 -0
- package/templates/layouts/chart.html +39 -0
- package/templates/layouts/closer.html +28 -0
- package/templates/layouts/compare.html +33 -0
- package/templates/layouts/features.html +35 -0
- package/templates/layouts/hero.html +35 -0
- package/templates/layouts/number.html +29 -0
- package/templates/layouts/product.html +57 -0
- package/templates/layouts/quote.html +31 -0
- package/templates/layouts/team.html +37 -0
- package/templates/layouts/timeline.html +39 -0
- package/templates/narrated-deck.html +57 -11
- package/templates/script.md +11 -3
package/templates/script.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
maxTotalSeconds: 180
|
|
3
|
+
transition: drift
|
|
3
4
|
---
|
|
4
5
|
|
|
5
6
|
# __TITLE__ — narration script
|
|
@@ -7,9 +8,16 @@ maxTotalSeconds: 180
|
|
|
7
8
|
One `## <slide-id>` block per slide, in slide order; the id is the slide's
|
|
8
9
|
`<section id>` in index.html. Each sentence is one caption: keep it a short
|
|
9
10
|
phrase (4 to 85 characters, two lines in the bubble). Aim for 150 to 180 s in
|
|
10
|
-
all. Holds:
|
|
11
|
+
all. Holds: 0.4 s by default, `hold: 1.5` for a number, chart or reveal,
|
|
12
|
+
`hold: 2` on interactive slides. Stage tags become
|
|
11
13
|
cues at the word before them: [wave], [mood: excited], [reveal: #detail],
|
|
12
|
-
[
|
|
14
|
+
[go: #detail] (the presenter flies beside it; [go: slot] brings it home),
|
|
15
|
+
[look: h2] (the head looks at it), [custom: confetti]. `presenterStyle: stage`
|
|
16
|
+
above sets the deck's presenter; `presenter-style: corner` under a heading sets
|
|
17
|
+
one slide's. `transition: drift` above is how every slide enters;
|
|
18
|
+
`transition: push` (cut, wipe, zoom #id, morph, fly) under a heading changes
|
|
19
|
+
one slide's: see "Transitions" in the skill. With no `voice:` above, your first
|
|
20
|
+
ready voice narrates.
|
|
13
21
|
|
|
14
22
|
hyperdecks narrate decks/__SLUG__ --dry-run
|
|
15
23
|
hyperdecks narrate decks/__SLUG__
|
|
@@ -25,7 +33,7 @@ Here is the problem. It costs people real time.
|
|
|
25
33
|
Why now? Something just changed.
|
|
26
34
|
|
|
27
35
|
## idea
|
|
28
|
-
Every slide makes one point. Here is the detail. [reveal: #detail]
|
|
36
|
+
Every slide makes one point. Here is the detail. [reveal: #detail] [go: #detail]
|
|
29
37
|
|
|
30
38
|
## how
|
|
31
39
|
It works in three steps. Each one is simple.
|