[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-113":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":8,"htmlUrl":8,"language":9,"languages":8,"totalLinesOfCode":8,"stars":10,"forks":11,"watchers":12,"openIssues":12,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":13,"stars7d":12,"stars30d":14,"stars90d":13,"forks30d":13,"starsTrendScore":13,"compositeScore":15,"rankGlobal":8,"rankLanguage":8,"license":8,"archived":16,"fork":16,"defaultBranch":17,"hasWiki":18,"hasPages":16,"topics":19,"createdAt":8,"pushedAt":8,"updatedAt":20,"readmeContent":21,"aiSummary":22,"trendingCount":13,"starSnapshotCount":13,"syncStatus":23,"lastSyncTime":24,"discoverSource":25},113,"claude-lens","foyzulkarim\u002Fclaude-lens","foyzulkarim",null,"HTML",224,29,1,0,11,4.43,false,"main",true,[],"2026-06-12 02:00:08","# claude-lens\n\nA local dashboard for visualizing your [Claude Code](https:\u002F\u002Fclaude.ai\u002Fcode) usage — sessions, token costs, cache performance, tool calls, and daily breakdowns.\n\n![Claude Code Usage Dashboard](images\u002Fdashboard.png)\n\n## Features\n\n- **Today vs All-Time stats** — sessions, messages, tool calls, estimated cost\n- **Cache performance** — hit rate, savings vs no-cache baseline\n- **Daily cost & cache table** — per-day token breakdown with estimated spend\n- **Tool call analytics** — which tools Claude used most, across all projects\n- **Configurable pricing** — swap between Bedrock and Anthropic API rates via `.env`\n\n## Requirements\n\n- Node.js 18+\n- Claude Code installed (data lives in `~\u002F.claude`)\n\n## Quick start\n\nNo install needed — run directly from GitHub:\n\n```bash\nnpx github:foyzulkarim\u002Fclaude-lens\n```\n\nThen open [http:\u002F\u002Flocalhost:3456](http:\u002F\u002Flocalhost:3456). Defaults to `~\u002F.claude` if `CLAUDE_DIR` is not set.\n\n## Local setup\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Ffoyzulkarim\u002Fclaude-lens.git\ncd claude-lens\nnpm install\ncp .env.example .env\n```\n\nEdit `.env` and set `CLAUDE_DIR` to your Claude data directory (defaults to `~\u002F.claude`).\n\n```bash\nnode server.js\n```\n\nOpen [http:\u002F\u002Flocalhost:3456](http:\u002F\u002Flocalhost:3456).\n\n## Configuration\n\nAll options are set via `.env`:\n\n| Variable           | Default | Description                          |\n|--------------------|---------|--------------------------------------|\n| `CLAUDE_DIR`       | `~\u002F.claude` | Path to Claude data directory    |\n| `RATE_INPUT`       | `5.0`   | Input token price (USD per 1M)       |\n| `RATE_OUTPUT`      | `25.0`  | Output token price (USD per 1M)      |\n| `RATE_CACHE_READ`  | `0.5`   | Cache read price (USD per 1M)        |\n| `RATE_CACHE_CREATE`| `6.25`  | Cache write price (USD per 1M)       |\n\nDefault rates match **Bedrock cross-region inference (ap-southeast-2)**. For Anthropic API rates use `RATE_INPUT=15`, `RATE_OUTPUT=75`, `RATE_CACHE_READ=1.5`, `RATE_CACHE_CREATE=18.75`.\n","Claude-lens 是一个本地仪表盘，用于可视化您的 Claude Code 使用情况，包括会话、令牌成本、缓存性能、工具调用和每日细分。其核心功能包括今日与历史统计数据对比、缓存命中率及节省分析、每日令牌消耗表以及工具使用频率分析，并支持通过环境变量配置不同API的价格。适用于需要监控和优化 Claude Code 开销的开发者或团队，在日常开发过程中帮助管理资源使用效率，避免不必要的开支。",2,"2026-06-11 02:30:58","CREATED_QUERY"]