Export Claude Code conversations to self-contained HTML with interactive selection.
Project description
claude-conversation-export-html
将 Claude Code 的 .jsonl 会话导出为自包含 HTML。
命令名:claude-html-start
安装
pipx install claude-conversation-export-html
claude-html-start --help
快速开始
默认读取 ~/.claude/projects:
claude-html-start
非交互导出单个会话:
claude-html-start -i /path/to/session.jsonl --non-interactive -o session.html
非交互导出目录中指定会话:
claude-html-start -i ~/.claude/projects --non-interactive -s 1,3-5 -o export.html
导出全部会话:
claude-html-start -i ~/.claude/projects --non-interactive --all -o export.html
参数
-i, --input:输入文件或目录(默认~/.claude/projects)-o, --output:输出 HTML 路径-s, --select:会话编号选择,如1,3-5--all:导出全部会话--title:HTML 标题--non-interactive:关闭交互(目录输入需配合--all或--select)
交互快捷键
↑/↓或j/k:移动n / p:翻页Enter/Space:勾选/:筛选a:勾选当前页c:清空e:导出q:退出
发布(GitHub + PyPI)
仓库已包含:
pyproject.toml.github/workflows/ci.yml.github/workflows/publish.yml
发布步骤:
- 在 PyPI 创建项目
claude-conversation-export-html - 在 GitHub Actions Secrets 设置
PYPI_API_TOKEN - 更新
pyproject.toml的version - 打 tag 并推送:
git tag v0.1.1
git push origin main
git push origin v0.1.1
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_conversation_export_html-0.1.0.tar.gz.
File metadata
- Download URL: claude_conversation_export_html-0.1.0.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9e3faafcb29e581b39726c0e1dfede90f9317c07765f5c86aba1b3a37ec998c
|
|
| MD5 |
c727c664cb37d83977a83f2a7b591127
|
|
| BLAKE2b-256 |
2da96582bd2453ec29d6c83319c9e7fe63c929af206420b31a505ffabe23ffb2
|
File details
Details for the file claude_conversation_export_html-0.1.0-py3-none-any.whl.
File metadata
- Download URL: claude_conversation_export_html-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b172158077d8f644453479cab49dd6c835335613313b57ddd78f5cc2aae6857
|
|
| MD5 |
f65a9c9923a02dfba7e0c3f4f7baca97
|
|
| BLAKE2b-256 |
8d17fd49cf7b9211ab81d6e4a343b79544daccb55dcc932fd440ac64e959bd1e
|