import React from 'react'; import { Sparkles, Zap, Globe, FileVideo, Subtitles, Youtube, Instagram, Shield, Github, ArrowRight, Check, ChevronDown, Monitor, Cpu, Languages, Type, Upload, Scissors, Link2 } from 'lucide-react'; import './landing.css'; // 64 deterministic tick heights: gaussian envelope × sine wave (no randomness) const METER_TICKS = Array.from({ length: 64 }, (_, i) => { const t = i / 63; const envelope = Math.exp(-((t - 0.5) ** 2) / (2 * 0.18 * 0.18)); const wave = 0.55 + 0.45 * Math.sin(i * 1.7); return Math.round((4 + 24 * envelope * wave) * 10) / 10; }); const APPARATUS_CALLOUTS = ['RATIO · 9:16', 'CLIPS · 3–15', 'DUB · 30+ LANGS', 'SUBS · WORD-LEVEL']; const SectionHeader = ({ eyebrow, title, children }) => (

{eyebrow}

{title}

{children &&

{children}

}
); const FeatureCard = ({ icon, title, description }) => { const Icon = icon; return (

{title}

{description}

); }; const StepCard = ({ number, title, description }) => (
{String(number).padStart(2, '0')}

{title}

{description}

); const ComparisonRow = ({ feature, clipwright, opusclip, kapwing }) => ( {feature} {clipwright} {opusclip} {kapwing} ); const FAQItem = ({ question, answer, isOpen, onClick }) => (
{isOpen && (

{answer}

)}
); export default function Landing({ onLaunchApp }) { const [openFaq, setOpenFaq] = React.useState(null); const [heroUrl, setHeroUrl] = React.useState(''); // Hand the pasted link to the app: MediaInput picks it up on mount, so the // user lands with their own video ready instead of an empty state. const handleHeroSubmit = (e) => { e.preventDefault(); const url = heroUrl.trim(); if (url) { try { localStorage.setItem('cw_pending_url', url); } catch { /* ignore */ } } onLaunchApp(); }; const features = [ { icon: Sparkles, title: "AI Viral Moment Detection", description: "Google Gemini 3.1 Flash-Lite scores your transcript and scenes to find the 3-15 most engaging moments. Automatic AI clipping, no manual scrubbing." }, { icon: Scissors, title: "Smart 9:16 Vertical Cropping", description: "Dual-mode AI reframing with MediaPipe face tracking and YOLOv8 fallback." }, { icon: Subtitles, title: "Automatic Subtitle Generation", description: "faster-whisper subtitles with word-level timestamps, styled and burned into your clips." }, { icon: Languages, title: "AI Voice Dubbing in 30+ Languages", description: "ElevenLabs AI dubbing translates your audio while preserving the speaker's voice." }, { icon: Type, title: "Hook Text Overlays", description: "AI-generated hook titles that capture viewers in the first 3 seconds." }, { icon: Zap, title: "AI Video Effects", description: "Gemini-generated FFmpeg filters: color grading, transitions, visual enhancements." }, { icon: Upload, title: "Local Video Upload", description: "Upload podcasts, webinars, livestreams, and vlogs at full resolution." }, { icon: Shield, title: "100% Self-Hosted & Private", description: "Run it with Docker on your own machine — videos never leave your infrastructure." }, { icon: Monitor, title: "Free AI YouTube Studio", description: "Free AI thumbnail generator, 10 viral title suggestions, and auto descriptions with chapters." }, { icon: Globe, title: "Postiz Publishing", description: "Publish to TikTok, Instagram Reels, and YouTube Shorts through a self-hosted Postiz instance." } ]; const steps = [ { title: "Upload a Long-Form Video", description: "Drop any video file you own — podcasts, webinars, livestreams, interviews." }, { title: "AI Detects the Best Viral Moments", description: "Google Gemini 3.1 Flash-Lite finds 3-15 high-potential clips of 15-60 seconds." }, { title: "Smart Cropping to Vertical 9:16", description: "AI reframes to vertical with face tracking — subjects stay centered." }, { title: "Add Subtitles, Hooks & Effects", description: "Auto subtitles, hook overlays, AI effects — optionally dub into 30+ languages." }, { title: "Download or Post to Social Media", description: "Export your clips or publish to TikTok, Instagram Reels, and YouTube Shorts through Postiz." } ]; const faqs = [ { question: "Is Clipwright really free? What's the catch?", answer: "There is no catch. Clipwright is 100% free and open source under MIT: you run it with Docker on your own machine, bring your own API keys, and there are no watermarks, no usage limits and no subscription. There is no hosted edition and no paid plan. What it costs you is hardware and time. On a typical CPU an 8-minute video takes 5 to 8 minutes to process, and you need your own Google Gemini key (required, free tier is 1,500 requests/day), plus ElevenLabs for dubbing if you want it. So: free if you are happy to run it yourself, and always will be. That is far cheaper than Opus Clip ($15-228/month) or Kapwing ($24-79/month)." }, { question: "What is Clipwright and how does it work?", answer: "Clipwright is a free, open source AI clip generator that transforms your long-form videos — podcasts, webinars, livestreams, vlogs, interviews — into viral-ready short clips in 9:16 vertical format. It uses a multi-step AI pipeline: faster-whisper for transcription with word-level timestamps, PySceneDetect for scene boundary detection, and Google Gemini 3.1 Flash-Lite AI for identifying the most engaging viral moments. According to HubSpot's 2025 State of Marketing report, short-form video delivers the highest ROI of any content format, and repurposing long-form content into shorts increases total reach by up to 300%." }, { question: "How does Clipwright compare to Opus Clip?", answer: "Clipwright is a free, self-hosted alternative to Opus Clip. Both offer AI viral moment detection and smart vertical cropping. Key differences: Clipwright is completely free vs Opus Clip's $15-228/month pricing. Clipwright runs on your infrastructure (full data privacy) vs cloud-only. Clipwright uses Google Gemini 3.1 Flash-Lite for AI analysis vs Opus Clip's proprietary model. Clipwright adds AI voice dubbing in 30+ languages, AI-generated video effects, and hook text overlays. The trade-off is that Clipwright requires Docker self-hosting, while Opus Clip is a ready-to-use cloud service." }, { question: "How do I turn a long-form video into TikTok or Reels clips?", answer: "Upload your long-form video into Clipwright, enter your free Gemini API key, and click Process. The AI transcribes it with faster-whisper, detects the best viral moments using Google Gemini 3.1 Flash-Lite, and crops them to 9:16 vertical format with MediaPipe face tracking. According to Wyzowl's 2025 Video Marketing Statistics report, 91% of businesses use video as a marketing tool, and repurposed short-form clips drive 2.5x more engagement than original content." }, { question: "Can Clipwright generate YouTube thumbnails and titles for free?", answer: "Yes. Clipwright includes a free AI YouTube thumbnail generator, a free AI YouTube title generator, and a free AI YouTube description generator — all powered by Google Gemini 3.1 Flash-Lite. Upload your video and the AI suggests 10 viral title options with an interactive refinement chat. Then it generates multiple thumbnail designs using AI image generation — upload a face photo and background image for personalized results. The studio also auto-generates YouTube descriptions with chapter timestamps and lets you publish directly to YouTube. Everything is 100% free with the Gemini free tier." }, { question: "What AI does Clipwright use for viral moment detection?", answer: "Clipwright uses Google Gemini 3.1 Flash-Lite, Google's latest multimodal AI model, for viral moment detection and title generation. The AI receives the full video transcript with timestamps, scene boundary data from PySceneDetect, and analyzes engagement patterns to identify the 3-15 most shareable moments. Each clip is scored based on emotional impact, hook strength, and viral potential — similar to how platforms like TikTok and YouTube rank content." }, { question: "Can Clipwright translate and dub videos into other languages?", answer: "Yes. Clipwright integrates with ElevenLabs AI dubbing to translate your video audio into over 30 languages while preserving the original speaker's voice characteristics. After dubbing, the system automatically re-transcribes the new audio and generates subtitles in the target language. This makes it easy to repurpose content for global audiences — studies show that dubbed content receives 2-3x more engagement in non-English markets." }, { question: "How does the smart vertical cropping work?", answer: "Clipwright offers two intelligent cropping modes for converting 16:9 horizontal video to 9:16 vertical format. TRACK mode uses MediaPipe face detection with YOLOv8 as fallback to follow a single subject with 'Heavy Tripod' stabilization — the camera moves smoothly like a professional cameraman. GENERAL mode handles group shots and landscapes by creating a blurred background layout. A SpeakerTracker prevents rapid switching between subjects and handles temporary occlusions for smooth results." }, { question: "Is there a free open source clip generator?", answer: "Yes — Clipwright is a 100% free, open source clip generator (also known as open source clipping software or an AI video clipper). Unlike paid clip generators like Opus Clip ($15-228/month) or Kapwing ($24-79/month), Clipwright lets you generate unlimited clips with no watermarks, no usage limits, and no subscription fees. It also includes a free AI YouTube thumbnail generator, free AI YouTube title generator, and free AI YouTube description generator — features that other clip generators charge extra for. You self-host it with Docker on your own machine for full privacy and control." }, { question: "Can I automate Clipwright?", answer: "Yes. Clipwright exposes a REST API with per-user keys and completion webhooks, so a script or workflow can submit a video URL, wait for processing, and list the clips. Those clips publish to TikTok, Instagram or YouTube through a self-hosted Postiz instance. There is also an importable n8n workflow. Full guide at /automate-shorts-api." }, { question: "What are the system requirements to run Clipwright?", answer: "Clipwright runs on any system with Docker installed. The recommended setup is 8GB+ RAM and a modern multi-core CPU. GPU acceleration (NVIDIA CUDA) is optional but speeds up video processing significantly. The Docker Compose setup handles all dependencies automatically — Python 3.11, FFmpeg, YOLOv8, MediaPipe, faster-whisper, and the React dashboard. It works on Linux, macOS, and Windows (via WSL2/Docker Desktop)." } ]; const checkIcon = ; const checkMuted = ; const xIcon = Paid; return (
{/* Navigation — N9 edge-aligned minimal */} {/* Hero — Marquee Hero: blueprint grid, content left, apparatus right */}

00 · AI Clip Generator · Self-Hosted

the free open source ai clip generator, built to clip what people actually watch.

turn long videos into viral 9:16 shorts — self-hosted with docker, free under mit. publish to tiktok, instagram reels and youtube shorts through a self-hosted{' '} postiz{' '} instance, or wire the rest api into your own pipeline with the{' '} n8n workflow. just want it free? start with the{' '} free ai clip generator.

{/* The hero CTA is the product itself: paste a link and land in the app with it loaded. There is no account to create first. */}
setHeroUrl(e.target.value)} placeholder="paste a video link" className="input-field pl-11" aria-label="Video link" />
{/* Trust line right under the CTA: the software is free, so the only real trade is hardware and setup time. */}
mit licensed · free forever no watermark · no usage cap · no account

