You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This tool converts Claude Code session files into browseable multi-page HTML transcripts.
32
32
33
-
There are four commands available:
33
+
There are seven commands available:
34
34
35
-
-`local` (default) - select from local Claude Code sessions stored in `~/.claude/projects`
35
+
-`local` (default) - select from recent local Claude Code or Cowork sessions
36
+
-`code` - shortcut for `local --source code`
37
+
-`cowork` - shortcut for `local --source cowork`
38
+
-`project` - select a single project and convert all its sessions to an archive
36
39
-`web` - select from web sessions via the Claude API
37
40
-`json` - convert a specific JSON or JSONL session file
38
41
-`all` - convert all local sessions to a browsable HTML archive
@@ -70,12 +73,39 @@ claude-code-transcripts
70
73
claude-code-transcripts local
71
74
```
72
75
76
+
By default the picker shows sessions from both Claude Code and Claude Cowork. Use `--source` to restrict to one:
77
+
78
+
```bash
79
+
claude-code-transcripts local --source code # Code sessions only
80
+
claude-code-transcripts local --source cowork # Cowork sessions only
81
+
# or use the shortcut commands:
82
+
claude-code-transcripts code
83
+
claude-code-transcripts cowork
84
+
```
85
+
73
86
Use `--limit` to control how many sessions are shown (default: 10):
74
87
75
88
```bash
76
89
claude-code-transcripts local --limit 20
77
90
```
78
91
92
+
### Converting a single project
93
+
94
+
Select a project and convert all of its sessions to a browsable HTML archive:
95
+
96
+
```bash
97
+
claude-code-transcripts project
98
+
```
99
+
100
+
This presents an interactive picker listing all your projects with their session counts. After you select one, it generates the same archive structure as the `all` command but for only that project.
101
+
102
+
Options:
103
+
104
+
-`-s, --source` - source: `code` (default Code path), `cowork`, or a path to a projects directory
0 commit comments