Skip to content

Commit

Permalink
Add demo GIF
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-si committed Mar 28, 2024
1 parent a7b0ce9 commit b0040e6
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
Binary file added demo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions demo.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Output demo.gif

Require time
Require cai

Set Shell "bash"
Set FontSize 18
Set Width 1024
Set Height 768
Set TypingSpeed 0.1
Set Framerate 24


Type "# This is a realtime demo of `cai`"
Sleep 500ms
Enter

Type "# Prompts often finish in less than 1 second! 🚀"
Sleep 800ms
Enter

Type "time cai list fast CLI tools"
Sleep 500ms
Enter
Sleep 5s

Type "time cai how to write simple CLI tool in Rust | mdcat | head -n 24"
Sleep 500ms
Enter
Sleep 15s
4 changes: 4 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ help: makefile
@tail -n +4 makefile | grep ".PHONY"


demo.gif: demo.tape
vhs $<


.PHONY: test
test:
cargo test -- --show-output
Expand Down
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
- Finishing often in **less than 1 second**. 🚀
- Build with Rust 🦀 and [Groq] for supreme performance and speed! 🏎️

![`cai` demo](./demo.gif)


## Installation

Expand Down

0 comments on commit b0040e6

Please sign in to comment.