Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TokenStack

TokenStack is a local desktop command center for Codex usage, reset-credit visibility, source coverage, and shareable exports. It is a Tauri app with a Rust data layer, React dashboard, SQLite persistence, and test fixtures that stay out of production dashboard data.

TokenStack dark dashboard

TokenStack light dashboard

What It Shows

  • Local Codex usage metrics from imported history.
  • OAuth-backed reset-credit snapshots when available.
  • OAuth-backed session and weekly quota windows when available.
  • Source coverage and confidence for each dashboard metric.
  • PNG badge exports and CSV usage bundles from the validated dashboard summary.

Development

pnpm install
pnpm dev
pnpm tauri:dev

Verification

pnpm lint
pnpm typecheck
pnpm test
pnpm test:browser
pnpm secret:scan
pnpm fixture:scan
pnpm build
cargo test --manifest-path src-tauri/Cargo.toml
cargo clippy --manifest-path src-tauri/Cargo.toml -- -D warnings
cargo fmt --manifest-path src-tauri/Cargo.toml --check

Windows packaging is configured for Tauri NSIS output. A Windows runner should execute:

pnpm install
pnpm exec tauri build --target x86_64-pc-windows-msvc

Data Sources

TokenStack imports Codex history from local JSONL files and refreshes available reset-credit and rate-limit snapshots through the desktop app.

Privacy Summary

TokenStack runs locally and summarizes usage without exposing auth tokens or raw credential data. Tests use fixtures; the app does not use fixture values for real dashboard metrics.

License

MIT. See LICENSE and docs/adr/0000-license.md.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages