Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:18:13 +08:00
commit b8a1bfd4a1
12 changed files with 1582 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
# Example batch configuration for generating multiple demos
# Usage: batch_generate.py batch-config.yaml --output-dir ./output
demos:
- name: "Installation Demo"
output: "install.gif"
title: "Package Installation"
theme: "Dracula"
width: 1400
height: 700
commands:
- "npm install my-package"
- "npm run build"
- name: "Usage Demo"
output: "usage.gif"
title: "Basic Usage"
theme: "Nord"
commands:
- "my-package --help"
- "my-package init"
- "my-package run"
- name: "Quick Start"
output: "quickstart.gif"
theme: "Tokyo Night"
commands:
- "git clone https://github.com/user/repo.git"
- "cd repo"
- "npm install"
- "npm start"

View File

@@ -0,0 +1,18 @@
Output demo.gif
Set FontSize 16
Set Width 1400
Set Height 700
Set Theme "Dracula"
Set Padding 20
Type "# Demo Title" Sleep 500ms Enter
Sleep 1s
Type "command1" Sleep 500ms
Enter
Sleep 2s
Type "command2" Sleep 500ms
Enter
Sleep 2s

View File

@@ -0,0 +1,21 @@
Output demo.gif
Set FontSize 16
Set Width 1400
Set Height 700
Set Theme "Dracula"
Set Padding 20
Set TypingSpeed 100ms
Type "# Interactive Demo" Sleep 500ms Enter
Sleep 1.5s
Type "# Type commands naturally..." Sleep 500ms Enter
Sleep 1s
Type "echo 'Hello World'" Sleep 500ms
Enter
Sleep 2s
Type "# Typing simulation makes it feel real" Sleep 500ms Enter
Sleep 2s