claudial 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -29
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,6 +46,42 @@ takes over:
|
|
|
46
46
|
|
|
47
47
|
Four seconds of glory, then back to the board.
|
|
48
48
|
|
|
49
|
+
## Claude Code, World Cup edition
|
|
50
|
+
|
|
51
|
+
The whole point. Two commands and your Claude Code becomes a World Cup
|
|
52
|
+
workstation — Claude working on top, every live score ticking in a strip
|
|
53
|
+
below, forever:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
npm install -g claudial
|
|
57
|
+
cat >> ~/.zshrc <<'EOF'
|
|
58
|
+
alias claude-mundial="tmux new-session 'claude' \; split-window -v -l 5 'claudial --ticker' \; select-pane -U"
|
|
59
|
+
EOF
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Open a new shell, type `claude-mundial`, and:
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
┌──────────────────────────────────────┐
|
|
66
|
+
│ > implement the parser │
|
|
67
|
+
│ │
|
|
68
|
+
│ ⏺ Working… │
|
|
69
|
+
│ │
|
|
70
|
+
├──────────────────────────────────────┤
|
|
71
|
+
│ ⏺ 67' QAT 0—1 SUI │
|
|
72
|
+
│ ○ BRA—MOR Sun 01:00 │
|
|
73
|
+
└──────────────────────────────────────┘
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
When a goal goes in, the strip lights up while Claude keeps working.
|
|
77
|
+
(`bash` users: append to `~/.bashrc` instead. Prefer the full board beside
|
|
78
|
+
Claude rather than a strip below? Use
|
|
79
|
+
`split-window -h -l 44 'claudial'` in the alias.)
|
|
80
|
+
|
|
81
|
+
Want the score *inside* Claude Code itself — in its status bar, no tmux at
|
|
82
|
+
all? There's a [statusline integration](extras/statusline/) for that:
|
|
83
|
+
`⚽ QAT 0—1 SUI 67' · main`, refreshed every 15 s.
|
|
84
|
+
|
|
49
85
|
## Why a TUI
|
|
50
86
|
|
|
51
87
|
The World Cup happens during work hours somewhere. This sits in a terminal
|
|
@@ -78,35 +114,6 @@ Beyond goals, every live match carries its incident feed: yellow cards,
|
|
|
78
114
|
substitutions, injury time — and a `⚖ VAR` badge the moment a review starts.
|
|
79
115
|
Red cards and VAR decisions get the full-screen treatment, same as goals.
|
|
80
116
|
|
|
81
|
-
## Run it next to Claude Code
|
|
82
|
-
|
|
83
|
-
claudial is built to sit beside [Claude Code](https://claude.com/claude-code)
|
|
84
|
-
all day. One command opens both — Claude Code working, the World Cup ticking
|
|
85
|
-
in a strip below it:
|
|
86
|
-
|
|
87
|
-
```bash
|
|
88
|
-
tmux new-session 'claude' \; split-window -v -l 5 'npx claudial --ticker' \; select-pane -U
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
Prefer the full board on the side instead:
|
|
92
|
-
|
|
93
|
-
```bash
|
|
94
|
-
tmux new-session 'claude' \; split-window -h -l 44 'npx claudial' \; select-pane -L
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
Make it permanent — add to your `~/.zshrc` (or `~/.bashrc`):
|
|
98
|
-
|
|
99
|
-
```bash
|
|
100
|
-
alias claude-mundial="tmux new-session 'claude' \; split-window -v -l 5 'npx claudial --ticker' \; select-pane -U"
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
Then `claude-mundial` starts your whole World Cup workstation. When a goal
|
|
104
|
-
goes in, the strip lights up while Claude keeps working.
|
|
105
|
-
|
|
106
|
-
Want the score *inside* Claude Code instead? There's a
|
|
107
|
-
[statusline integration](extras/statusline/) that renders live scores in
|
|
108
|
-
Claude Code's status bar — `⚽ QAT 0—1 SUI 67' · main`, refreshed every 15 s.
|
|
109
|
-
|
|
110
117
|
## Status
|
|
111
118
|
|
|
112
119
|
v1 is being built live during the group stage. Follow the commits.
|