Project Profile · mutonby/openshorts · MIT License

OpenShorts Self-Hosted: Setup, License & Verdict

Everything you need to evaluate and deploy mutonby/openshorts locally—from MIT commercial rights and 2-host split 9:16 cropping to CPU vs RTX GPU speed.

OpenShorts is a full-stack open-source AI video clipper that converts long-form horizontal podcasts, livestreams, interviews, and webinars into vertical 9:16 Shorts, TikToks, and Reels with burned-in word-level subtitles, opening hook banners, and active-speaker face tracking.

  • GitHub Repository: github.com/mutonby/openshorts
  • License Verdict (Verified): MIT License — 100% free for personal channels, commercial businesses, and client agency clipping with zero watermarks and no usage caps.

How OpenShorts Works Under the Hood

OpenShorts chains four open-source media components inside its Python/FastAPI worker pipeline: faster-whisper (or NVIDIA Parakeet on GPU) transcribes dialogue with millisecond word timestamps; PySceneDetect locates clean camera cuts; Google Gemini 3.1 Flash-Lite—or any local model routed via LLM_BASE_URL—ranks 3 to 15 standalone moments (15–60 seconds each); and MediaPipe + YOLOv8 reframes 16:9 footage into 9:16 before FFmpeg burns in styled subtitles.

15-Minute Docker Compose Deployment Steps

  1. Clone the repository and copy the environment template:
    git clone https://github.com/mutonby/openshorts.git
    cd openshorts
    cp .env.example .env
    
  2. Choose cloud BYOK or 100% offline Ollama moment scoring:
    • Gemini Flash (Free API tier up to 1,500 req/day): Leave LLM_BASE_URL unset in .env and paste your Gemini key directly inside the web dashboard settings after launch.
    • Local Ollama (Air-gapped): Pull an instruction model on your host (ollama pull qwen2.5:14b) and add LLM_BASE_URL=http://host.docker.internal:11434/v1 (or http://172.17.0.1:11434/v1 on Linux Docker) to .env.
  3. Build and launch the dashboard on port 5175:
    docker compose up --build
    
    Open http://localhost:5175 to upload a local MP4 or paste a YouTube/Twitch URL. Need a pre-filled .env for CUDA vs CPU? Generate one in our Self-Hosted AI Video Clipper Docker Guide.

OpenShorts-Specific Gotchas When Self-Hosting

  • CPU vs GPU lockfiles and encode speed: Without NVIDIA CUDA + NVENC passthrough, CPU-only mode processes an 8-minute 1080p video in roughly 5 to 8 minutes (~1x real time). With an RTX GPU (nvidia-ctk configured), that same 8-minute video finishes in ~50 seconds.
  • Settings live in both .env and the Web UI: Infrastructure variables (LLM_BASE_URL, S3 storage backup) belong in .env, whereas per-service keys (Gemini, ElevenLabs 30+ language voice dubbing, fal.ai, Upload-Post social scheduling) can be entered directly in the localhost:5175 dashboard.
  • Cloud Autopilot is hosted-only: Channel-polling "Autopilot" is part of OpenShorts Cloud, but self-hosters can replicate automated ingestion for free by wiring n8n or Claude to OpenShorts's built-in /mcp endpoint or CLI (pip install openshorts).

How OpenShorts Differs from the Other 4 Clippers

  • Automatic 2-speaker SPLIT podcast layout: Unlike single-box face trackers, OpenShorts detects two hosts in a wide shot, stacks them vertically in 9:16, and places subtitles on the center seam so neither face is covered.
  • Commercial MIT license vs SupoClip: Agencies and B2B teams can run OpenShorts commercially without restriction, whereas SupoClip restricts agency/client self-hosting without written permission (see our OpenShorts vs SupoClip Review).
  • Lighter baseline container stack: Runs without requiring separate PostgreSQL and Redis containers for local single-user setups, unlike SupoClip's multi-service architecture. Compare all five stacks in our Open Source OpusClip Alternatives Matrix.

OpenShorts Self-Hosting FAQ

Is OpenShorts completely free for commercial and agency use?

Yes. OpenShorts is distributed under the permissive MIT License, allowing personal creators, companies, and marketing agencies to self-host it for commercial client videos with zero watermarks.

Can I run OpenShorts without a Google Gemini API key?

Set LLM_BASE_URL in your .env file to point to Ollama, LM Studio, or vLLM (for example http://host.docker.internal:11434/v1) so both faster-whisper transcription and LLM moment selection run locally without a Google Gemini API key.

What port and RAM does self-hosted OpenShorts require?

OpenShorts exposes its web dashboard on http://localhost:5175 by default when launched with docker compose up --build, and recommends at least 8 GB of system RAM.

Self-Hoster Notes & Benchmark Feedback (0)

Running one of these open-source clippers on an RTX card, Apple Silicon Mac, or home server? Share your real render times, Whisper model settings, or Docker tips below.

No hardware notes posted on this page yet—be the first to share what GPU/CPU and Whisper model you run.