Hook Script Boilerplate Generator
Select an event label + a single action, and we’ll generate a ready-to-edit script. CaptureGem has no hook, plugin or event-script system, so it never runs these scripts or sends them data: you run them yourself (for example from cron or Task Scheduler) and pipe in a small JSON payload. Security: we only generate placeholders — never paste secrets into this tool.
Enable "If/Then" Wrapper
Save as: scripts/on_recording_finished.py
Payload Field Reference
Fields the generated scripts read from the JSON you pipe in. CaptureGem doesn't send them; you can copy values such as modelName and duration from a video's metadata.json.
{model_name} — The performer's username.{resolution} — e.g., '1080p', '4K'.{bitrate} — Current stream bitrate in kbps.{duration} — Recording length in seconds.{file_path} — Absolute path to the recorded file.
Loading comments...