Transcribe Claude Code JSONL logs to human-readable text
Project description
claude-transcriber
Transcribe Claude Code JSONL logs to human-readable text.
Installation
pip install claude-transcriber
CLI Usage
# Transcribe a session log
claude-transcriber ~/.claude/projects/-Users-you-code-myproject/SESSION_ID.jsonl
# Save to file
claude-transcriber session.jsonl -o transcript.txt
# From stdin
cat session.jsonl | claude-transcriber
Library Usage
from claude_transcriber import Transcriber, transcribe_file
# Transcribe a whole file
text = transcribe_file("session.jsonl")
# Or record by record
t = Transcriber()
for record in records:
result = t.transcribe(record)
if result:
print(result)
Output Format
The output matches Claude Code's /export format:
⏺prefix for assistant messages❯prefix for user messages- Tool calls shown as
⏺ ToolName(args...) - Tool output shown with
⎿continuation markers
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file claude_transcriber-0.2.2.tar.gz.
File metadata
- Download URL: claude_transcriber-0.2.2.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14a45d157c9a6734c5716268ecc698aea9f1cc7fa216b83337c898c0e62e9608
|
|
| MD5 |
f425a5186134f9900e5bf3c5a6e96f42
|
|
| BLAKE2b-256 |
ad723a960e9ea8f0aba8bfa86e3bb93fe7eee47350f45d1a5fecfb19ffba1bdc
|
File details
Details for the file claude_transcriber-0.2.2-py3-none-any.whl.
File metadata
- Download URL: claude_transcriber-0.2.2-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
775d4e12fd8dcedc3d804660490dd854bc9197afac0c662b52b80607a5a6eb11
|
|
| MD5 |
f627a35e236786254952e72c2299f234
|
|
| BLAKE2b-256 |
eb6b1f9147357d1948126938b130927cec9cf9b65acc276497ef0d4339ccf0eb
|