river138 downloadsExport local Codex archived sessions to Markdown notes grouped by workspace.
Codex Session Archive exports local Codex session JSONL files into Markdown notes inside your Obsidian vault.
It is built for Codex Desktop / Codex CLI local logs:
~/.codex/archived_sessions/rollout-*.jsonl~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl~/.codex/session_index.jsonl for thread titles and update timesdata:image/...;base64,... images into a media/ folder next to the Markdown file. so Obsidian handles spaces in paths.codex_session_id unless overwrite is enabled.Codex Session Archive: Export archived sessionsCodex Session Archive: Rebuild archived sessions~/.codex.Archive/Codex Sessions and is relative to the current vault.~/.codex/sessions.This plugin is desktop-only because it reads files outside the vault from the local Codex data directory.
The plugin uses Node.js filesystem access to read Codex logs from the configured Codex home directory. Output paths are constrained to the current vault.
Build the plugin:
npm install
npm run build
Copy manifest.json, main.js, and styles.css into:
<your-vault>/.obsidian/plugins/codex-session-archive/
Reload Obsidian and enable the plugin.