Skip to content

AbdoKnbGit/opencode-replay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCode Lightweight Replay

OpenCode Replay Studio

A lightweight, zero-configuration replay studio for OpenCode sessions. This replaces the complex structure with a simple 2-file approach.

Download

Clone the repository to your local machine:

git clone https://github.com/AbdoKnbGit/opencode-replay.git
cd opencode-replay

How to use

  1. Ensure you have Node.js installed.
  2. Find your session ID by looking at the name of your log file in your OpenCode logs directory:
    • Windows: ~\AppData\Local\share\opencode\log\ or ~\.local\share\opencode\log\
    • macOS / Linux: ~/.local/share/opencode/log/

Session Log Example

  1. Run the export script with your session ID:
node export-session.mjs 2026-05-24T105838

Or simply use the latest session

Alternatively, to automatically grab and play the most recent session, run:

node export-session.mjs --latest

The script will automatically parse the SQLite database, generate the appropriate .jsonl format, and immediately launch studio.html in your browser to monitor the session!

About

OpenCode Replay Studio for Hight quality monitoring

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors