Hacker News new | ask | show | jobs
by Maciej-roboblog 367 days ago
Check directory ~/.claude/projects/*/*.jsonl ;) hah very interesting topic. I have a plan to write blog post about it (all conversations history with metadata inside json lines files) What do you think about this idea? Interesting?
3 comments

Wow, I had no idea Claude Code had this kind of verbose logging turned on by default. Looking around I also found a cool tool for converting these logs to HTML format for easy viewing: https://github.com/daaain/claude-code-log
Haha, in that case it sounds like an article I could actually handle. By the way, is it better to go with an article or short-form video?
Film video, transcribe, edit to become article?

I'm of an age where I rarely watch short-form videos so would read the article but you'll miss an audience if that's all you produce.

Okay, sounds good — if I manage to do it, I’ll send you a message
It's definitely interesting. Probably, one could also see how much of the context is unnecessary to optimise usage. I wonder if one could also detect whether cache was used.
Yes, cache write and read is available to fetch i can add new flag to view this values, please create issue in repository with this idea https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor...
Is there anyway to ensure these logs are output in a current project folder? Would like to store a copy in git for reference
Yes in next relesase with duckdb, We will have the possibility of a simple export