Skip to content

Commit 16dfbd2

Browse files
author
Your Name
committed
docs: switch CLI demo to headless manual-typing gif pipeline
1 parent 3a3c0a2 commit 16dfbd2

5 files changed

Lines changed: 82 additions & 1 deletion

File tree

MEMORY.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,3 +412,25 @@
412412

413413
- `git push origin main`
414414
- remote update range: `2f6b849..1b201f2`
415+
416+
## 2026-02-27 (Headless GIF Re-record)
417+
418+
### Progress
419+
420+
- Re-recorded CLI demo GIF with headless terminal rendering to avoid desktop interference.
421+
- Installed required tooling for headless flow:
422+
- `vhs` (via `go install`)
423+
- `ttyd` (via `scoop install ttyd`)
424+
- Added reusable tape-based recording assets:
425+
- `docs/scripts/cicost_manual_typing.tape`
426+
- `docs/scripts/record_cli_gif_headless.ps1`
427+
- Removed aborted desktop-injection attempt scripts:
428+
- deleted `docs/scripts/manual_type_session.ps1`
429+
- deleted `docs/scripts/record_cli_gif_manual.ps1`
430+
- Updated README demo script reference to the new headless recorder.
431+
432+
### Validation
433+
434+
- `vhs docs/scripts/cicost_manual_typing.tape`
435+
- `docs/assets/cicost-cli-demo.gif` regenerated ✅
436+
- `go test ./...`

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ go build -o cicost .
116116
- Operations runbook: [RUNBOOK.md](RUNBOOK.md)
117117
- Release process: [docs/RELEASE.md](docs/RELEASE.md)
118118
- Launch kit: [docs/LAUNCH.md](docs/LAUNCH.md)
119-
- Demo recording script: `docs/scripts/record_cli_gif.ps1`
119+
- Demo recording script (headless): `docs/scripts/record_cli_gif_headless.ps1`
120120
- Technical specs: [TECHNICAL_SPEC_V1.md](TECHNICAL_SPEC_V1.md), [TECHNICAL_SPEC_V2.md](TECHNICAL_SPEC_V2.md)
121121

122122
## Community and Trust

docs/assets/cicost-cli-demo.gif

-1.26 MB
Loading
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
Output docs/assets/cicost-cli-demo.gif
2+
3+
Set Shell "pwsh"
4+
Set FontSize 18
5+
Set Width 1100
6+
Set Height 700
7+
Set Framerate 30
8+
Set Theme "Builtin Solarized Dark"
9+
Set Padding 20
10+
11+
Type "cd 'C:\\AI Projects\\Fun Stuff\\IndieHacker\\CICost'"
12+
Enter
13+
Sleep 700ms
14+
15+
Type "go build -o cicost.exe ."
16+
Enter
17+
Sleep 1500ms
18+
19+
Type ".\\cicost.exe version"
20+
Enter
21+
Sleep 1200ms
22+
23+
Type ".\\cicost.exe help"
24+
Enter
25+
Sleep 1400ms
26+
27+
Type ".\\cicost.exe policy explain"
28+
Enter
29+
Sleep 1500ms
30+
31+
Type ".\\cicost.exe report --repo owner/repo --days 7 --format table"
32+
Enter
33+
Sleep 1800ms
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
param(
2+
[string]$Tape = "docs/scripts/cicost_manual_typing.tape"
3+
)
4+
5+
$ErrorActionPreference = "Stop"
6+
7+
Set-Location (Resolve-Path (Join-Path $PSScriptRoot "..\.."))
8+
9+
$vhs = Join-Path $env:USERPROFILE "go\bin\vhs.exe"
10+
if (-not (Test-Path $vhs)) {
11+
Write-Host "Installing vhs..." -ForegroundColor Yellow
12+
go install github.com/charmbracelet/vhs@latest
13+
}
14+
15+
if (-not (Get-Command ttyd -ErrorAction SilentlyContinue)) {
16+
Write-Host "Installing ttyd..." -ForegroundColor Yellow
17+
scoop install ttyd
18+
}
19+
20+
Write-Host "Building cicost.exe..." -ForegroundColor Yellow
21+
go build -o cicost.exe .
22+
23+
Write-Host "Rendering GIF from tape (headless)..." -ForegroundColor Yellow
24+
& $vhs $Tape
25+
26+
Write-Host "Done." -ForegroundColor Green

0 commit comments

Comments
 (0)