Comment

Comment by stopachka

> as well as prompts if you're comfortable?

This made me wonder: can I share Claude Code's conversation history? Turns Claude stores them.

So I made a full-stack "snippet" app with Claude and Instant. You can:

1. Upload jsonl files 2. Share them in a nice UI

(Going meta) here's the first conversation I had with Claude in order to build it:

https://claude-code-viewer.vercel.app/view/c4ca91ac-9624-40f...

After I deployed, I asked it to fix the tool use UI:

https://claude-code-viewer.vercel.app/view/faf9b2cc-c3cf-4d0...

I used Instant's auth to gate uploads. Views are public, but limited only to the snippets you know (i.e have links for).

If you want to upload your own conversations:

1. They live in ~/.claude. Head on over and grab a file 2. Go to https://claude-code-viewer.vercel.app and sign up 3. Start uploading : )

Some notes:

* Be careful when sharing log files. Claude can include secrets in there. Some hackers may notice an adminToken in the convo. I rotated it before we pushed.

* It was fun to see Claude use the query language. It thought we had a `$startsWith` modifier. Right now we only have $like. But `$startsWith` is a great idea, we may just implement it real quick!

parent stopachka 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton