@pep/term-deck 1.0.32 → 1.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.
Files changed (67) hide show
  1. package/dist/bin/term-deck.js +2381 -13
  2. package/dist/bin/term-deck.js.map +1 -1
  3. package/dist/index.d.ts +9 -1
  4. package/dist/index.js +211 -3
  5. package/dist/index.js.map +1 -1
  6. package/package.json +4 -4
  7. package/README.md +0 -422
  8. package/examples/slides/01-welcome.md +0 -9
  9. package/examples/slides/02-features.md +0 -12
  10. package/examples/slides/03-colors.md +0 -17
  11. package/examples/slides/04-ascii-art.md +0 -11
  12. package/examples/slides/05-gradients.md +0 -14
  13. package/examples/slides/06-themes.md +0 -13
  14. package/examples/slides/07-markdown.md +0 -13
  15. package/examples/slides/08-controls.md +0 -13
  16. package/examples/slides/09-thanks.md +0 -11
  17. package/examples/slides/deck.config.ts +0 -13
  18. package/examples/slides-hacker/01-welcome.md +0 -9
  19. package/examples/slides-hacker/02-features.md +0 -12
  20. package/examples/slides-hacker/03-colors.md +0 -17
  21. package/examples/slides-hacker/04-ascii-art.md +0 -11
  22. package/examples/slides-hacker/05-gradients.md +0 -14
  23. package/examples/slides-hacker/06-themes.md +0 -13
  24. package/examples/slides-hacker/07-markdown.md +0 -13
  25. package/examples/slides-hacker/08-controls.md +0 -13
  26. package/examples/slides-hacker/09-thanks.md +0 -11
  27. package/examples/slides-hacker/deck.config.ts +0 -13
  28. package/examples/slides-matrix/01-welcome.md +0 -9
  29. package/examples/slides-matrix/02-features.md +0 -12
  30. package/examples/slides-matrix/03-colors.md +0 -17
  31. package/examples/slides-matrix/04-ascii-art.md +0 -11
  32. package/examples/slides-matrix/05-gradients.md +0 -14
  33. package/examples/slides-matrix/06-themes.md +0 -13
  34. package/examples/slides-matrix/07-markdown.md +0 -13
  35. package/examples/slides-matrix/08-controls.md +0 -13
  36. package/examples/slides-matrix/09-thanks.md +0 -11
  37. package/examples/slides-matrix/deck.config.ts +0 -13
  38. package/examples/slides-minimal/01-welcome.md +0 -9
  39. package/examples/slides-minimal/02-features.md +0 -12
  40. package/examples/slides-minimal/03-colors.md +0 -17
  41. package/examples/slides-minimal/04-ascii-art.md +0 -11
  42. package/examples/slides-minimal/05-gradients.md +0 -14
  43. package/examples/slides-minimal/06-themes.md +0 -13
  44. package/examples/slides-minimal/07-markdown.md +0 -13
  45. package/examples/slides-minimal/08-controls.md +0 -13
  46. package/examples/slides-minimal/09-thanks.md +0 -11
  47. package/examples/slides-minimal/deck.config.ts +0 -13
  48. package/examples/slides-neon/01-welcome.md +0 -9
  49. package/examples/slides-neon/02-features.md +0 -12
  50. package/examples/slides-neon/03-colors.md +0 -17
  51. package/examples/slides-neon/04-ascii-art.md +0 -11
  52. package/examples/slides-neon/05-gradients.md +0 -14
  53. package/examples/slides-neon/06-themes.md +0 -13
  54. package/examples/slides-neon/07-markdown.md +0 -13
  55. package/examples/slides-neon/08-controls.md +0 -13
  56. package/examples/slides-neon/09-thanks.md +0 -11
  57. package/examples/slides-neon/deck.config.ts +0 -13
  58. package/examples/slides-retro/01-welcome.md +0 -9
  59. package/examples/slides-retro/02-features.md +0 -12
  60. package/examples/slides-retro/03-colors.md +0 -17
  61. package/examples/slides-retro/04-ascii-art.md +0 -11
  62. package/examples/slides-retro/05-gradients.md +0 -14
  63. package/examples/slides-retro/06-themes.md +0 -13
  64. package/examples/slides-retro/07-markdown.md +0 -13
  65. package/examples/slides-retro/08-controls.md +0 -13
  66. package/examples/slides-retro/09-thanks.md +0 -11
  67. package/examples/slides-retro/deck.config.ts +0 -13
