Download the PHP package kambo/cctranscripts without Composer
On this page you can find all versions of the php package kambo/cctranscripts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kambo/cctranscripts
More information about kambo/cctranscripts
Files in kambo/cctranscripts
Package cctranscripts
Short Description Convert Claude Code session files to HTML transcripts (PHP port)
License Apache-2.0
Homepage https://github.com/kambo-1st/php-cc-transcripts
Informations about the package cctranscripts
Claude Code Transcripts (PHP)
Convert Claude Code session files (JSON/JSONL) to clean, mobile-friendly HTML transcripts with pagination.
This is a PHP port of claude-code-transcripts by Simon Willison.
Features
- Parse JSON and JSONL session files from Claude Code
- Generate paginated HTML transcripts (5 prompts per page)
- Render tool calls with syntax highlighting:
- Write - File creation with content preview
- Edit - Diff-style old/new display
- Bash - Command display with description
- TodoWrite - Task lists with status icons
- Generic tool calls with JSON formatting
- Auto-detect GitHub repository for commit links
- Search functionality across all pages
- Mobile-friendly responsive design
- Batch conversion of all local sessions
Installation
Option 1: Download Static Binary (Recommended)
No PHP required. Download the pre-built binary for your platform:
Option 2: Install with Composer (Global)
Requires PHP 8.1+.
Make sure Composer's global bin directory is in your PATH:
Then run:
Option 3: Install with Composer (Project)
Add to your project:
Run via vendor bin:
Option 4: Install from Source
Usage
Convert a single session file
Options:
-o, --output <dir>- Output directory (default: temp dir)--repo <owner/name>- GitHub repo for commit links (auto-detected if not specified)
Browse and convert local sessions
This will scan ~/.claude/projects/ and let you select a session to convert.
Options:
-o, --output <dir>- Output directory--limit <n>- Maximum sessions to show (default: 10)
Convert all sessions to archive
Creates a browsable archive with:
- Master index listing all projects
- Per-project pages listing sessions
- Individual session transcripts
Options:
-s, --source <dir>- Source directory (default:~/.claude/projects)-o, --output <dir>- Output directory (default:./claude-archive)--include-agents- Include agent-* session files--dry-run- Show what would be converted without creating files
Output Structure
Single session:
Archive (all sessions):
Programmatic Usage
Building from Source
To build static binaries locally:
Binaries will be created in the build/ directory.
License
Apache-2.0 (same as original project)
Credits
- Original Python version by Simon Willison
- PHP port created with Claude Code