{"id":50524571,"url":"https://github.com/juliantanx/aiusage","last_synced_at":"2026-06-03T07:01:32.694Z","repository":{"id":358028671,"uuid":"1236477321","full_name":"juliantanx/aiusage","owner":"juliantanx","description":"Open-source AI usage tracker — tokens, cost, and sessions across Claude Code, Codex, Hermes, Qoder, and more","archived":false,"fork":false,"pushed_at":"2026-06-01T05:38:46.000Z","size":16325,"stargazers_count":52,"open_issues_count":6,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-01T07:07:27.659Z","etag":null,"topics":["ai","ai-analytics","ai-coding-assistant","ai-usage","aiusage","better-sqlite3","claude","claude-code","cli","codex","cost-tracking","dashboard","developer-tools","react","token-tracker","token-usage","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@juliantanx/aiusage","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/juliantanx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-12T09:29:47.000Z","updated_at":"2026-06-01T05:14:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/juliantanx/aiusage","commit_stats":null,"previous_names":["juliantanx/aiusage"],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/juliantanx/aiusage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliantanx%2Faiusage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliantanx%2Faiusage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliantanx%2Faiusage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliantanx%2Faiusage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juliantanx","download_url":"https://codeload.github.com/juliantanx/aiusage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliantanx%2Faiusage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33852295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-03T02:00:06.370Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","ai-analytics","ai-coding-assistant","ai-usage","aiusage","better-sqlite3","claude","claude-code","cli","codex","cost-tracking","dashboard","developer-tools","react","token-tracker","token-usage","typescript"],"created_at":"2026-06-03T07:01:31.889Z","updated_at":"2026-06-03T07:01:32.676Z","avatar_url":"https://github.com/juliantanx.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aiusage — AI Coding Assistant Usage Tracker\n\n[![npm version](https://img.shields.io/npm/v/@juliantanx/aiusage)](https://www.npmjs.com/package/@juliantanx/aiusage)\n[![CI](https://github.com/juliantanx/aiusage/actions/workflows/test.yml/badge.svg)](https://github.com/juliantanx/aiusage/actions/workflows/test.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\n**[aiusage.jtanx.com](https://aiusage.jtanx.com)** · English | [中文](https://github.com/juliantanx/aiusage/blob/main/README_zh.md)\n\nTrack token usage, cost, and sessions across **22 AI coding tools** in one local dashboard. No accounts. No telemetry. No cloud required.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/juliantanx/aiusage/a527444cf87a9c1e92f1440282ed4e94f744b910/packages/site/static/screenshots/dashboard-home.png\" alt=\"aiusage dashboard home\" width=\"32%\" /\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/juliantanx/aiusage/a527444cf87a9c1e92f1440282ed4e94f744b910/packages/site/static/screenshots/overview.png\" alt=\"aiusage overview dashboard\" width=\"32%\" /\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/juliantanx/aiusage/a527444cf87a9c1e92f1440282ed4e94f744b910/packages/site/static/screenshots/sessions.png\" alt=\"aiusage sessions dashboard\" width=\"32%\" /\u003e\n\u003c/p\u003e\n\n## Quick Start\n\n**Prerequisites:** Node.js 20+\n\n```bash\nnpm install -g @juliantanx/aiusage\naiusage parse\naiusage serve\n```\n\nOpen `http://localhost:3847` to explore the dashboard.\n\n## Supported Tools\n\n| | | | | |\n|---|---|---|---|---|\n| `Claude Code` | `Codex` | `OpenCode` | `Cursor` | `Hermes` |\n| `Qoder` | `OpenClaw` | `KiloCode` | `Copilot` | `Gemini CLI` |\n| `Kimi Code` | `CodeBuddy` | `Kiro` | `Grok Build` | `Antigravity` |\n| `Roo Code` | `Zed` | `Goose` | `oh-my-pi` | `pi` |\n| `Craft` | `Droid` | | | |\n\n## Why aiusage\n\nYour AI coding tools each log usage separately — different formats, different machines, no shared view. aiusage pulls it all into one local dashboard:\n\n- **One dashboard** for tokens, cost, model mix, and tool-call activity\n- **Multi-machine sync** via GitHub, S3, or R2 — entirely optional\n- **Your data stays local** by default\n\n## Documentation\n\nFull documentation — CLI reference, Docker deployment, sync setup, desktop widget, and more — is available on the **[Docs page](https://aiusage.jtanx.com/docs)**.\n\n## Friends\n\n[**linux.do**](https://linux.do/) — Thanks to the linux.do community for their support and inspiration during the development of this project.\n\n## Star History\n\n\u003ca href=\"https://www.star-history.com/?repos=juliantanx%2Faiusage\u0026type=date\u0026logscale=\u0026legend=top-left\"\u003e\n \u003cpicture\u003e\n   \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/chart?repos=juliantanx/aiusage\u0026type=date\u0026theme=dark\u0026legend=top-left\u0026t=20260603\" /\u003e\n   \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/chart?repos=juliantanx/aiusage\u0026type=date\u0026legend=top-left\u0026t=20260603\" /\u003e\n   \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/chart?repos=juliantanx/aiusage\u0026type=date\u0026legend=top-left\u0026t=20260603\" /\u003e\n \u003c/picture\u003e\n\u003c/a\u003e\n\n## Contributing\n\nContributions are welcome! See [CONTRIBUTING.md](./CONTRIBUTING.md) for how to get started.\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliantanx%2Faiusage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliantanx%2Faiusage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliantanx%2Faiusage/lists"}