Automatically generate and burn captions into videos using AI transcription.
- Rust: https://rustup.rs/
- Bun: https://bun.sh/
- FFmpeg (auto-installed on macOS)
-
Clone the repository
git clone <repository-url> cd capslap
-
Build Rust core
cd rust cargo build cd ..
-
Install Electron dependencies
cd electron bun installFFmpeg will be automatically downloaded on macOS during
bun install. -
Run the app
bun run dev
Local whisper models can be downloaded directly through the app UI, or manually:
mkdir -p rust/models
# Tiny model (fastest, 75 MB)
curl -L https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny.bin \
-o rust/models/ggml-tiny.bin
# Base model (recommended, 142 MB)
curl -L https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.bin \
-o rust/models/ggml-base.binAlternatively, use OpenAI API (requires API key) without downloading models.
FFmpeg is automatically downloaded during bun install via the postinstall script.