Skip to content

Add PDF and DOCX export formats#88

Open
ysamlan wants to merge 3 commits intosimonw:mainfrom
ysamlan:more-output-formats
Open

Add PDF and DOCX export formats#88
ysamlan wants to merge 3 commits intosimonw:mainfrom
ysamlan:more-output-formats

Conversation

@ysamlan
Copy link

@ysamlan ysamlan commented Mar 18, 2026

HTML and gists for sharing is great. But we're looking for a few options that can work with non-engineering tools inside enterprise walls for use in "Compound Engineering" review sessions at my company.

  • Add --format pdf and --format docx options
  • Extract shared export helpers (extract_conversations, load_conversations, generate_single_page_html) into export_helpers.py
  • New optional dependency groups: pip install claude-code-transcripts[pdf], [docx], or [export] for both

Testing

Besides the automated tests (29 new for PDF/DOCX):

Try PDF export

uv pip install -e '.[pdf]'
uv run claude-code-transcripts json tests/sample_session.json --format pdf

Try DOCX export

uv pip install -e '.[docx]'
uv run claude-code-transcripts json tests/sample_session.json --format docx

ysamlan and others added 3 commits March 18, 2026 18:48
…e HTML

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant