Skip to content

Commit ded652d

Browse files
committed
Add VHS demo GIF and embed in README
1 parent c313ce2 commit ded652d

4 files changed

Lines changed: 68 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
.idea/
33
specs/*.json
44
!specs/*-minimal.json
5+
vhs-demo/*.mp4

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ SQL interface for REST APIs.
44

55
Point sqlize at an OpenAPI spec and query any REST API using SQL. Path parameters become `WHERE` clauses, query parameters become filters, response fields become columns. One tool, any API.
66

7+
![sqlize demo](vhs-demo/demo.gif)
8+
79
## How it works
810

911
```sh

vhs-demo/demo.gif

3.33 MB
Loading

vhs-demo/demo.tape

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# SQLize Demo — Query GitHub like a database
2+
3+
Output demo.gif
4+
Output demo.mp4
5+
6+
Set Shell zsh
7+
Set FontSize 15
8+
Set Width 1400
9+
Set Height 800
10+
Set Padding 20
11+
Set Theme "Catppuccin Mocha"
12+
Set TypingSpeed 35ms
13+
Set CursorBlink false
14+
15+
# Start sqlize REPL with full GitHub spec
16+
Type "sqlize --spec specs/github.json"
17+
Enter
18+
Sleep 3s
19+
20+
# 1. Show available tables
21+
Type "SHOW TABLES"
22+
Sleep 1s
23+
Enter
24+
Sleep 4s
25+
26+
# 2. Describe a table to see columns
27+
Type "DESCRIBE repos_issues"
28+
Sleep 1s
29+
Enter
30+
Sleep 4s
31+
32+
# 3. Org repos — stars, forks, language
33+
Type "SELECT name, stargazers_count, forks_count, language FROM orgs_repos WHERE org = 'openclaw' LIMIT 5;"
34+
Sleep 2s
35+
Enter
36+
Sleep 5s
37+
38+
# 4. Top contributors by commits
39+
Type "SELECT login, contributions FROM repos_contributors WHERE owner = 'openclaw' AND repo = 'openclaw' ORDER BY contributions DESC LIMIT 10;"
40+
Sleep 3s
41+
Enter
42+
Sleep 5s
43+
44+
# 5. Most discussed open issues
45+
Type "SELECT number, title, comments FROM repos_issues WHERE owner = 'openclaw' AND repo = 'openclaw' AND state = 'open' AND sort = 'comments' AND direction = 'desc' LIMIT 5;"
46+
Sleep 4s
47+
Enter
48+
Sleep 5s
49+
50+
# 6. Open pull requests
51+
Type "SELECT number, title, user_login FROM repos_pulls WHERE owner = 'openclaw' AND repo = 'openclaw' AND state = 'open' LIMIT 5;"
52+
Sleep 3s
53+
Enter
54+
Sleep 5s
55+
56+
# 7. Recent releases
57+
Type "SELECT tag_name, name, published_at FROM repos_releases WHERE owner = 'openclaw' AND repo = 'openclaw' LIMIT 5;"
58+
Sleep 2s
59+
Enter
60+
Sleep 5s
61+
62+
# Exit
63+
Type@0ms ""
64+
Ctrl+D
65+
Sleep 1s

0 commit comments

Comments
 (0)