@zhangferry-dev/tokendash 1.1.2 → 1.1.4
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 +3 -3
- package/dist/client/assets/index-BJbeEwyn.js +121 -0
- package/dist/client/assets/index-DI_qK8jk.css +1 -0
- package/dist/client/index.html +2 -2
- package/dist/server/ccusage.d.ts +5 -0
- package/dist/server/ccusage.js +16 -0
- package/dist/server/index.js +13 -3
- package/dist/server/openclawParser.d.ts +37 -0
- package/dist/server/openclawParser.js +385 -0
- package/dist/server/routes/api.js +20 -0
- package/dist/server/routes/blocks.js +17 -2
- package/dist/server/routes/daily.js +7 -0
- package/dist/server/routes/projects.js +7 -0
- package/package.json +1 -1
- package/dist/client/assets/index-BaY47OM2.css +0 -1
- package/dist/client/assets/index-CVEOcjaP.js +0 -121
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# tokendash
|
|
2
2
|
|
|
3
|
-
A beautiful, local web dashboard for visualizing your Claude Code and
|
|
3
|
+
A beautiful, local web dashboard for visualizing your Claude Code, Codex, and OpenClaw token usage statistics.
|
|
4
4
|
|
|
5
|
-
It runs locally
|
|
5
|
+
It runs locally and parses token usage data directly from local session files, presenting it in a clean, interactive React dashboard. Claude Code partially relies on the `ccusage` CLI for some data.
|
|
6
6
|
|
|
7
7
|

|
|
8
8
|
|
|
@@ -83,7 +83,7 @@ If you want to contribute or modify the dashboard locally:
|
|
|
83
83
|
|
|
84
84
|
- **Frontend:** React 19, Recharts, Tailwind CSS (via Vite plugin), built with Vite.
|
|
85
85
|
- **Backend:** Express, TypeScript.
|
|
86
|
-
- **Data Source:**
|
|
86
|
+
- **Data Source:** Codex and OpenClaw data is parsed directly from local session files. Claude Code data partially uses `ccusage --json` CLI. Uses a short-lived in-memory cache to ensure snappy UI updates when toggling filters.
|
|
87
87
|
|
|
88
88
|
## License
|
|
89
89
|
|