waitad 0.0.1
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 +34 -0
- package/dist/cli.js +15828 -0
- package/dist/cli.js.map +1 -0
- package/package.json +24 -0
package/README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# waitad
|
|
2
|
+
|
|
3
|
+
Status-line ads for CLI coding agents. Earn passive income while you code — ads appear in your Claude Code status line.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g waitad
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# Authenticate (opens browser)
|
|
15
|
+
waitad login
|
|
16
|
+
|
|
17
|
+
# Wire the status line hook into Claude Code
|
|
18
|
+
waitad install
|
|
19
|
+
|
|
20
|
+
# Check status
|
|
21
|
+
waitad status
|
|
22
|
+
|
|
23
|
+
# Remove the hook
|
|
24
|
+
waitad uninstall
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## How it works
|
|
28
|
+
|
|
29
|
+
`waitad install` registers a `statusLine` hook in `~/.claude/settings.json`. Claude Code calls it on every status update — the script reads a locally-cached ad and prints it in under 50ms with zero network calls. A background job syncs the cache and flushes impression events every 5 minutes.
|
|
30
|
+
|
|
31
|
+
## Links
|
|
32
|
+
|
|
33
|
+
- Dashboard: https://waitad.vercel.app
|
|
34
|
+
- Source: https://github.com/ankitkalirawana/waitad
|