Repository: thomas-mauran/chess-tui (language: rust)

Issue:
feat: new demos gifs for the readme



Discussion / hints:

Fix patch:
diff --git a/README.md b/README.md
index a114678..3616d54 100644
--- a/README.md
+++ b/README.md
@@ -17,6 +17,7 @@ docker run --rm -it ghcr.io/thomas-mauran/chess-tui:main
 ```
 
 **With Cargo**
+
 ```
 git clone git@github.com:thomas-mauran/chess-tui.git
 cd chess-tui
@@ -24,8 +25,26 @@ cargo build --release
 ./target/release/chess-tui
 ```
 
+### Features
+
+<details>
+  <summary>Helper menu</summary>
+  <img src="./examples/helper.gif" alt="Helper menu" />
+</details>
+
+<details>
+  <summary>Piece moves and checkmate</summary>
+  <img src="./examples/demo.gif" alt="Helper menu" />
+</details>
+<details>
+  <summary>Pat</summary>
+  no demo available yet
+</details>
+<details>
+  <summary>Piece Promotion</summary>
+  no demo available yet
+</details>
+
 ### Roadmap
 
 You can find the roadmap of the project [here](https://github.com/users/thomas-mauran/projects/4) if you want to contribute.
-
-
diff --git a/examples/demo.gif b/examples/demo.gif
index 3965bcc..271d07c 100644
Binary files a/examples/demo.gif and b/examples/demo.gif differ
diff --git a/demo.tape b/examples/demo.tape
similarity index 100%
rename from demo.tape
rename to examples/demo.tape
diff --git a/examples/helper.gif b/examples/helper.gif
new file mode 100644
index 0000000..95654bf
Binary files /dev/null and b/examples/helper.gif differ
diff --git a/examples/helper.tape b/examples/helper.tape
new file mode 100644
index 0000000..90171a9
--- /dev/null
+++ b/examples/helper.tape
@@ -0,0 +1,24 @@
+Output examples/helper.gif
+
+Require echo
+
+Set Margin 100
+Set MarginFill "#674EBB"
+
+Set BorderRadius 10
+Set Shell zsh
+
+Set FontSize 14
+Set Width 1920
+Set Height 1080
+
+Set WindowBar Colorful
+Set WindowBarSize 40
+
+Type "cargo run" Sleep 500ms  Enter
+
+Sleep 1s
+
+Type h
+
+Sleep 5s
diff --git a/render_demos.sh b/render_demos.sh
new file mode 100755
index 0000000..6ac58bd
--- /dev/null
+++ b/render_demos.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# Ensure the vhs command is available
+command -v vhs >/dev/null 2>&1 || { echo >&2 "vhs command not found. Please install it."; exit 1; }
+
+# Check if the examples directory exists
+if [ ! -d "examples" ]; then
+  echo "Examples directory not found."
+  exit 1
+fi
+
+# Loop through all .tape files in the examples directory and run vhs for each file
+for file in examples/*.tape; do
+  vhs "$file"
+done


Test patch: