From 1ad69c5d3f5fc97652309354e8d65ff091bce267 Mon Sep 17 00:00:00 2001 From: K1-R1 <77465250+K1-R1@users.noreply.github.com> Date: Sun, 15 Mar 2026 18:23:05 +0000 Subject: [PATCH] chore: move media files into assets/ directory Moves demo GIFs, social preview PNG, and VHS tape into assets/ to declutter the repo root. Updates image paths in README.md, tape references in CONTRIBUTING.md, and removes phantom tape entries (demo-logo.tape, demo-power.tape) that were documented but never committed. Signed-off-by: K1-R1 <77465250+K1-R1@users.noreply.github.com> --- CONTRIBUTING.md | 26 +++++++++++------------- README.md | 6 +++--- demo-logo.gif => assets/demo-logo.gif | Bin demo-logo.png => assets/demo-logo.png | Bin demo-power.gif => assets/demo-power.gif | Bin demo.gif => assets/demo.gif | Bin demo.tape => assets/demo.tape | 4 ++-- 7 files changed, 17 insertions(+), 19 deletions(-) rename demo-logo.gif => assets/demo-logo.gif (100%) rename demo-logo.png => assets/demo-logo.png (100%) rename demo-power.gif => assets/demo-power.gif (100%) rename demo.gif => assets/demo.gif (100%) rename demo.tape => assets/demo.tape (94%) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a82685f..f8c232e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -64,31 +64,29 @@ always use `UPDATE_GOLDEN=1` to regenerate them from a passing smoosh run. ## Updating the Demos -The demos are recorded with [VHS](https://github.com/charmbracelet/vhs) -(`brew install vhs`). There are three tape files: +The demos live in `assets/`. The interactive demo has a +[VHS](https://github.com/charmbracelet/vhs) tape file (`brew install vhs`): | Tape | Output | Shows | | --- | --- | --- | -| `demo-logo.tape` | `demo-logo.gif` | Banner logo (README hero) | -| `demo.tape` | `demo.gif` | Interactive mode flow | -| `demo-power.tape` | `demo-power.gif` | Power-user flags | +| `assets/demo.tape` | `assets/demo.gif` | Interactive mode flow | -Re-record after the relevant change: +The other GIFs (`demo-logo.gif`, `demo-power.gif`) are recorded manually. -| When to re-record | Tapes affected | +Re-record when relevant: + +| When to re-record | Files affected | | --- | --- | -| Visual style changes (colours, banner, symbols) | `demo-logo.tape`, `demo.tape` | -| Interactive mode UI changes | `demo.tape` | -| New major flags or output format changes | `demo-power.tape` | +| Visual style changes (colours, banner, symbols) | `assets/demo-logo.gif`, `assets/demo.gif` | +| Interactive mode UI changes | `assets/demo.gif` | +| New major flags or output format changes | `assets/demo-power.gif` | ```bash -vhs demo-logo.tape # logo — re-record when visual style changes -vhs demo.tape # interactive flow — re-record when UI changes -vhs demo-power.tape # power-user flags — re-record when flags change +vhs assets/demo.tape # interactive flow — re-record when UI changes ``` Commit the updated `.gif` files alongside the code change that prompted the -re-record. The tapes are the source of truth — never edit the GIFs by hand. +re-record. ## Code Style diff --git a/README.md b/README.md index bc28528..bba89f7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@