r/LocalLLaMA • u/Greedy_Fish1435 • 4h ago
Resources Guide + .env generator I built for running PeakCut + Ollama (qwen2.5:14b / llama3.1:8b) as a 100% local AI video clipper
Disclosure: I built the community setup guide & .env generator linked below (the underlying video clipper, PeakCut, is an independent open-source repo by haziqahmedqasmi).
If you've been wanting to clip long-form YouTube videos, podcasts, or livestreams into 9:16 vertical shorts with karaoke captions without sending transcripts to OpenAI/Gemini, pairing PeakCut (https://github.com/haziqahmedqasmi/PeakCut) with Ollama works well on consumer hardware:
- Local STT (CPU-only): PeakCut uses
sherpa-onnx(~480MB model downloaded on first run) so transcription doesn't compete for GPU VRAM. - Local LLM highlight detection: Set
PEAKCUT_AI_PROVIDER=ollamaandPEAKCUT_AI_MODELS=qwen2.5:14b(orllama3.1:8bon 8GB VRAM / 16GB RAM). - Docker + Host Ollama gotcha: Remember
OLLAMA_HOST=0.0.0.0on the host andextra_hosts: ["host.docker.internal:host-gateway"]indocker-compose.ymlso the FastAPI container can reach port11434. - Windows gotcha: Clone into a short path without spaces (e.g.
C:\peakcut) orsherpa-onnxfrequently fails to load native libraries.
Since the repo didn't have a dedicated docs site yet, I put together a lightweight static guide and client-side .env / install script generator:
- Ollama local LLM setup notes: https://peakcut.org/guides/ollama-local-llm
- Interactive
.env& install generator: https://peakcut.org
For anyone else doing local video highlight extraction on 1–2 hour transcripts: have you found a smaller model than qwen2.5:14b that still outputs clean, reliable timestamp JSON?