diff --git a/.github/demo.gif b/.github/demo.gif index b53d518..42e1052 100644 Binary files a/.github/demo.gif and b/.github/demo.gif differ diff --git a/.github/demo.tape b/.github/demo.tape index 6895b3c..8dad6d2 100644 --- a/.github/demo.tape +++ b/.github/demo.tape @@ -1,6 +1,6 @@ -# chopsticks demo — narrative: "what can I do with this?" +# chopsticks demo — "what can I do with this?" # Rule: NEVER use Escape to close FZF — always Enter (deterministic). -# Pacing: each scene holds long enough for a viewer to read and understand. +# Pacing: hold each scene long enough for the viewer to read. Output .github/demo.gif Set Shell bash @@ -11,10 +11,15 @@ Set Theme "Builtin Solarized Dark" Set TypingSpeed 50ms Set Padding 10 -# ── 1. Open file — syntax highlighting + statusline ──────────────────────── +# ── 0. Start API server in background ────────────────────────────────────── Type "cd /tmp/demo-project" Enter -Sleep 0.8s +Sleep 0.5s +Type "python3 serve.py > /dev/null 2>&1 &" +Enter +Sleep 1s + +# ── 1. Open file — syntax highlighting + statusline ──────────────────────── Type "vim server.py" Enter Sleep 3.5s @@ -35,16 +40,18 @@ Sleep 3s Enter Sleep 3s -# ── 4. Run file (,cr) ───────────────────────────────────────────────────── -Type ":edit server.py" +# ── 4. Curl the running API from inside Vim ──────────────────────────────── +Type ":!curl -s localhost:8080/users | python3 -m json.tool" Enter -Sleep 1.5s -Type ",cr" -Sleep 4s +Sleep 4.5s Enter Sleep 1.5s # ── 5. Cheat sheet (,?) ─────────────────────────────────────────────────── +# Reset to server.py so cheat sheet shows code on left, keys on right. +Type ":edit server.py" +Enter +Sleep 1s Type ",?" Sleep 5.5s Type "q"