Skip to content

Commit 3c9e5c4

Browse files
authored
Merge pull request #29 from abhiksark/feature/refresh-demo-gif
docs: refresh demo GIF for zero-config first run
2 parents 3010e5d + 105e6fa commit 3c9e5c4

3 files changed

Lines changed: 30 additions & 25 deletions

File tree

docs/DEMO_GIF.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ loads quickly on GitHub and PyPI.
4545

4646
The scripted flow should stay focused on the first-time user path:
4747

48-
1. Initialize a clean workspace.
49-
2. Show topic progress with `pythonlings list`.
50-
3. Show a hint and official docs link with `pythonlings hint variables1`.
51-
4. Open the Pythonlings TUI.
52-
5. Show the first pending exercise in the coding screen.
53-
6. Open and close the local docs window with `F5` and `Esc`.
54-
7. Open the topic picker with `F4`.
55-
8. Quit with `Ctrl+Q`.
48+
1. Run `pythonlings` with no setup — it creates `~/.pythonlings` and opens the
49+
first pending exercise (zero-config first run).
50+
2. Show the first pending exercise in the coding screen.
51+
3. Open and close the local docs window with `F5` and `Esc`.
52+
4. Open the topic picker with `F4`.
53+
5. Quit with `Ctrl+Q`.
54+
6. Show topic progress with `pythonlings list`.
55+
7. Show a hint and official docs link with `pythonlings hint variables1`.
5656

5757
## Fallback Workflow
5858

-217 KB
Loading

docs/demo.tape

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,36 +8,41 @@ Set Padding 16
88
Set Framerate 16
99
Set TypingSpeed 35ms
1010

11-
Type "pythonlings init --path /tmp/pythonlings-demo"
11+
# Hidden setup: a throwaway HOME so `pythonlings` creates a fresh ~/.pythonlings
12+
# without touching the real one, from a non-workspace directory so zero-config
13+
# resolution kicks in. None of this is recorded.
14+
Hide
15+
Type 'export HOME=/tmp/pythonlings-demo && rm -rf "$HOME" && mkdir -p "$HOME" && cd "$HOME" && clear'
1216
Enter
13-
Sleep 1s
14-
15-
Type "cd /tmp/pythonlings-demo"
16-
Enter
17-
Sleep 300ms
18-
19-
Type "pythonlings list"
20-
Enter
21-
Sleep 1.5s
22-
23-
Type "pythonlings hint variables1"
24-
Enter
25-
Sleep 1.5s
17+
Sleep 500ms
18+
Show
2619

20+
# Zero-config: one command creates the workspace and opens the first exercise.
2721
Type "pythonlings"
2822
Enter
29-
Sleep 2s
23+
Sleep 3s
3024

25+
# Coding screen -> local Python reference (F5), then close it (Esc)
3126
Escape
3227
Type@0ms "[15~"
3328
Sleep 2s
34-
3529
Escape
3630
Sleep 700ms
3731

32+
# Topic picker (F4)
3833
Escape
3934
Type@0ms "OS"
4035
Sleep 1.5s
4136

37+
# Quit back to the shell
4238
Ctrl+Q
43-
Sleep 500ms
39+
Sleep 800ms
40+
41+
# There's a CLI too: progress and hints
42+
Type "pythonlings list"
43+
Enter
44+
Sleep 1.5s
45+
46+
Type "pythonlings hint variables1"
47+
Enter
48+
Sleep 1.8s

0 commit comments

Comments
 (0)