self-host it with docker and bring your own keys.{' '} self-host free on github →

{/* Apparatus — instrument bezel holding a real 9:16 clip */}
{/* Meter strip */} {/* Stats — three-stat row */}
3–15
Clips per Video
30+
Dubbing Languages
100%
Open Source
{/* Smart crop — real product output: 16:9 source to 9:16 result */}
Real output: AI face tracking reframes 16:9 to vertical 9:16 — no manual positioning.
{/* One product, two self-host paths: Docker image or from source. */}
One self-hosted product, free and open source under MIT — there is no hosted edition and no paid plan.

docker — one command

Recommended · Free · MIT
    {['docker compose up starts the whole stack', 'Runs on your machine or your own server', 'Bring your own Gemini key, free tier covers 1,500 requests a day', 'No watermark, no usage cap, no subscription'].map((f, i) => (
  • {f}
  • ))}

source — for developers

Free · MIT
    {['Your machine: 5 to 8 min on a typical CPU', 'Bring your own Gemini and ElevenLabs keys', 'You install it, you maintain it, you back it up', 'Free forever, and always will be'].map((f, i) => (
  • {f}
  • ))}
view on github
{/* 3 Tools in 1 Section */}
Everything below runs in the self-hosted app — bring your own keys for the AI features.

01 · Clips

