Skip to content

Conversation

@simonw
Copy link
Owner

@simonw simonw commented Dec 30, 2025

Make it so the claude-code-transcripts json PATH command can also accept a URL instead of a path, identified by it starting with http:// or https://

The json command now accepts URLs (http:// or https://) in addition to local file paths. When a URL is provided, the content is fetched and processed as a session file.

https://gistpreview.github.io/?bfcdd225a9a920c39e99ee225467f1cc/index.html

The json command now accepts URLs (http:// or https://) in addition
to local file paths. When a URL is provided, the content is fetched
and processed as a session file.
@simonw
Copy link
Owner Author

simonw commented Dec 30, 2025

Manually tested like this:

gh pr checkout 27
uv run claude-code-transcripts json https://static.simonwillison.net/static/2025/claude-code-microjs/session_01CKTS4KMKErVGzpfhuRJaA4.json

It worked.

@simonw simonw merged commit 6be0003 into main Dec 30, 2025
30 checks passed
@simonw simonw deleted the claude/add-url-support-transcripts-aX5eF branch December 30, 2025 17:40
simonw added a commit that referenced this pull request Dec 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants