Export Codex CLI prompt history into a branded, shareable HTML page.
npm install dialogexExport Codex CLI prompt history into a branded, shareable HTML page.
``bash`
npm install -g dialogex
`bashExport the latest session from ~/.codex/history.jsonl
dialogex
dialogex --git
dialogex --session-id 019bb3a0-c8ce-7261-ad4f-0cdc29d74802
dialogex --out-dir ./exports --json
`
- --history : path to history.jsonl (default: ~/.codex/history.jsonl)--session-id
- : export a specific session--out-dir
- : output directory (default: ./dialogex-exports)--title
- : page title--brand
- : brand line (default: Made with Dialog)--brand-url
- : brand link (default: https://dialog.sh)--og-image
- : OpenGraph/Twitter image URL--base-url
- : canonical URL for the page--diff-file
- : include a diff from a file--git
- : include a diff from git show HEAD--json
- : also write a JSON payload
- Codex CLI history stores prompts only. Responses and model reasoning are not available in history.jsonl`.
- The generated HTML is fully static and can be hosted anywhere.