toktrack 0.1.13 → 0.1.14
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
CHANGED
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
# toktrack
|
|
2
2
|
|
|
3
|
+
[](https://github.com/mag123c/toktrack/blob/main/LICENSE)
|
|
4
|
+
|
|
3
5
|
Ultra-fast AI CLI token usage tracker. Built with Rust + simd-json + ratatui.
|
|
4
6
|
|
|
5
7
|

|
|
6
8
|
|
|
9
|
+
## Why toktrack?
|
|
10
|
+
|
|
11
|
+
| Tool | Time (2,000+ files / 3GB) | |
|
|
12
|
+
|------|---------------------------|---|
|
|
13
|
+
| ccusage (Node.js) | ~43s | 1x |
|
|
14
|
+
| **toktrack (Rust)** | **~3s** | **15x faster** |
|
|
15
|
+
|
|
7
16
|
## Installation
|
|
8
17
|
|
|
9
18
|
```bash
|
|
@@ -16,7 +25,7 @@ npm install -g toktrack
|
|
|
16
25
|
|
|
17
26
|
## Features
|
|
18
27
|
|
|
19
|
-
- **Blazing Fast** -
|
|
28
|
+
- **Blazing Fast** - 15x faster than Node.js alternatives (~2 GiB/s throughput)
|
|
20
29
|
- **Beautiful TUI** - 4 views (Overview, Models, Daily, Stats) with heatmap
|
|
21
30
|
- **Multi-CLI Support** - Claude Code, Codex CLI, Gemini CLI
|
|
22
31
|
- **CLI Commands** - `daily`, `stats` with JSON output
|
|
@@ -60,11 +69,10 @@ toktrack stats --json # JSON output
|
|
|
60
69
|
|
|
61
70
|
## Performance
|
|
62
71
|
|
|
63
|
-
| Tool | Time (2,000+ files) |
|
|
64
|
-
|
|
65
|
-
| ccusage (Node.js) | ~
|
|
66
|
-
|
|
|
67
|
-
| **toktrack** | **< 500ms** |
|
|
72
|
+
| Tool | Time (2,000+ files / 3GB) | |
|
|
73
|
+
|------|---------------------------|---|
|
|
74
|
+
| ccusage (Node.js) | ~43s | 1x |
|
|
75
|
+
| **toktrack** | **~3s** | **15x faster** |
|
|
68
76
|
|
|
69
77
|
## Links
|
|
70
78
|
|
|
Binary file
|
package/bin/toktrack-darwin-x64
CHANGED
|
Binary file
|
package/bin/toktrack-linux-arm64
CHANGED
|
Binary file
|
package/bin/toktrack-linux-x64
CHANGED
|
Binary file
|
|
Binary file
|