Skip to content

Understand your lectures. Keep your place.

Watch German lectures with Russian voice-over while the next sections are prepared on your Mac.

Source only · in development macOS 15+ · Apple Silicon

StatusNo binary release or installer is published. The repository contains the latest selected recognition improvements; it does not include private development history or machine-specific runtime files.

“Lektien” is the project’s name and echoes the German word “Lektion” (lesson). The repository, package and folder names keep this spelling.

Lektien Player

What's inside

Installation, features, data, checks.

Installation

Source only: the steps from “Build and requirements”.

export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
swift build
LEKTIEN_RUNTIME_DIRECTORY=/path/to/Runtime bash scripts/build-preview.sh
checks sizes and SHA-256 against Config/runtime-manifest.json, downloads nothing

Your data

Recognition and speech synthesis run on your Mac. For translation, the subtitle text is sent through Codex CLI to a signed-in service (ChatGPT). Telegram uses your own session.

Translation through an external service

Features

MP4 · M4V · MKVEmbedded tracks and SRTGerman speech recognitionTranslation DE → RUKseniya voice-overTelegram streamingHome-network playbackExport M4A · SRT · MP4 · MKV

Checked

  • Documentation checks on GitHub Actions
  • Swift and Node tests in the repository (locally with scripts/verify.sh)
  • Runtime manifest with sizes and SHA-256 (Config/runtime-manifest.json)
  • Interface in German, English and Russian
  • Installation on a freshly set-up Mac not yet verified

What it does

Build and requirements

Source only; no ready-to-install package. macOS 15+, Apple Silicon, Xcode 16.4+ / Swift 6.1. Full functionality needs a separate Runtime, Codex CLI signed in to ChatGPT, and Python/Torch/Silero Kseniya. Installation on a clean Mac is not yet verified.

Install Xcode 16.4 or later and select its developer directory. Run swift build from the project folder to compile. bash scripts/build-preview.sh additionally requires Runtime matching Config/runtime-manifest.json; it validates every pinned size and SHA-256 and does not download components. Supply it using LEKTIEN_RUNTIME_DIRECTORY. The model and media tools are excluded from Git. The manifest records the existing local artifact set, not a public download service. No automatic, reproducible runtime acquisition is provided yet.

Kseniya currently expects an existing Python environment in ~/Library/Application Support/SRTVoiceover/.venv-silero with Python/Torch/Silero and the voice model. Codex CLI must be installed and authorized independently. The application also uses system Ruby. A source build alone does not install these components. Do not copy credentials or a virtual environment between machines.

Current limitations

Data and privacy

Speech recognition and synthesis run locally. Translation sends prepared subtitle text to the signed-in service. Telegram requests use your own authorized session. Credentials are stored separately on the Mac. Source recordings are preserved; cache data is stored in .lektien. Only share the chosen library on a trusted home network; do not forward its port to the Internet.

Rights and use

The source code is public for viewing; no open-source license is granted. No release binary is currently published. Third-party components keep their own terms. RIGHTS.md