Clip Generator

Open source AI clipping tool: turn long-form videos into viral-ready 9:16 shorts.

    {['AI viral moment detection', 'Smart face-tracking crop', 'Auto subtitles + AI dubbing in 30+ languages'].map((f, i) => (
  • {f}
  • ))}

02 · Publishing

Postiz Publishing

Publish finished clips through a self-hosted Postiz instance.

    {['TikTok, Instagram Reels & YouTube Shorts', 'Self-hosted, you own the credentials', 'Schedule or post now'].map((f, i) => (
  • {f}
  • ))}

03 · Studio

YouTube Studio

Free AI YouTube toolkit: thumbnails, titles, descriptions.

    {['AI thumbnail generator (with face upload)', '10 viral title suggestions + chat', 'Direct publish to YouTube'].map((f, i) => (
  • {f}
  • ))}
{/* Features Section */}
The free open source clip generator. A smart AI video clipper for TikTok, Reels & Shorts.
{features.map((feature, i) => ( ))}
{/* API Keys Section */}
You bring your own keys — Gemini is required, ElevenLabs and Postiz are optional, and each has a generous free tier:
Required

Google Gemini API

Free tier: 1,500 req/day

Powers all AI features: viral moment detection, title generation, video effects, YouTube thumbnail creation, and description writing. The core engine of Clipwright.

