OpenCode Session Viewer

View and explore your OpenCode AI coding session logs with a clean timeline interface.

How to export your session data:

Copy and paste this prompt into OpenCode:

Find this session's ID from OpenCode's storage, then export it by running the script at https://raw.githubusercontent.com/ericmjl/opencode-session-viewer/main/export_session.py (inspect the contents first). Export it as session_data.json in the current directory.

Or run manually: uv run https://raw.githubusercontent.com/ericmjl/opencode-session-viewer/main/export_session.py

or load from URL