add VHS-generated GIFs for all examples

Created tape files and GIFs demonstrating each example:
- counter, timer, list, spinner, views, http
- Updated README with GIF showcase

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-21 12:44:38 -05:00
parent dab0a27e4d
commit 507db9cf00
13 changed files with 310 additions and 19 deletions
+58 -19
View File
@@ -2,17 +2,7 @@
A terminal user interface framework for Clojure, inspired by [Bubbletea](https://github.com/charmbracelet/bubbletea) (Go). Build interactive CLI applications using the Elm Architecture with Hiccup-style views.
```
╭──────────────────────────────────────╮
│ │
│ ╭────────────────────╮ │
│ │ Counter: 42 │ │
│ ╰────────────────────╯ │
│ │
│ j/k: change r: reset q: quit │
│ │
╰──────────────────────────────────────╯
```
![Counter Example](assets/counter.gif)
## Features
@@ -93,18 +83,67 @@ Output:
j/k: change r: reset q: quit
```
## Running Examples
## Examples
### Counter
Simple counter demonstrating basic Elm Architecture.
![Counter](assets/counter.gif)
```bash
# With Babashka (simple sync runtime)
bb counter
bb timer
bb list
bb spinner
bb views
bb http
```
# With Clojure (full async support)
### Timer
Countdown timer with pause/resume - demonstrates async commands.
![Timer](assets/timer.gif)
```bash
bb timer
```
### List Selection
Multi-select list with cursor navigation.
![List Selection](assets/list.gif)
```bash
bb list
```
### Spinner
Animated loading spinners with multiple styles.
![Spinner](assets/spinner.gif)
```bash
bb spinner
```
### Views
State machine pattern with multiple views and navigation.
![Views](assets/views.gif)
```bash
bb views
```
### HTTP
Async HTTP requests with loading states.
![HTTP](assets/http.gif)
```bash
bb http
```
### Running with Full Clojure
For full async support (core.async), run with Clojure:
```bash
clojure -A:dev -M -m examples.counter
```