ok-claude 0.1.0 → 0.1.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/LICENSE +21 -21
- package/README.md +31 -31
- package/package.json +45 -37
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Rocky Hong
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Rocky Hong
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
# OK Claude
|
|
2
|
-
|
|
3
|
-
> Wordcloud of your Claude Code sessions.
|
|
4
|
-
> Your top openers to Claude — `ok`, `y`, `go`, ya know.
|
|
5
|
-
|
|
6
|
-
```
|
|
7
|
-
npx ok-claude
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
Run. Laugh. Share.
|
|
11
|
-
|
|
12
|
-
## What you get
|
|
13
|
-
|
|
14
|
-
- Dual wordcloud: You / Claude. Most-typed openers, both sides.
|
|
15
|
-
- One self-contained HTML file. Click `Export PNG`. Done.
|
|
16
|
-
- All-time scope: whole `~/.claude/projects/` history.
|
|
17
|
-
|
|
18
|
-
## Safe
|
|
19
|
-
|
|
20
|
-
- Local only. No network calls, no telemetry.
|
|
21
|
-
- Reads: `~/.claude/projects/**/*.jsonl`
|
|
22
|
-
- Writes: one HTML file to `~/Downloads/` (cwd fallback if Downloads missing).
|
|
23
|
-
- PNG export: browser-side, never uploaded.
|
|
24
|
-
|
|
25
|
-
## Requires
|
|
26
|
-
|
|
27
|
-
- Node 20 or newer. That's it.
|
|
28
|
-
|
|
29
|
-
## License
|
|
30
|
-
|
|
31
|
-
MIT
|
|
1
|
+
# OK Claude
|
|
2
|
+
|
|
3
|
+
> Wordcloud of your Claude Code sessions.
|
|
4
|
+
> Your top openers to Claude — `ok`, `y`, `go`, ya know.
|
|
5
|
+
|
|
6
|
+
```
|
|
7
|
+
npx ok-claude
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
Run. Laugh. Share.
|
|
11
|
+
|
|
12
|
+
## What you get
|
|
13
|
+
|
|
14
|
+
- Dual wordcloud: You / Claude. Most-typed openers, both sides.
|
|
15
|
+
- One self-contained HTML file. Click `Export PNG`. Done.
|
|
16
|
+
- All-time scope: whole `~/.claude/projects/` history.
|
|
17
|
+
|
|
18
|
+
## Safe
|
|
19
|
+
|
|
20
|
+
- Local only. No network calls, no telemetry.
|
|
21
|
+
- Reads: `~/.claude/projects/**/*.jsonl`
|
|
22
|
+
- Writes: one HTML file to `~/Downloads/` (cwd fallback if Downloads missing).
|
|
23
|
+
- PNG export: browser-side, never uploaded.
|
|
24
|
+
|
|
25
|
+
## Requires
|
|
26
|
+
|
|
27
|
+
- Node 20 or newer. That's it.
|
|
28
|
+
|
|
29
|
+
## License
|
|
30
|
+
|
|
31
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,37 +1,45 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "ok-claude",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Wordcloud of your Claude Code sessions
|
|
5
|
-
"author": "Rocky Hong",
|
|
6
|
-
"keywords": ["claude-code", "wordcloud", "cli", "anthropic", "session-stats"],
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
},
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
},
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
}
|
|
37
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "ok-claude",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Wordcloud of your Claude Code sessions. Your top openers — ok, y, go, ya know.",
|
|
5
|
+
"author": "Rocky Hong",
|
|
6
|
+
"keywords": ["claude-code", "wordcloud", "cli", "anthropic", "session-stats"],
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/RockyHong/ok-claude.git"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/RockyHong/ok-claude#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/RockyHong/ok-claude/issues"
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"bin": {
|
|
17
|
+
"ok-claude": "dist/cli.js"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist"
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"prepublishOnly": "pnpm build && pnpm test",
|
|
24
|
+
"dev": "tsx src/cli.ts",
|
|
25
|
+
"build": "tsup",
|
|
26
|
+
"test": "vitest run",
|
|
27
|
+
"test:watch": "vitest"
|
|
28
|
+
},
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=20"
|
|
31
|
+
},
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"commander": "^12.1.0",
|
|
35
|
+
"open": "^10.1.0"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@types/node": "^20.14.0",
|
|
39
|
+
"html-to-image": "1.11.13",
|
|
40
|
+
"tsup": "^8.3.0",
|
|
41
|
+
"tsx": "^4.19.0",
|
|
42
|
+
"typescript": "^5.6.0",
|
|
43
|
+
"vitest": "^2.1.0"
|
|
44
|
+
}
|
|
45
|
+
}
|