Hook Script Boilerplate Generator guide illustration

Hook Script Boilerplate Generator


Select a CaptureGem hook trigger + a single action, and we’ll generate a ready-to-edit script. Security: we only generate placeholders — never paste secrets into this tool.

Warning: Never paste API keys, tokens, or passwords into this UI. We generate placeholders for you to fill in locally.
Enable "If/Then" Wrapper

Save as: hooks/on_recording_finished.py

CaptureGem Tag Reference

Use these tags in your scripts to access metadata passed by the recorder.

{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.

Rate this guide

Loading ratings...

Was this guide helpful?

Comments