Convert a Claude Code for web session.json to HTML
Project description
claude-code-publish
Convert Claude Code session.json files to clean, mobile-friendly HTML pages with pagination.
Example transcript produced using this tool.
Installation
Install this tool using uv:
uv tool install claude-code-publish
Or run it without installing:
uvx claude-code-publish --help
Usage
When using Claude Code for web you can export your session as a session.json file using the teleport command (and then hunting around on disk).
This tool converts that JSON into a browseable multi-page HTML transcript.
claude-code-publish session.json -o output-directory/
This will generate:
index.html- an index page with a timeline of prompts and commitspage-001.html,page-002.html, etc. - paginated transcript pages
Options
-o, --output DIRECTORY- output directory (default: current directory)--repo OWNER/NAME- GitHub repo for commit links (auto-detected from git push output if not specified)
Development
To contribute to this tool, first checkout the code. You can run the tests using uv run:
cd claude-code-publish
uv run pytest
And run your local development copy of the tool like this:
uv run claude-code-publish --help
Project details
Release history Release notifications | RSS feed
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_code_publish-0.1.tar.gz.
File metadata
- Download URL: claude_code_publish-0.1.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3615d577072cffeb89592ac39cf9c5a1004cd23da03134ced165bc39f078c64
|
|
| MD5 |
c2d9843218fcac8f1d0fc988a4f6496c
|
|
| BLAKE2b-256 |
913f4980993665ff7edb28a6b4cc0dc94d5080bf2e9a1760160606ef6f9b3b8b
|
Provenance
The following attestation bundles were made for claude_code_publish-0.1.tar.gz:
Publisher:
publish.yml on simonw/claude-code-publish
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
claude_code_publish-0.1.tar.gz -
Subject digest:
c3615d577072cffeb89592ac39cf9c5a1004cd23da03134ced165bc39f078c64 - Sigstore transparency entry: 779252759
- Sigstore integration time:
-
Permalink:
simonw/claude-code-publish@caf7c938151c70a85b43690377b8e5a892d7f725 -
Branch / Tag:
refs/tags/0.1 - Owner: https://github.com/simonw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@caf7c938151c70a85b43690377b8e5a892d7f725 -
Trigger Event:
release
-
Statement type:
File details
Details for the file claude_code_publish-0.1-py3-none-any.whl.
File metadata
- Download URL: claude_code_publish-0.1-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05bf14940bd66b4542345cc75843f2bcf8859a6cad4f128ec54622dd1d02cfa4
|
|
| MD5 |
032a1755410768e286951960020ca85f
|
|
| BLAKE2b-256 |
2a38bf0da39af64ac3340bcb18c4348ce92341ec7b87ef0dc3e748d0e8b35c5e
|
Provenance
The following attestation bundles were made for claude_code_publish-0.1-py3-none-any.whl:
Publisher:
publish.yml on simonw/claude-code-publish
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
claude_code_publish-0.1-py3-none-any.whl -
Subject digest:
05bf14940bd66b4542345cc75843f2bcf8859a6cad4f128ec54622dd1d02cfa4 - Sigstore transparency entry: 779252761
- Sigstore integration time:
-
Permalink:
simonw/claude-code-publish@caf7c938151c70a85b43690377b8e5a892d7f725 -
Branch / Tag:
refs/tags/0.1 - Owner: https://github.com/simonw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@caf7c938151c70a85b43690377b8e5a892d7f725 -
Trigger Event:
release
-
Statement type: