Chapter 11

Session recording & export

Opt-in NDJSON recording, replay and asciinema export, and how the database stays small.

Enabling recording

Recording is off by default. It can be enabled in settings, or forced with the environment variable WROLP_RECORDING=1 (use 0 to force it off).

Where events are written

Events are written per session as NDJSON:

<data dir>/recordings/<workspace>/<group>/<connection>/<timestamp>_<session8>.jsonl

The recordings panel

A bottom panel provides:

Handling recordings

Recordings capture terminal content, so treat the recordings/ directory as sensitive: it lives inside the data directory covered in chapter 12 and moves with it.