underluis1/ccview — reverse-engineered prompt
Reverse engineered prompt
Build me a local dashboard called ccview that lets me see how much I’m using Claude Code on my own computer. It should read my Claude Code session logs from the usual local folder, save an index in a local SQLite database, and never send anything to an outside service.
I want to run it with a simple npx command, have it start a local server, and open a browser dashboard. The dashboard should show session counts, total tokens, estimated costs, files touched, top projects, daily token trends, and an activity heatmap. I also want pages for sessions and projects, with filters by project and date, session detail timelines showing prompts, assistant replies, tool calls, thinking blocks, and a simple search inside a session.
Please include a sync button that skips unchanged log files and reindexes new or changed ones. Use current Anthropic pricing for cost estimates, including prompt cache write and cache read tokens. Use TypeScript, React, a small local API server, and keep the setup easy for local development.
Want more depth? Deep Reverse