@strategicnerds/slide-nerds 0.1.2 → 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/dist/cli/commands/brand.d.ts +3 -0
- package/dist/cli/commands/brand.d.ts.map +1 -0
- package/dist/cli/commands/brand.js +145 -0
- package/dist/cli/commands/brand.js.map +1 -0
- package/dist/cli/commands/config.d.ts +18 -0
- package/dist/cli/commands/config.d.ts.map +1 -0
- package/dist/cli/commands/config.js +37 -0
- package/dist/cli/commands/config.js.map +1 -0
- package/dist/cli/commands/link.d.ts +12 -0
- package/dist/cli/commands/link.d.ts.map +1 -0
- package/dist/cli/commands/link.js +106 -0
- package/dist/cli/commands/link.js.map +1 -0
- package/dist/cli/commands/login.d.ts +4 -0
- package/dist/cli/commands/login.d.ts.map +1 -0
- package/dist/cli/commands/login.js +92 -0
- package/dist/cli/commands/login.js.map +1 -0
- package/dist/cli/commands/push.d.ts +13 -0
- package/dist/cli/commands/push.d.ts.map +1 -0
- package/dist/cli/commands/push.js +156 -0
- package/dist/cli/commands/push.js.map +1 -0
- package/dist/cli/index.js +8 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/runtime/export-api.d.ts +2 -1
- package/dist/runtime/export-api.d.ts.map +1 -1
- package/dist/runtime/export-api.js +150 -7
- package/dist/runtime/export-api.js.map +1 -1
- package/dist/runtime/index.d.ts +6 -0
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +5 -0
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/light-table.d.ts.map +1 -1
- package/dist/runtime/light-table.js +34 -10
- package/dist/runtime/light-table.js.map +1 -1
- package/dist/runtime/live/LiveAudienceCount.d.ts +4 -0
- package/dist/runtime/live/LiveAudienceCount.d.ts.map +1 -0
- package/dist/runtime/live/LiveAudienceCount.js +90 -0
- package/dist/runtime/live/LiveAudienceCount.js.map +1 -0
- package/dist/runtime/live/LivePoll.d.ts +9 -0
- package/dist/runtime/live/LivePoll.d.ts.map +1 -0
- package/dist/runtime/live/LivePoll.js +122 -0
- package/dist/runtime/live/LivePoll.js.map +1 -0
- package/dist/runtime/live/LiveQA.d.ts +4 -0
- package/dist/runtime/live/LiveQA.d.ts.map +1 -0
- package/dist/runtime/live/LiveQA.js +138 -0
- package/dist/runtime/live/LiveQA.js.map +1 -0
- package/dist/runtime/live/LiveReactions.d.ts +4 -0
- package/dist/runtime/live/LiveReactions.d.ts.map +1 -0
- package/dist/runtime/live/LiveReactions.js +124 -0
- package/dist/runtime/live/LiveReactions.js.map +1 -0
- package/dist/runtime/live/LiveWordCloud.d.ts +8 -0
- package/dist/runtime/live/LiveWordCloud.d.ts.map +1 -0
- package/dist/runtime/live/LiveWordCloud.js +141 -0
- package/dist/runtime/live/LiveWordCloud.js.map +1 -0
- package/dist/runtime/live/index.d.ts +7 -0
- package/dist/runtime/live/index.d.ts.map +1 -0
- package/dist/runtime/live/index.js +6 -0
- package/dist/runtime/live/index.js.map +1 -0
- package/dist/runtime/live/types.d.ts +40 -0
- package/dist/runtime/live/types.d.ts.map +1 -0
- package/dist/runtime/live/types.js +2 -0
- package/dist/runtime/live/types.js.map +1 -0
- package/dist/runtime/live/use-live-session.d.ts +17 -0
- package/dist/runtime/live/use-live-session.d.ts.map +1 -0
- package/dist/runtime/live/use-live-session.js +73 -0
- package/dist/runtime/live/use-live-session.js.map +1 -0
- package/dist/runtime/pptx-export.d.ts +2 -0
- package/dist/runtime/pptx-export.d.ts.map +1 -0
- package/dist/runtime/pptx-export.js +344 -0
- package/dist/runtime/pptx-export.js.map +1 -0
- package/dist/runtime/slide-controls.d.ts.map +1 -1
- package/dist/runtime/slide-controls.js +24 -38
- package/dist/runtime/slide-controls.js.map +1 -1
- package/package.json +3 -1
- package/skills/live/SKILL.md +244 -0
- package/templates/next-app/next.config.ts.tmpl +25 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slide-controls.js","sourceRoot":"","sources":["../../src/runtime/slide-controls.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AAG,EAAC,CAAC,EAAC,GAAG,GAAG,EAC/B,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,GAAG,EAChC,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,GAAG,IAC5B,GACC,IACL,IACL,CACJ,CAAA;AACH,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strategicnerds/slide-nerds",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Presentation runtime, CLI, and LLM skill library for Next.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/runtime/index.js",
|
|
@@ -48,6 +48,8 @@
|
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"commander": "^13.0.0",
|
|
50
50
|
"fs-extra": "^11.0.0",
|
|
51
|
+
"html2canvas-pro": "^2.0.2",
|
|
52
|
+
"jspdf": "^4.2.1",
|
|
51
53
|
"pptxgenjs": "^4.0.1",
|
|
52
54
|
"zod": "^3.24.0"
|
|
53
55
|
},
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: live
|
|
3
|
+
description: SlideNerds live presentation components -- polls, reactions, Q&A, audience count, word clouds. Requires slidenerds.com hosting.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Live presentation components
|
|
7
|
+
|
|
8
|
+
Use this skill when slides need real-time audience interaction during a live presentation. These components connect to the slidenerds.com service and only work when the deck is hosted there and a live session is active.
|
|
9
|
+
|
|
10
|
+
## Prerequisites
|
|
11
|
+
|
|
12
|
+
1. The deck must be pushed to slidenerds.com (`slidenerds push`)
|
|
13
|
+
2. The presenter starts a live session from the deck detail page
|
|
14
|
+
3. The audience joins via the live URL
|
|
15
|
+
|
|
16
|
+
All components are exported from `@strategicnerds/slide-nerds`. Import them directly.
|
|
17
|
+
|
|
18
|
+
## Components
|
|
19
|
+
|
|
20
|
+
### LivePoll
|
|
21
|
+
|
|
22
|
+
Real-time audience poll. Audience votes by clicking an option. Results update live as votes come in.
|
|
23
|
+
|
|
24
|
+
```tsx
|
|
25
|
+
import { LivePoll } from '@strategicnerds/slide-nerds'
|
|
26
|
+
|
|
27
|
+
<section data-slide="">
|
|
28
|
+
<div style={{ padding: 'var(--slide-padding)' }}
|
|
29
|
+
className="flex flex-col items-center justify-center min-h-screen">
|
|
30
|
+
<h2 className="text-[2.5rem] font-bold mb-8">Quick poll</h2>
|
|
31
|
+
<LivePoll
|
|
32
|
+
question="What is your biggest deployment challenge?"
|
|
33
|
+
options={['Speed', 'Reliability', 'Cost', 'Complexity']}
|
|
34
|
+
/>
|
|
35
|
+
</div>
|
|
36
|
+
</section>
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
**Props:**
|
|
40
|
+
|
|
41
|
+
| Prop | Type | Required | Description |
|
|
42
|
+
|------|------|----------|-------------|
|
|
43
|
+
| `question` | `string` | Yes | The poll question displayed to the audience |
|
|
44
|
+
| `options` | `string[]` | Yes | Array of answer choices |
|
|
45
|
+
| `sessionId` | `string` | No | Live session ID. Auto-detected from `?session=` URL param |
|
|
46
|
+
| `serviceUrl` | `string` | No | SlideNerds service URL. Defaults to `https://slidenerds.com`. Use `http://localhost:3000` for local dev |
|
|
47
|
+
|
|
48
|
+
**Behavior:**
|
|
49
|
+
- Shows clickable option buttons before voting
|
|
50
|
+
- After voting, switches to a bar chart showing live results
|
|
51
|
+
- One vote per viewer (tracked by IP hash)
|
|
52
|
+
- Results update every 5 seconds via polling
|
|
53
|
+
|
|
54
|
+
### LiveReactions
|
|
55
|
+
|
|
56
|
+
Floating reaction buttons. Audience taps to send reactions. Emojis float up and fade out.
|
|
57
|
+
|
|
58
|
+
```tsx
|
|
59
|
+
import { LiveReactions } from '@strategicnerds/slide-nerds'
|
|
60
|
+
|
|
61
|
+
<section data-slide="">
|
|
62
|
+
<div style={{ padding: 'var(--slide-padding)' }}
|
|
63
|
+
className="flex flex-col items-center justify-center min-h-screen">
|
|
64
|
+
<h2 className="text-[2.5rem] font-bold mb-4">What do you think?</h2>
|
|
65
|
+
<p className="text-lg mb-8" style={{ color: 'var(--color-text-secondary)' }}>
|
|
66
|
+
React to let us know
|
|
67
|
+
</p>
|
|
68
|
+
<LiveReactions />
|
|
69
|
+
</div>
|
|
70
|
+
</section>
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
**Props:**
|
|
74
|
+
|
|
75
|
+
| Prop | Type | Required | Description |
|
|
76
|
+
|------|------|----------|-------------|
|
|
77
|
+
| `sessionId` | `string` | No | Live session ID |
|
|
78
|
+
| `serviceUrl` | `string` | No | Service URL |
|
|
79
|
+
|
|
80
|
+
**Available reactions:** thumbsup, clap, heart, fire, mind_blown
|
|
81
|
+
|
|
82
|
+
**Behavior:**
|
|
83
|
+
- Five reaction buttons at the bottom
|
|
84
|
+
- Clicking sends a reaction and shows a floating emoji
|
|
85
|
+
- Other audience reactions also appear as floating emojis
|
|
86
|
+
- Emojis fade out after 3 seconds
|
|
87
|
+
|
|
88
|
+
### LiveQA
|
|
89
|
+
|
|
90
|
+
Question submission and display. Audience submits questions, presenter can mark them answered.
|
|
91
|
+
|
|
92
|
+
```tsx
|
|
93
|
+
import { LiveQA } from '@strategicnerds/slide-nerds'
|
|
94
|
+
|
|
95
|
+
<section data-slide="">
|
|
96
|
+
<div style={{ padding: 'var(--slide-padding)' }}
|
|
97
|
+
className="flex flex-col items-center justify-center min-h-screen">
|
|
98
|
+
<h2 className="text-[2.5rem] font-bold mb-4">Questions?</h2>
|
|
99
|
+
<p className="text-lg mb-8" style={{ color: 'var(--color-text-secondary)' }}>
|
|
100
|
+
Submit your questions below
|
|
101
|
+
</p>
|
|
102
|
+
<LiveQA />
|
|
103
|
+
</div>
|
|
104
|
+
</section>
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
**Props:**
|
|
108
|
+
|
|
109
|
+
| Prop | Type | Required | Description |
|
|
110
|
+
|------|------|----------|-------------|
|
|
111
|
+
| `sessionId` | `string` | No | Live session ID |
|
|
112
|
+
| `serviceUrl` | `string` | No | Service URL |
|
|
113
|
+
|
|
114
|
+
**Behavior:**
|
|
115
|
+
- Text input for submitting questions (with optional name)
|
|
116
|
+
- Scrollable list of submitted questions
|
|
117
|
+
- Unanswered questions appear first
|
|
118
|
+
- Answered questions show a green badge
|
|
119
|
+
- Questions update every 5 seconds
|
|
120
|
+
|
|
121
|
+
### LiveAudienceCount
|
|
122
|
+
|
|
123
|
+
Shows how many people are watching the live presentation.
|
|
124
|
+
|
|
125
|
+
```tsx
|
|
126
|
+
import { LiveAudienceCount } from '@strategicnerds/slide-nerds'
|
|
127
|
+
|
|
128
|
+
<section data-slide="">
|
|
129
|
+
<div style={{ padding: 'var(--slide-padding)' }}
|
|
130
|
+
className="flex flex-col items-center justify-center min-h-screen">
|
|
131
|
+
<LiveAudienceCount />
|
|
132
|
+
<h2 className="text-[2.5rem] font-bold mt-8">Welcome, everyone</h2>
|
|
133
|
+
</div>
|
|
134
|
+
</section>
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
**Props:**
|
|
138
|
+
|
|
139
|
+
| Prop | Type | Required | Description |
|
|
140
|
+
|------|------|----------|-------------|
|
|
141
|
+
| `sessionId` | `string` | No | Live session ID |
|
|
142
|
+
| `serviceUrl` | `string` | No | Service URL |
|
|
143
|
+
|
|
144
|
+
**Behavior:**
|
|
145
|
+
- Shows "X watching" with a pulsing green dot
|
|
146
|
+
- Automatically joins on mount, leaves on unmount
|
|
147
|
+
- Count updates every 5 seconds
|
|
148
|
+
|
|
149
|
+
### LiveWordCloud
|
|
150
|
+
|
|
151
|
+
Audience submits one word or short phrase. Words appear as a growing cloud with size proportional to frequency.
|
|
152
|
+
|
|
153
|
+
```tsx
|
|
154
|
+
import { LiveWordCloud } from '@strategicnerds/slide-nerds'
|
|
155
|
+
|
|
156
|
+
<section data-slide="">
|
|
157
|
+
<div style={{ padding: 'var(--slide-padding)' }}
|
|
158
|
+
className="flex flex-col items-center justify-center min-h-screen">
|
|
159
|
+
<h2 className="text-[2.5rem] font-bold mb-8">In one word, describe your experience</h2>
|
|
160
|
+
<LiveWordCloud prompt="One word that describes your experience" />
|
|
161
|
+
</div>
|
|
162
|
+
</section>
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
**Props:**
|
|
166
|
+
|
|
167
|
+
| Prop | Type | Required | Description |
|
|
168
|
+
|------|------|----------|-------------|
|
|
169
|
+
| `prompt` | `string` | Yes | The prompt shown above the input |
|
|
170
|
+
| `sessionId` | `string` | No | Live session ID |
|
|
171
|
+
| `serviceUrl` | `string` | No | Service URL |
|
|
172
|
+
|
|
173
|
+
**Behavior:**
|
|
174
|
+
- Text input for submitting a word (max 50 characters)
|
|
175
|
+
- One submission per viewer per slide
|
|
176
|
+
- Words display as a cloud with font sizes scaled by frequency
|
|
177
|
+
- Cloud updates every 5 seconds
|
|
178
|
+
|
|
179
|
+
## Local development
|
|
180
|
+
|
|
181
|
+
For local development, pass `serviceUrl` to each component:
|
|
182
|
+
|
|
183
|
+
```tsx
|
|
184
|
+
<LivePoll
|
|
185
|
+
question="Test poll"
|
|
186
|
+
options={['A', 'B', 'C']}
|
|
187
|
+
serviceUrl="http://localhost:3000"
|
|
188
|
+
/>
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
You need a running live session. Start one from the deck detail page on localhost:3000, then add `?session=SESSION_ID` to your deck's local dev URL.
|
|
192
|
+
|
|
193
|
+
## Combining components
|
|
194
|
+
|
|
195
|
+
You can put multiple live components on a single slide:
|
|
196
|
+
|
|
197
|
+
```tsx
|
|
198
|
+
<section data-slide="">
|
|
199
|
+
<div style={{ padding: 'var(--slide-padding)' }}
|
|
200
|
+
className="flex flex-col items-center justify-center min-h-screen">
|
|
201
|
+
<div className="flex items-center justify-between w-full mb-8">
|
|
202
|
+
<h2 className="text-[2.5rem] font-bold">Let's hear from you</h2>
|
|
203
|
+
<LiveAudienceCount />
|
|
204
|
+
</div>
|
|
205
|
+
<div className="grid grid-cols-2 gap-8 w-full">
|
|
206
|
+
<LivePoll
|
|
207
|
+
question="How are we doing?"
|
|
208
|
+
options={['Great', 'Good', 'Okay', 'Needs work']}
|
|
209
|
+
/>
|
|
210
|
+
<LiveQA />
|
|
211
|
+
</div>
|
|
212
|
+
<LiveReactions />
|
|
213
|
+
</div>
|
|
214
|
+
</section>
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
## Slide with reactions always visible
|
|
218
|
+
|
|
219
|
+
To keep reactions available across all slides (not just one), add the component to your layout instead of a specific slide:
|
|
220
|
+
|
|
221
|
+
```tsx
|
|
222
|
+
// app/layout.tsx
|
|
223
|
+
import { LiveReactions } from '@strategicnerds/slide-nerds'
|
|
224
|
+
import { SlideRuntime } from '@strategicnerds/slide-nerds'
|
|
225
|
+
|
|
226
|
+
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
227
|
+
return (
|
|
228
|
+
<html lang="en">
|
|
229
|
+
<body>
|
|
230
|
+
<SlideRuntime>{children}</SlideRuntime>
|
|
231
|
+
<LiveReactions />
|
|
232
|
+
</body>
|
|
233
|
+
</html>
|
|
234
|
+
)
|
|
235
|
+
}
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
## When not to use these components
|
|
239
|
+
|
|
240
|
+
- **Static presentations** that won't be presented live. The components show "No active session" without a live session.
|
|
241
|
+
- **Self-hosted decks** not pushed to slidenerds.com. The components call the slidenerds.com API.
|
|
242
|
+
- **Offline presentations**. The components require an internet connection.
|
|
243
|
+
|
|
244
|
+
For static audience interaction patterns (QR codes, feedback links), use the interactive skill instead.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { NextConfig } from 'next'
|
|
2
|
+
|
|
3
|
+
const nextConfig: NextConfig = {
|
|
4
|
+
webpack: (config, { isServer }) => {
|
|
5
|
+
if (!isServer) {
|
|
6
|
+
config.resolve.fallback = {
|
|
7
|
+
...config.resolve.fallback,
|
|
8
|
+
fs: false,
|
|
9
|
+
path: false,
|
|
10
|
+
stream: false,
|
|
11
|
+
}
|
|
12
|
+
config.resolve.alias = {
|
|
13
|
+
...config.resolve.alias,
|
|
14
|
+
'node:fs': false,
|
|
15
|
+
'node:path': false,
|
|
16
|
+
'node:stream': false,
|
|
17
|
+
'node:url': false,
|
|
18
|
+
'node:buffer': false,
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return config
|
|
22
|
+
},
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export default nextConfig
|