Optional

ElevenLabs API

Free tier included

Enables AI voice dubbing and translation in 30+ languages. Preserves the original speaker's voice while translating audio. Dubbed clips are auto-subtitled.

Optional

Self-hosted Postiz

You run it

Publishes finished clips to YouTube, TikTok, and Instagram Reels from the dashboard. Postiz runs on your own infrastructure and holds the platform credentials, so Clipwright never has them.

{/* How It Works Section */}
From long-form video to viral-ready clips in 5 automated steps.
{steps.map((step, i) => ( ))}
{/* Tech Stack */}
Industry-leading AI models and open source tools in one pipeline.
{[ { name: "Google Gemini 3.1", desc: "AI Analysis" }, { name: "faster-whisper", desc: "Transcription" }, { name: "YOLOv8", desc: "Object Detection" }, { name: "MediaPipe", desc: "Face Tracking" }, { name: "FFmpeg", desc: "Video Processing" }, { name: "ElevenLabs", desc: "Voice & TTS" }, { name: "React + Vite", desc: "Dashboard" }, { name: "Docker", desc: "Deployment" } ].map((tech, i) => (
{tech.name}
{tech.desc}
))}
{/* Comparison Table */}
Clipwright is free and open source — you self-host it. Opus Clip runs $15-228/month, Kapwing $24-79/month.
$0 Free} opusclip={xIcon} kapwing={xIcon} /> Limited} kapwing={No} /> No} kapwing={checkMuted} /> Cloud only} kapwing={Cloud only} /> Free tier only} kapwing={Paid} /> No} kapwing={No} /> No} kapwing={Paid} /> Limited} kapwing={Paid} /> Built-in} kapwing={Limited} /> Unlimited} opusclip={Per plan} kapwing={Per plan} />
Feature Clipwright Opus Clip Kapwing
{/* Use Cases */}
Creators, marketers, and agencies scaling short-form video production.
{[ { title: "Content Creators", description: "Repurpose long-form videos into TikTok and Reels clips automatically.", icon: Youtube }, { title: "Social Media Managers", description: "Batch-process videos and publish for multiple clients from one dashboard.", icon: Instagram }, { title: "Podcasters & Educators", description: "Extract the most engaging moments from episodes and lessons.", icon: FileVideo }, { title: "Businesses & Brands", description: "Turn every long video into a week of posts and schedule them through self-hosted Postiz.", icon: Sparkles } ].map((useCase, i) => (

{useCase.title}

{useCase.description}

))}
{/* FAQ Section */}
Everything you need to know about Clipwright, from setup to features.
{faqs.map((faq, i) => ( setOpenFaq(openFaq === i ? null : i)} /> ))}
{/* CTA Section — final statement */}

start creating viral videos today.

free and open source under mit · no watermark · no usage cap · self-host with docker.

Star on GitHub
{/* Footer — Ft5 Statement */}
); }