{"id":47793846,"url":"https://github.com/arindam200/cc-lens","last_synced_at":"2026-04-03T16:01:33.854Z","repository":{"id":344333837,"uuid":"1181429842","full_name":"Arindam200/cc-lens","owner":"Arindam200","description":"A real-time monitoring dashboard for Claude Code","archived":false,"fork":false,"pushed_at":"2026-04-02T15:15:37.000Z","size":1602,"stargazers_count":29,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-03T01:38:50.336Z","etag":null,"topics":["claude-code","claude-skills"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/watch?v=F01R99FeB5U","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Arindam200.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-03-14T05:56:41.000Z","updated_at":"2026-04-03T01:02:58.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Arindam200/cc-lens","commit_stats":null,"previous_names":["arindam200/cc-lens"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Arindam200/cc-lens","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arindam200%2Fcc-lens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arindam200%2Fcc-lens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arindam200%2Fcc-lens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arindam200%2Fcc-lens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arindam200","download_url":"https://codeload.github.com/Arindam200/cc-lens/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arindam200%2Fcc-lens/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31362680,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T15:19:21.178Z","status":"ssl_error","status_checked_at":"2026-04-03T15:19:20.670Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["claude-code","claude-skills"],"created_at":"2026-04-03T16:01:17.349Z","updated_at":"2026-04-03T16:01:33.814Z","avatar_url":"https://github.com/Arindam200.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![demo](./public/image.png)\n\n# Claude Code Lens (cc-lens)\n\nA real-time monitoring dashboard for **Claude Code** analytics. Reads directly from `~/.claude/`, no cloud, no telemetry, just your local data.\n\n## Quick Start\n\n![cc-board CLI](./public/cc-lens.png)\n\nRun with a single command — no install needed:\n\n```bash\nnpx cc-lens\n```\n\nThat's it. The CLI finds a free port, starts the server, and opens the dashboard in your browser automatically.\n\n## Features\n\n- **Overview**: Token usage over time, project activity distribution, peak hours heatmap, model breakdown donut, recent conversations\n- **Projects**: Card grid with sessions, cost per session, most-used tools, languages, git branches; per-project detail page with cost chart\n- **Sessions**: Sortable table with search and filters (compacted ⚡, agent 🤖, MCP 🔌, web 🔍, thinking 🧠); full session replay with per-turn token display, compaction events, token timeline chart\n- **Costs**: Stacked area chart by model, cost by project bar chart, per-model breakdown table, cache efficiency panel, static pricing reference\n- **Tools**: Tool ranking by category (file-io, shell, agent, web, planning, todo, skill, mcp), MCP server details, feature adoption table, CC version history, git branch chart\n- **Activity**: GitHub-style heatmap, streaks, day-of-week patterns, 24h peak hours bar\n- **History**: Searchable, paginated view of `~/.claude/history.jsonl` command history with timestamps and project context\n- **Memory**: Browse and edit Claude Code memory files across all projects, filterable by type (user, feedback, project, reference, index), stale detection\n- **Todos**: View todo lists from `~/.claude/todos/` with status filters (pending, in_progress, completed) and priority badges\n- **Plans**: Read saved plan files from `~/.claude/plans/` with inline markdown rendering\n- **Settings**: Inspect `~/.claude/settings.json` including installed skills and plugins\n- **Export**: Download `.ccboard.json` or `.zip` with full JSONL; import with additive merge preview\n\n## Manual Setup\n\nIf you prefer to run it locally from source:\n\n### Prerequisites\n\n- Node.js 18+\n- Claude Code with local data in `~/.claude/`\n\n### Run\n\n```bash\nnpm install\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) (or the port shown in the terminal).\n\n### Build\n\n```bash\nnpm run build\nnpm start\n```\n\n## Data Source\n\n- `~/.claude/projects/\u003cslug\u003e/*.jsonl`: Session JSONL (primary)\n- `~/.claude/stats-cache.json`: Aggregated stats\n- `~/.claude/usage-data/session-meta/`: Session metadata (fallback)\n- `~/.claude/history.jsonl`: Command history\n- `~/.claude/todos/`: Todo files\n- `~/.claude/plans/`: Plan files\n- `~/.claude/memory/`: Memory files (per-project)\n- `~/.claude/settings.json`: Settings, skills, plugins\n\nData refreshes every 5 seconds while the dashboard is open.\n\n## Star History\n\n\u003ca href=\"https://www.star-history.com/?repos=Arindam200%2Fcc-lens\u0026type=date\u0026legend=top-left\"\u003e\n \u003cpicture\u003e\n   \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/chart?repos=Arindam200/cc-lens\u0026type=date\u0026theme=dark\u0026legend=top-left\" /\u003e\n   \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/chart?repos=Arindam200/cc-lens\u0026type=date\u0026legend=top-left\" /\u003e\n   \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/chart?repos=Arindam200/cc-lens\u0026type=date\u0026legend=top-left\" /\u003e\n \u003c/picture\u003e\n\u003c/a\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farindam200%2Fcc-lens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farindam200%2Fcc-lens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farindam200%2Fcc-lens/lists"}