package/README.md DELETED
@@ -1,422 +0,0 @@
1
- # term-deck
2
-
3
- A terminal-based presentation tool with a cyberpunk aesthetic. Create beautiful slideshows in your terminal with matrix rain backgrounds, glitch effects, and ASCII art.
4
-
5
- ![npm version](https://img.shields.io/npm/v/@pep/term-deck?color=green)
6
- ![TypeScript](https://img.shields.io/badge/TypeScript-5.0-blue?logo=typescript)
7
- ![License](https://img.shields.io/badge/license-MIT-green)
8
-
9
- ## Demo
10
-
11
- ![term-deck demo](./demo.gif)
12
-
13
- *Matrix rain backgrounds, glitch animations, and ASCII art in your terminal*
14
-
15
- ## Features
16
-
17
- - 🌊 **Matrix Rain Background** - Animated katakana/symbol rain effects
18
- - ✨ **Glitch Reveal Animations** - Line-by-line scramble effects
19
- - 🎨 **Built-in Themes** - Matrix, Neon, Retro, Minimal, Hacker
20
- - 📝 **Markdown Slides** - One file per slide, easy to version control
21
- - 🎯 **Figlet ASCII Art** - Big text rendered with figlet
22
- - 🎭 **Custom Gradients** - Color gradients for headings
23
- - 📹 **Export to Video** - Export presentations to MP4 or GIF
24
- - 🎬 **Record to Asciicast** - Record for asciinema playback
25
- - 📋 **Presenter Notes** - Speaker notes in a separate terminal
26
- - 🔧 **Fully Themeable** - Create custom themes
27
- - ⚡ **Beautiful CLI** - Colorful, styled terminal output
28
- - 📦 **Type-Safe** - Full TypeScript with Zod validation
29
-
30
- ## Installation
31
-
32
- ```bash
33
- # npm
34
- npm install -g @pep/term-deck
35
-
36
- # pnpm
37
- pnpm add -g @pep/term-deck
38
-
39
- # npx (no install)
40
- npx @pep/term-deck init my-talk
41
- ```
42
-
43
- ## Quick Start
44
-
45
- ```bash
46
- # Create a new presentation
47
- term-deck init my-talk
48
-
49
- # Start presenting
50
- cd my-talk
51
- term-deck present .
52
-
53
- # Export to video
54
- term-deck export . -o presentation.mp4
55
- ```
56
-
57
- Output:
58
- ```
59
- ┌ Creating my-talk
60
-
61
- ◆ Created my-talk/
62
-
63
- ◇ cd my-talk
64
- ◇ term-deck present .
65
-
66
- └ Ready to present!
67
- ```
68
-
69
- This creates:
70
- ```
71
- my-talk/
72
- ├── 01-intro.md
73
- ├── 02-content.md
74
- ├── 03-end.md
75
- ├── deck.config.js
76
- └── README.md
77
- ```
78
-
79
- ## CLI Reference
80
-
81
- Run `term-deck --help` to see the styled help:
82
-
83
- ```
84
- ┌─────────────────────────────────────────────────────────────┐
85
- │ term-deck │
86
- │ Terminal presentation tool with a cyberpunk aesthetic │
87
- └─────────────────────────────────────────────────────────────┘
88
-
89
- ▶ QUICK START:
90
-
91
- ⚡ Create a new deck
92
- term-deck init my-talk
93
-
94
- 🎬 Start presenting
95
- cd my-talk && term-deck present .
96
-
97
- 📹 Export to video
98
- term-deck export . -o presentation.mp4
99
-
100
- ▶ COMMANDS:
101
-
102
- present <dir> Start a presentation
103
- -s, --start <n> Start at slide number
104
- -n, --notes Show presenter notes (requires --notes-tty)
105
- --notes-tty <path> TTY for notes (e.g., /dev/ttys001)
106
- -l, --loop Loop back after last slide
107
-
108
- export <dir> Export to GIF or MP4
109
- -o, --output <file> Output file (.mp4 or .gif)
110
- -w, --width <n> Terminal width (default: 120)
111
- -h, --height <n> Terminal height (default: 40)
112
- --fps <n> Frames per second (default: 30)
113
- -t, --slide-time <n> Seconds per slide (default: 3)
114
- -q, --quality <n> Quality 1-100 (default: 80)
115
-
116
- init <name> Create a new presentation deck
117
- -t, --theme <name> Theme preset (default: matrix)
118
-
119
- ▶ HOTKEYS:
120
-
121
- Space / → Next slide
122
- ← Previous slide
123
- 0-9 Jump to slide
124
- l Show slide list
125
- q Quit
126
- ```
127
-
128
- ## Keyboard Controls
129
-
130
- | Key | Action |
131
- |-----|--------|
132
- | `Space` / `Enter` / `→` | Next slide |
133
- | `←` / `Backspace` | Previous slide |
134
- | `0-9` | Jump to slide |
135
- | `l` | Show slide list |
136
- | `q` / `Esc` | Quit |
137
-
138
- ## Slide Format
139
-
140
- Each slide is a markdown file with YAML frontmatter:
141
-
142
- **01-intro.md**
143
- ```markdown
144
- ---
145
- title: Welcome
146
- bigText: HELLO
147
- gradient: fire
148
- ---
149
-
150
- {GREEN}Welcome to my presentation!{/}
151
-
152
- This is the body text of the slide.
153
- ```
154
-
155
- **02-content.md**
156
- ```markdown
157
- ---
158
- title: Main Point
159
- bigText:
160
- - MULTI
161
- - LINE
162
- gradient: cool
163
- ---
164
-
165
- {WHITE}You can have multiple bigText lines.{/}
166
-
167
- {CYAN}And use color tokens for styling.{/}
168
-
169
- <!-- notes -->
170
- These are presenter notes.
171
- Only visible in notes mode (-n flag).
172
- ```
173
-
174
- ### Frontmatter Options
175
-
176
- | Field | Type | Description |
177
- |-------|------|-------------|
178
- | `title` | string | Window title (required) |
179
- | `bigText` | string \| string[] | ASCII art text via figlet |
180
- | `gradient` | string | Gradient for bigText: `fire`, `cool`, `pink`, `hf` |
181
- | `transition` | string | Animation: `glitch`, `fade`, `instant`, `typewriter` |
182
-
183
- ### Text Colors
184
-
185
- Use color tags in your slide content:
186
-
187
- ```markdown
188
- {GREEN}green text{/}
189
- {ORANGE}orange text{/}
190
- {CYAN}cyan text{/}
191
- {PINK}pink text{/}
192
- {WHITE}white text{/}
193
- {GRAY}gray text{/}
194
- {RED}red text{/}
195
- ```
196
-
197
- ## Configuration
198
-
199
- Create a `deck.config.js` in your slides directory:
200
-
201
- ```javascript
202
- // deck.config.js
203
- export default {
204
- title: 'My Presentation',
205
-
206
- // Use a theme preset
207
- themePreset: 'matrix', // 'matrix', 'neon', 'retro', 'minimal', 'hacker'
208
-
209
- // Or customize the theme
210
- theme: {
211
- name: 'custom',
212
- colors: {
213
- primary: '#00cc66',
214
- accent: '#ff6600',
215
- background: '#0a0a0a',
216
- text: '#ffffff',
217
- muted: '#666666',
218
- },
219
- gradients: {
220
- fire: ['#ff6600', '#ff3300', '#ff0066'],
221
- },
222
- glyphs: 'アイウエオカキクケコ0123456789',
223
- },
224
- }
225
- ```
226
-
227
- ## Export Options
228
-
229
- ### Export to MP4/GIF
230
-
231
- ```bash
232
- # Export to MP4
233
- term-deck export . -o presentation.mp4
234
-
235
- # Export to GIF
236
- term-deck export . -o presentation.gif
237
-
238
- # Custom settings
239
- term-deck export . -o demo.mp4 --width 100 --height 30 --fps 24 --slide-time 5
240
- ```
241
-
242
- Output:
243
- ```
244
- ┌ term-deck export
245
-
246
- ◐ Exporting 10 slides
247
- Slide 3/10: CONTENT
248
-
249
- ◐ Encoding video...
250
-
251
- ◇ Exported to presentation.mp4
252
-
253
- └ Export complete
254
- ```
255
-
256
- ### Record to Asciicast
257
-
258
- Record presentations for playback with [asciinema](https://asciinema.org):
259
-
260
- ```bash
261
- term-deck record . -o presentation.cast
262
-
263
- # Play back
264
- asciinema play presentation.cast
265
- ```
266
-
267
- ## Themes
268
-
269
- term-deck includes built-in themes. Set via `themePreset` in config:
270
-
271
- | Theme | Palette | Best For |
272
- |-------|---------|----------|
273
- | **matrix** | Green/Orange | Classic cyberpunk |
274
- | **neon** | Pink/Cyan/Purple | Product launches |
275
- | **retro** | Pink/Orange/Purple | Creative talks |
276
- | **minimal** | Monochrome | Corporate, documentation |
277
- | **hacker** | All Green | Security talks, live coding |
278
-
279
- ### Creating Custom Themes
280
-
281
- ```javascript
282
- // deck.config.js
283
- export default {
284
- title: 'My Presentation',
285
- theme: {
286
- name: 'my-theme',
287
- colors: {
288
- primary: '#ff0000',
289
- accent: '#00ff00',
290
- background: '#000000',
291
- text: '#ffffff',
292
- muted: '#666666',
293
- },
294
- gradients: {
295
- fire: ['#ff0000', '#ff6600', '#ffcc00'],
296
- cool: ['#0000ff', '#0066ff', '#00ccff'],
297
- pink: ['#ff00ff', '#ff66ff', '#ffccff'],
298
- },
299
- glyphs: '█▓▒░▀▄▌▐■□▪▫',
300
- animations: {
301
- revealSpeed: 1.0,
302
- matrixDensity: 50,
303
- glitchIterations: 5,
304
- lineDelay: 30,
305
- matrixInterval: 80,
306
- },
307
- },
308
- }
309
- ```
310
-
311
- ## Presenter Notes
312
-
313
- Add notes to your slides that only you can see:
314
-
315
- ```markdown
316
- ---
317
- title: My Slide
318
- ---
319
-
320
- Content visible to audience...
321
-
322
- <!-- notes -->
323
- These notes are only visible in the notes window.
324
- Remember to mention the key points!
325
- ```
326
-
327
- Run with notes in a separate terminal:
328
-
329
- ```bash
330
- # Step 1: Open a second terminal and get its TTY path
331
- tty
332
- # Output: /dev/ttys001 (or similar)
333
-
334
- # Step 2: In your main terminal, start presenting with notes
335
- term-deck present . --notes --notes-tty /dev/ttys001
336
- ```
337
-
338
- The notes will appear in the second terminal while you present in the first.
339
-
340
- ## Examples
341
-
342
- Try the example presentations:
343
-
344
- ```bash
345
- git clone https://github.com/PepijnSenders/term-deck.git
346
- cd term-deck
347
-
348
- # Try different themes
349
- term-deck present examples/slides-matrix/
350
- term-deck present examples/slides-neon/
351
- term-deck present examples/slides-retro/
352
- term-deck present examples/slides-minimal/
353
- term-deck present examples/slides-hacker/
354
- ```
355
-
356
- ## Development
357
-
358
- ### From Source
359
-
360
- ```bash
361
- git clone https://github.com/PepijnSenders/term-deck.git
362
- cd term-deck
363
- pnpm install
364
- pnpm build
365
- pnpm dev present examples/slides-matrix/
366
- ```
367
-
368
- ### Project Structure
369
-
370
- ```
371
- term-deck/
372
- ├── bin/term-deck.ts # CLI entry point
373
- ├── src/
374
- │ ├── cli/ # CLI commands & help
375
- │ ├── core/ # Core logic (deck, slide, theme)
376
- │ ├── renderer/ # TUI rendering
377
- │ ├── presenter/ # Presentation controller
378
- │ ├── export/ # Export to GIF/MP4/asciicast
379
- │ └── schemas/ # Zod validation schemas
380
- ├── examples/ # Example presentations
381
- └── package.json
382
- ```
383
-
384
- ### Requirements
385
-
386
- - Node.js 18+
387
- - For video export: [ffmpeg](https://ffmpeg.org)
388
-
389
- ```bash
390
- # Install ffmpeg
391
- brew install ffmpeg # macOS
392
- sudo apt install ffmpeg # Ubuntu/Debian
393
- ```
394
-
395
- ## Why term-deck?
396
-
397
- - **For speakers** who want terminal-native presentations
398
- - **For developers** who want to present code without context switching
399
- - **For streamers** who want a cyberpunk aesthetic
400
- - **For anyone** tired of PowerPoint
401
-
402
- ## Credits
403
-
404
- Built with:
405
- - [neo-blessed](https://github.com/embarklabs/neo-blessed) - Terminal UI
406
- - [figlet](https://github.com/patorjk/figlet.js) - ASCII art text
407
- - [gradient-string](https://github.com/bokub/gradient-string) - Color gradients
408
- - [@clack/prompts](https://github.com/bombshell-dev/clack) - Beautiful CLI prompts
409
- - [picocolors](https://github.com/alexeyraspopov/picocolors) - Terminal colors
410
- - [Zod](https://github.com/colinhacks/zod) - Schema validation
411
-
412
- Inspired by:
413
- - [Slidev](https://sli.dev) - Presentation slides for developers
414
- - [mdp](https://github.com/visit1985/mdp) - Markdown presentation tool
415
-
416
- ## License
417
-
418
- MIT License - see [LICENSE](./LICENSE) for details.
419
-
420
- ---
421
-
422
- Made with 💚 by the term-deck team
@@ -1,9 +0,0 @@
1
- ---
2
- title: Welcome
3
- bigText: TERM-DECK
4
- gradient: fire
5
- ---
6
-
7
- {WHITE}Terminal Presentations with Style{/}
8
-
9
- {CYAN}Press Space or Enter to continue{/}
@@ -1,12 +0,0 @@
1
- ---
2
- title: Features
3
- bigText: FEATURES
4
- gradient: cool
5
- ---
6
-
7
- {GREEN}✓{/} {WHITE}Matrix rain backgrounds{/}
8
- {GREEN}✓{/} {WHITE}Glitch reveal animations{/}
9
- {GREEN}✓{/} {WHITE}ASCII art with figlet{/}
10
- {GREEN}✓{/} {WHITE}Color gradients{/}
11
- {GREEN}✓{/} {WHITE}Multiple themes{/}
12
- {GREEN}✓{/} {WHITE}Markdown slides{/}
@@ -1,17 +0,0 @@
1
- ---
2
- title: Color Tokens
3
- bigText: COLORS
4
- gradient: pink
5
- ---
6
-
7
- {GREEN}Green text with GREEN token{/}
8
-
9
- {ORANGE}Orange text with ORANGE token{/}
10
-
11
- {CYAN}Cyan text with CYAN token{/}
12
-
13
- {PINK}Pink text with PINK token{/}
14
-
15
- {WHITE}White text with WHITE token{/}
16
-
17
- {GRAY}Gray text with GRAY token{/}
@@ -1,11 +0,0 @@
1
- ---
2
- title: ASCII Art
3
- bigText: ASCII
4
- gradient: hf
5
- ---
6
-
7
- {WHITE}Big text is rendered with {CYAN}figlet{WHITE}.{/}
8
-
9
- {GRAY}You can use single or multiple lines.{/}
10
-
11
- {ORANGE}Perfect for titles and emphasis!{/}
@@ -1,14 +0,0 @@
1
- ---
2
- title: Gradients
3
- bigText:
4
- - GRADIENT
5
- - TEXT
6
- gradient: fire
7
- ---
8
-
9
- {WHITE}Choose from built-in gradients:{/}
10
-
11
- {ORANGE}fire{/} {GRAY}→ Warm colors{/}
12
- {CYAN}cool{/} {GRAY}→ Cool colors{/}
13
- {PINK}pink{/} {GRAY}→ Pink/magenta{/}
14
- {GREEN}hf{/} {GRAY}→ HelloFresh brand{/}
@@ -1,13 +0,0 @@
1
- ---
2
- title: Themes
3
- bigText: THEMES
4
- gradient: cool
5
- ---
6
-
7
- {WHITE}5 Built-in Themes:{/}
8
-
9
- {GREEN}matrix{/} {GRAY}- Classic cyberpunk{/}
10
- {PINK}neon{/} {GRAY}- Hot pink and cyan{/}
11
- {ORANGE}retro{/} {GRAY}- 80s synthwave{/}
12
- {WHITE}minimal{/} {GRAY}- Clean monochrome{/}
13
- {GREEN}hacker{/} {GRAY}- All green terminal{/}
@@ -1,13 +0,0 @@
1
- ---
2
- title: Markdown Slides
3
- bigText: MARKDOWN
4
- gradient: pink
5
- ---
6
-
7
- {WHITE}Each slide is a markdown file:{/}
8
-
9
- {CYAN}01-intro.md{/}
10
- {CYAN}02-content.md{/}
11
- {CYAN}03-conclusion.md{/}
12
-
13
- {GRAY}Easy to edit, version, and share!{/}
@@ -1,13 +0,0 @@
1
- ---
2
- title: Keyboard Controls
3
- bigText: CONTROLS
4
- gradient: hf
5
- ---
6
-
7
- {WHITE}Navigate your presentation:{/}
8
-
9
- {CYAN}Space / Enter / →{/} {GRAY}Next slide{/}
10
- {CYAN}← / Backspace{/} {GRAY}Previous slide{/}
11
- {CYAN}0-9{/} {GRAY}Jump to slide{/}
12
- {CYAN}l{/} {GRAY}Show slide list{/}
13
- {CYAN}q / Esc{/} {GRAY}Quit{/}
@@ -1,11 +0,0 @@
1
- ---
2
- title: Thanks
3
- bigText: THANKS
4
- gradient: fire
5
- ---
6
-
7
- {CYAN}github.com/PepijnSenders/term-deck{/}
8
-
9
- {WHITE}Built with {GREEN}Bun{WHITE}, {PINK}TypeScript{WHITE}, and {ORANGE}neo-blessed{/}
10
-
11
- {GRAY}MIT License{/}
@@ -1,13 +0,0 @@
1
- import { defineConfig } from '../src/index.js';
2
- import matrix from '../src/themes/matrix/index.js';
3
-
4
- export default defineConfig({
5
- title: 'term-deck Demo',
6
- author: 'term-deck',
7
- theme: matrix,
8
- settings: {
9
- startSlide: 0,
10
- loop: false,
11
- showProgress: false,
12
- },
13
- });
@@ -1,9 +0,0 @@
1
- ---
2
- title: Welcome
3
- bigText: TERM-DECK
4
- gradient: fire
5
- ---
6
-
7
- {WHITE}Terminal Presentations with Style{/}
8
-
9
- {CYAN}Press Space or Enter to continue{/}
@@ -1,12 +0,0 @@
1
- ---
2
- title: Features
3
- bigText: FEATURES
4
- gradient: cool
5
- ---
6
-
7
- {GREEN}✓{/} {WHITE}Matrix rain backgrounds{/}
8
- {GREEN}✓{/} {WHITE}Glitch reveal animations{/}
9
- {GREEN}✓{/} {WHITE}ASCII art with figlet{/}
10
- {GREEN}✓{/} {WHITE}Color gradients{/}
11
- {GREEN}✓{/} {WHITE}Multiple themes{/}
12
- {GREEN}✓{/} {WHITE}Markdown slides{/}
@@ -1,17 +0,0 @@
1
- ---
2
- title: Color Tokens
3
- bigText: COLORS
4
- gradient: pink
5
- ---
6
-
7
- {GREEN}Green text with GREEN token{/}
8
-
9
- {ORANGE}Orange text with ORANGE token{/}
10
-
11
- {CYAN}Cyan text with CYAN token{/}
12
-
13
- {PINK}Pink text with PINK token{/}
14
-
15
- {WHITE}White text with WHITE token{/}
16
-
17
- {GRAY}Gray text with GRAY token{/}
@@ -1,11 +0,0 @@
1
- ---
2
- title: ASCII Art
3
- bigText: ASCII
4
- gradient: hf
5
- ---
6
-
7
- {WHITE}Big text is rendered with {CYAN}figlet{WHITE}.{/}
8
-
9
- {GRAY}You can use single or multiple lines.{/}
10
-
11
- {ORANGE}Perfect for titles and emphasis!{/}
@@ -1,14 +0,0 @@
1
- ---
2
- title: Gradients
3
- bigText:
4
- - GRADIENT
5
- - TEXT
6
- gradient: fire
7
- ---
8
-
9
- {WHITE}Choose from built-in gradients:{/}
10
-
11
- {ORANGE}fire{/} {GRAY}→ Warm colors{/}
12
- {CYAN}cool{/} {GRAY}→ Cool colors{/}
13
- {PINK}pink{/} {GRAY}→ Pink/magenta{/}
14
- {GREEN}hf{/} {GRAY}→ HelloFresh brand{/}
@@ -1,13 +0,0 @@
1
- ---
2
- title: Themes
3
- bigText: THEMES
4
- gradient: cool
5
- ---
6
-
7
- {WHITE}5 Built-in Themes:{/}
8
-
9
- {GREEN}matrix{/} {GRAY}- Classic cyberpunk{/}
10
- {PINK}neon{/} {GRAY}- Hot pink and cyan{/}
11
- {ORANGE}retro{/} {GRAY}- 80s synthwave{/}
12
- {WHITE}minimal{/} {GRAY}- Clean monochrome{/}
13
- {GREEN}hacker{/} {GRAY}- All green terminal{/}
@@ -1,13 +0,0 @@
1
- ---
2
- title: Markdown Slides
3
- bigText: MARKDOWN
4
- gradient: pink
5
- ---
6
-
7
- {WHITE}Each slide is a markdown file:{/}
8
-
9
- {CYAN}01-intro.md{/}
10
- {CYAN}02-content.md{/}
11
- {CYAN}03-conclusion.md{/}
12
-
13
- {GRAY}Easy to edit, version, and share!{/}
@@ -1,13 +0,0 @@
1
- ---
2
- title: Keyboard Controls
3
- bigText: CONTROLS
4
- gradient: hf
5
- ---
6
-
7
- {WHITE}Navigate your presentation:{/}
8
-
9
- {CYAN}Space / Enter / →{/} {GRAY}Next slide{/}
10
- {CYAN}← / Backspace{/} {GRAY}Previous slide{/}
11
- {CYAN}0-9{/} {GRAY}Jump to slide{/}
12
- {CYAN}l{/} {GRAY}Show slide list{/}
13
- {CYAN}q / Esc{/} {GRAY}Quit{/}
@@ -1,11 +0,0 @@
1
- ---
2
- title: Thanks
3
- bigText: THANKS
4
- gradient: fire
5
- ---
6
-
7
- {CYAN}github.com/PepijnSenders/term-deck{/}
8
-
9
- {WHITE}Built with {GREEN}Bun{WHITE}, {PINK}TypeScript{WHITE}, and {ORANGE}neo-blessed{/}
10
-
11
- {GRAY}MIT License{/}
@@ -1,13 +0,0 @@
1
- import { defineConfig } from '../src/index.js';
2
- import hacker from '../themes/hacker.js';
3
-
4
- export default defineConfig({
5
- title: 'term-deck Demo [HACKER]',
6
- author: 'term-deck',
7
- theme: hacker,
8
- settings: {
9
- startSlide: 0,
10
- loop: false,
11
- showProgress: false,
12
- },
13
- });