New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

dialogex

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dialogex

Export Codex CLI prompt history into a branded, shareable HTML page.

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

dialogex

Export Codex CLI prompt history into a branded, shareable HTML page.

Install

npm install -g dialogex

Usage

# Export the latest session from ~/.codex/history.jsonl

dialogex

# Include the latest git commit diff

dialogex --git

# Export a specific session id

dialogex --session-id 019bb3a0-c8ce-7261-ad4f-0cdc29d74802

# Write output to a custom folder and also emit JSON

dialogex --out-dir ./exports --json

Options

  • --history <path>: path to history.jsonl (default: ~/.codex/history.jsonl)
  • --session-id <id>: export a specific session
  • --out-dir <dir>: output directory (default: ./dialogex-exports)
  • --title <title>: page title
  • --brand <text>: brand line (default: Made with Dialog)
  • --brand-url <url>: brand link (default: https://dialog.sh)
  • --og-image <url>: OpenGraph/Twitter image URL
  • --base-url <url>: canonical URL for the page
  • --diff-file <path>: include a diff from a file
  • --git: include a diff from git show HEAD
  • --json: also write a JSON payload

Notes

  • 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.

Keywords

codex

FAQs

Package last updated on 20 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts