{"id":42110210,"url":"https://github.com/prateek/codex-transcripts","last_synced_at":"2026-01-26T13:33:30.489Z","repository":{"id":332212914,"uuid":"1128736421","full_name":"prateek/codex-transcripts","owner":"prateek","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-12T21:50:38.000Z","size":353,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-13T01:56:56.908Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prateek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-01-06T04:44:06.000Z","updated_at":"2026-01-12T21:51:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/prateek/codex-transcripts","commit_stats":null,"previous_names":["prateek/codex-transcripts"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/prateek/codex-transcripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prateek%2Fcodex-transcripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prateek%2Fcodex-transcripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prateek%2Fcodex-transcripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prateek%2Fcodex-transcripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prateek","download_url":"https://codeload.github.com/prateek/codex-transcripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prateek%2Fcodex-transcripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28779341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T11:46:04.308Z","status":"ssl_error","status_checked_at":"2026-01-26T11:46:02.664Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-26T13:33:30.420Z","updated_at":"2026-01-26T13:33:30.479Z","avatar_url":"https://github.com/prateek.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# codex-transcripts\n\nConvert Codex session rollout files (`rollout-*.jsonl`) into a clean, mobile-friendly, self-contained HTML transcript viewer (`index.html`).\n\n## Example\n\n![Example transcript viewer](example.png)\n\nThis is an adaptation of `simonw/claude-code-transcripts` (Apache-2.0) for Codex rollout files.\nThat project is the primary source of inspiration and the origin of the HTML/CSS transcript rendering approach used here.\nSee: https://github.com/simonw/claude-code-transcripts\n\nCodex stores sessions under `~/.codex/` by default (override with `CODEX_HOME`):\n\n- `~/.codex/sessions/YYYY/MM/DD/rollout-YYYY-MM-DDThh-mm-ss-\u003cuuid\u003e.jsonl`\n- `~/.codex/archived_sessions/rollout-...-\u003cuuid\u003e.jsonl` (archived via `thread/archive`)\n\n## Install\n\n```bash\n# Run without cloning (one-off, via uvx)\nuvx --from git+https://github.com/prateek/codex-transcripts codex-transcripts local --latest --open\n\n# Or, from a local clone (persistent install)\ngit clone https://github.com/prateek/codex-transcripts\ncd codex-transcripts\nuv tool install .\n```\n\n## Usage\n\n```bash\n# Interactive picker for sessions (global by default)\ncodex-transcripts\n\n# Import a remote rollout file into your local CODEX_HOME (~/.codex by default)\ncodex-transcripts import https://example.com/rollout-...jsonl\n\n# Convert a specific rollout file\ncodex-transcripts json ~/.codex/sessions/2026/01/01/rollout-...jsonl -o ./out --open\n\n# Emit normalized JSON instead of HTML\ncodex-transcripts local --latest --format json -o ./out\n\n# Publish to a GitHub Gist (requires gh auth)\ncodex-transcripts local --latest --gist\n\n# TUI transcript viewer (experimental/alpha; fold/unfold + filtering)\ncodex-transcripts tui\n```\n\nHTML output is a single `index.html` view with fold/unfold, minimap + range filter, search, and keyboard shortcuts (`?`).\n\nBy default, `local` and `tui` search sessions globally; use `--cwd` to filter to the current working directory.\n\n`local` supports multi-select; if you select more than one session it will generate an `index.html` archive in the output directory linking to each session’s viewer.\n\n## System/internal records\n\nCodex rollouts are JSONL. This tool is intentionally **best-effort**:\n\n- All record types are included in the HTML output.\n- Record types without a dedicated renderer are shown as *System* cards (raw JSON, with a count by type).\n- Unparseable lines are skipped.\n\nThe outer envelope (`{\"timestamp\": \"...\", \"type\": \"...\", \"payload\": {...}}`) has been stable across multiple Codex versions; new `type` values and additional fields may appear over time.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprateek%2Fcodex-transcripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprateek%2Fcodex-transcripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprateek%2Fcodex-transcripts/lists"}