codex_log_viewer

TLDR;

image

Codex Log Viewer

This repository is first and foremost an automatic rewrite of the original Codex log viewer implementation into a browser-native frontend. Original project: timvw/codex-transcripts.

The primary deliverable is the JS/HTML/CSS viewer:

What This Rewrite Does

Primary Usage (Browser-Native)

1) Set the source file in codex_log_viewer.html:

<meta name="codex-log-source" content="example.jsonl" />

2) Serve the repo over HTTP:

python3 -m http.server 8000

3) Open:

http://localhost:8000/codex_log_viewer.html

Optional URL overrides:

http://localhost:8000/codex_log_viewer.html?source=example.jsonl
http://localhost:8000/codex_log_viewer.html?source=example.jsonl&title=Codex%20Session%20Log
http://localhost:8000/codex_log_viewer.html?source=example.jsonl&showTokenUsage=true
http://localhost:8000/codex_log_viewer.html?source=example.jsonl&collapseOutputCharThreshold=15000&collapseOutputLineThreshold=300

Notes:

Session Exports in This Repo

Exported session artifacts are stored in:

Naming scheme uses migration-style timestamps with meaningful suffixes, for example:

Skill Docs (SKILL.md)

This repository includes a vendored Codex skill for conversation exports:

What this file is:

Related files in the same skill:

Current filtering behavior documented in SKILL.md:

Run from this repository:

python3 skills/conversation-log-export/scripts/export_current_conversation.py --with-html
python3 skills/conversation-log-export/scripts/export_current_conversation.py --list-types
python3 skills/conversation-log-export/scripts/export_current_conversation.py --include row:event_msg,row:compacted
python3 skills/conversation-log-export/scripts/export_current_conversation.py --include response:reasoning,response:function_call_output

Live examples via GitHub Pages:

License

LGPL 2.0