Skip to main content

Configuration reference

Set in .env (ignored by git). .env.example has every variable with a safe placeholder.

Models​

VariableMeaning
OMLX_BASE_URLOpenAI-compatible endpoint of your local model server
OMLX_MODELText model for notes, cards and answers
OMLX_VL_MODELVision-capable model for slides; blank uses on-screen text only
OMLX_VL_THINKfalse unless you have evaluated otherwise
OMLX_JUDGE_MODELJudge for evaluation; must differ from the generator
OMLX_API_KEYOnly if your server requires one. Never commit it

Capture​

VariableMeaning
SP_BINPath to the recorder binary
SCREENPIPE_URLIts local API, default http://localhost:3030
SP_PORTAL_APPSBrowser captured in portal mode
SP_LIVE_APPSMeeting app names, comma-separated
SP_LIVE_BROWSER_TITLES<app>::<title contains> for browser windows also captured in live mode
SP_AUTO_SWITCH, SP_LIVE_COOLDOWN_MINFollow meetings automatically
SP_URL_ALLOWExtra allowed hosts for portal mode
SP_IGNOREApp or title words that are never recorded
SP_DRM_URLSPages with protected video: host or host/path-prefix, comma-separated
SP_AUDIO_ENGINESpeech-to-text engine name
SCREENPIPE_AUDIO_TAP_APPSApp whose own audio is tapped
SP_VISUAL_CHECK_MS, SP_VISUAL_CHANGE_THRESHOLD, SP_MIN_CAPTURE_MS, SP_IDLE_CAPTURE_MSFrame sampling

Course and output​

VariableMeaning
STUDY_LECTURE_SITEHost of your course portal
STUDY_PORTAL_NAMEPortal name as shown in window titles
STUDY_COURSE_NAMEWritten into each lecture note
STUDY_LIVE_APPSApp names treated as live classes when finding sessions (default zoom)
STUDY_LECTURE_DIR, STUDY_NOTES_DIROutput folders
STUDY_VAULT, STUDY_VAULT_SUBDIRObsidian vault and subfolder
STUDY_AUDIO_DEVICEauto picks the non-microphone device with the most text
STUDY_CTX_CHARSCharacters of source per model call (default 60000)
STUDY_PART_CHARSSize of transcript parts for long sessions (default 24000)
STUDY_SESSION_GAP_MIN, STUDY_MIN_SESSION_MINSession splitting
STUDY_VL_MAX_EDGELong edge of images sent to the vision model
STUDY_PYTHONPython to use when the default lacks Pillow

Evaluation​

VariableMeaning
EVAL_FORCE=1Run an eval even while live capture is on (not advised)
DEEPEVAL_PER_TASK_TIMEOUT_SECONDS_OVERRIDEPer-metric budget; the runner sets 1200 s for a slow local judge