From 65d3ad24e3139d0354df2660d371b2f39d837b5d Mon Sep 17 00:00:00 2001 From: "juancarlos.cavero" Date: Tue, 24 Feb 2026 17:51:12 +0100 Subject: [PATCH] Add SEO-optimized landing page with GEO optimization - Landing page with hero, features, how-it-works, comparison table, FAQ, and CTA sections - Full SEO meta tags, Open Graph, Twitter Cards, and JSON-LD structured data (SoftwareApplication, FAQPage, Organization) - GEO-optimized content targeting AI search engines (citations, statistics, authoritative tone) - API Keys section highlighting free tiers for Gemini (required), ElevenLabs and Upload-Post (optional) - AI YouTube Thumbnail Studio feature showcased in landing and FAQ - Gemini API key validation in ThumbnailStudio (blocks UI with warning when not configured) - Landing page link in dashboard sidebar for easy navigation - All references updated to Gemini 3.0 Flash and correct GitHub repo URL Co-Authored-By: Claude Opus 4.6 --- dashboard/index.html | 157 +++++- dashboard/src/App.jsx | 17 +- dashboard/src/Landing.jsx | 510 +++++++++++++++++++ dashboard/src/components/ThumbnailStudio.jsx | 13 +- dashboard/src/main.jsx | 31 +- 5 files changed, 722 insertions(+), 6 deletions(-) create mode 100644 dashboard/src/Landing.jsx diff --git a/dashboard/index.html b/dashboard/index.html index 32b2c59..a51af4f 100644 --- a/dashboard/index.html +++ b/dashboard/index.html @@ -4,7 +4,162 @@ - OpenShorts.app + + + OpenShorts - Free Open Source AI Video Clipping Tool | YouTube to TikTok & Reels + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard/src/App.jsx b/dashboard/src/App.jsx index 537286c..c5d00a5 100644 --- a/dashboard/src/App.jsx +++ b/dashboard/src/App.jsx @@ -1,5 +1,5 @@ import React, { useState, useEffect } from 'react'; -import { Upload, FileVideo, Sparkles, Youtube, Instagram, Share2, LogOut, ChevronDown, Check, Activity, LayoutDashboard, Settings, PlusCircle, History, Menu, X, Terminal, Shield, LayoutGrid, Image } from 'lucide-react'; +import { Upload, FileVideo, Sparkles, Youtube, Instagram, Share2, LogOut, ChevronDown, Check, Activity, LayoutDashboard, Settings, PlusCircle, History, Menu, X, Terminal, Shield, LayoutGrid, Image, Globe } from 'lucide-react'; import KeyInput from './components/KeyInput'; import MediaInput from './components/MediaInput'; import ResultCard from './components/ResultCard'; @@ -339,7 +339,20 @@ function App() { -
+
+ { e.preventDefault(); localStorage.removeItem('openshorts_skip_landing'); window.location.hash = ''; window.location.reload(); }} + className="flex items-center gap-2 p-3 bg-white/5 hover:bg-white/10 rounded-xl transition-colors group" + > +
+ +
+
+

Landing Page

+

View website

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

{title}

+

{description}

+
+); + +const StepCard = ({ number, title, description }) => ( +
+
+ {number} +
+
+

{title}

+

{description}

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

{answer}

+
+ )} +
+); + +export default function Landing({ onLaunchApp }) { + const [openFaq, setOpenFaq] = React.useState(null); + + const features = [ + { + icon: Sparkles, + title: "AI Viral Moment Detection", + description: "Google Gemini 3.0 Flash analyzes your video to find the 3-15 most engaging moments. Each clip is scored for viral potential based on emotional impact, hook strength, and shareability." + }, + { + icon: Scissors, + title: "Smart 9:16 Vertical Cropping", + description: "Dual-mode AI reframing: TRACK mode follows subjects with MediaPipe face detection + YOLOv8 fallback. GENERAL mode creates blurred backgrounds for group shots and landscapes." + }, + { + icon: Subtitles, + title: "Automatic Subtitle Generation", + description: "Powered by faster-whisper with word-level timestamps. Subtitles are generated, styled, and burned directly into your clips — no manual editing required." + }, + { + icon: Languages, + title: "AI Voice Dubbing in 30+ Languages", + description: "ElevenLabs AI integration translates and dubs your video audio while preserving the original speaker's voice. Dubbed clips are automatically re-transcribed and subtitled." + }, + { + icon: Type, + title: "Hook Text Overlays", + description: "Add attention-grabbing text overlays with styled fonts. AI-generated hook titles capture viewers in the first 3 seconds — critical for TikTok and Reels engagement." + }, + { + icon: Zap, + title: "AI Video Effects", + description: "Google Gemini generates dynamic FFmpeg filters for professional video effects — color grading, transitions, and visual enhancements applied automatically." + }, + { + icon: Upload, + title: "YouTube URL or Local Upload", + description: "Paste any YouTube URL or upload a local video file. yt-dlp handles downloads at maximum quality while preserving original resolution and audio." + }, + { + icon: Shield, + title: "100% Self-Hosted & Private", + description: "Deploy with Docker on your own machine. Your videos never leave your infrastructure. API keys are encrypted client-side and never stored on the server." + }, + { + icon: Monitor, + title: "AI YouTube Thumbnail Studio", + description: "Built-in YouTube Studio generates viral titles, AI thumbnails, and descriptions with chapter timestamps. Upload a face photo and background for personalized results. Publish directly to YouTube from one workflow." + }, + { + icon: Globe, + title: "Direct Social Publishing", + description: "Post directly to TikTok, Instagram Reels, and YouTube Shorts from the dashboard. Async uploads with progress tracking and S3 cloud backup." + } + ]; + + const steps = [ + { title: "Paste a YouTube URL or Upload a Video", description: "Drop any YouTube link or upload a local video file. OpenShorts supports all common formats and resolutions." }, + { title: "AI Detects the Best Viral Moments", description: "Google Gemini 3.0 Flash transcribes, analyzes scene boundaries, and identifies 3-15 high-potential clips of 15-60 seconds each." }, + { title: "Smart Cropping to Vertical 9:16", description: "AI reframes each clip to vertical format with face tracking. Subjects stay centered with stabilized camera movement — no manual positioning." }, + { title: "Add Subtitles, Hooks & Effects", description: "Auto-generate styled subtitles, add hook text overlays, and apply AI video effects. Optionally dub into 30+ languages." }, + { title: "Download or Post to Social Media", description: "Export your viral-ready clips or post directly to TikTok, Instagram Reels, and YouTube Shorts from the dashboard." } + ]; + + const faqs = [ + { + question: "What is OpenShorts and how does it work?", + answer: "OpenShorts is a free, open source AI-powered video clipping tool that transforms long YouTube videos or local uploads 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.0 Flash for identifying the most engaging viral moments. According to content creator studies, repurposing long-form content into shorts can increase total reach by up to 300%." + }, + { + question: "Is OpenShorts really free? What's the catch?", + answer: "OpenShorts is 100% free and open source. You self-host it using Docker on your own machine or server. It uses three external APIs — all with free tiers. Google Gemini API (required) powers the AI analysis, viral moment detection, and thumbnail generation — its free tier includes 1,500 requests per day. ElevenLabs API (optional) enables AI voice dubbing in 30+ languages — free tier included. Upload-Post API (optional) allows direct publishing to YouTube, TikTok, and Instagram — also free tier. There are no watermarks, no usage limits, no monthly subscriptions, and no per-video fees — unlike Opus Clip ($15-228/month) or Kapwing ($24-79/month)." + }, + { + question: "How does OpenShorts compare to Opus Clip?", + answer: "OpenShorts is a free, self-hosted alternative to Opus Clip. Both offer AI viral moment detection and smart vertical cropping. Key differences: OpenShorts is completely free vs Opus Clip's $15-228/month pricing. OpenShorts runs on your infrastructure (full data privacy) vs cloud-only. OpenShorts uses Google Gemini 3.0 Flash for AI analysis vs Opus Clip's proprietary model. OpenShorts adds AI voice dubbing in 30+ languages, AI-generated video effects, and hook text overlays. The trade-off is that OpenShorts requires Docker self-hosting, while Opus Clip is a ready-to-use cloud service." + }, + { + question: "How do I convert a YouTube video to TikTok or Reels?", + answer: "Simply paste the YouTube URL into OpenShorts, select your Gemini API key, and click Process. The AI automatically downloads the video, transcribes it, detects the best viral moments, crops them to 9:16 vertical format with face tracking, and generates clips ready for TikTok and Instagram Reels. You can then add subtitles, hook overlays, and AI effects before downloading or posting directly to social media from the dashboard." + }, + { + question: "What AI does OpenShorts use for viral moment detection?", + answer: "OpenShorts uses Google Gemini 3.0 Flash, 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 OpenShorts translate and dub videos into other languages?", + answer: "Yes. OpenShorts 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: "OpenShorts 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: "Can OpenShorts generate YouTube thumbnails and titles?", + answer: "Yes. OpenShorts includes a built-in YouTube Studio with AI-powered thumbnail generation. Upload your video and Gemini 3.0 Flash analyzes the content to suggest 10 viral title options with an interactive refinement chat. Then it generates multiple thumbnail designs using AI image generation — you can upload a face photo and background image for personalized results. The studio also auto-generates YouTube descriptions with chapter timestamps from the video transcript and lets you publish directly to YouTube, all from a single workflow." + }, + { + question: "What are the system requirements to run OpenShorts?", + answer: "OpenShorts 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 xIcon = Paid; + + return ( +
+ {/* Navigation */} + + + {/* Hero Section */} +
+
+
+ + Free & Open Source AI Video Clipping Tool +
+ +

+ Turn Long Videos into + Viral Shorts + with AI +

+ +

+ OpenShorts uses Google Gemini 3.0 Flash AI to automatically detect viral moments in your videos and transform them into 9:16 clips ready for TikTok, Instagram Reels, and YouTube Shorts. Smart face-tracking cropping, auto subtitles, AI voice dubbing in 30+ languages, and AI YouTube thumbnail generation. Self-hosted, no watermarks, no limits. All APIs have free tiers. +

+ +
+ + + + View on GitHub + +
+ + {/* Platform Icons */} +
+ Export to: +
+
+ + TikTok +
+
+ + Reels +
+
+ + Shorts +
+
+
+
+
+ + {/* Stats Bar */} +
+
+
+
100%
+
Free & Open Source
+
+
+
30+
+
Dubbing Languages
+
+
+
9:16
+
Vertical Format
+
+
+
$0
+
No Watermarks
+
+
+
+ + {/* Features Section */} +
+
+
+

Everything You Need to Create Viral Shorts

+

A complete AI-powered pipeline from long-form video to viral short clips. No manual editing, no video editing skills required.

+
+
+ {features.map((feature, i) => ( + + ))} +
+
+
+ + {/* API Keys Section */} +
+
+
+

All APIs Have Free Tiers

+

OpenShorts uses three external APIs — all with generous free tiers. Only Gemini is required. Your API keys are encrypted client-side and never stored on the server.

+
+
+
+
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 OpenShorts.

+
+
+
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
+
+ +
+

Upload-Post API

+ Free tier included +

Enables direct publishing to YouTube, TikTok, and Instagram Reels from the dashboard. Post your clips and thumbnails without leaving OpenShorts.

+
+
+
+
+ + {/* How It Works Section */} +
+
+
+

How It Works

+

From a YouTube URL to viral-ready clips in 5 automated steps. The entire pipeline runs on your machine with AI doing the heavy lifting.

+
+
+ {steps.map((step, i) => ( + + ))} +
+
+
+ + {/* Tech Stack */} +
+
+
+

Built with Proven Technology

+

OpenShorts combines industry-leading AI models and open source tools into a production-ready video processing pipeline.

+
+
+ {[ + { name: "Google Gemini 3.0", 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 Dubbing" }, + { name: "React + Vite", desc: "Dashboard" }, + { name: "Docker", desc: "Deployment" } + ].map((tech, i) => ( +
+
{tech.name}
+
{tech.desc}
+
+ ))} +
+
+
+ + {/* Comparison Table */} +
+
+
+

OpenShorts vs Paid Alternatives

+

Why pay $15-228/month for AI video clipping when you can self-host the same capabilities for free? According to G2 reviews, content creators spend an average of $50-150/month on video repurposing tools.

+
+
+ + + + + + + + + + + $0 Free} opusclip={xIcon} kapwing={xIcon} /> + + + + Limited} kapwing={No} /> + No} kapwing={checkIcon} /> + + Cloud only} kapwing={Cloud only} /> + Free tier only} kapwing={Paid} /> + No} kapwing={No} /> + Unlimited} opusclip={Per plan} kapwing={Per plan} /> + +
Feature + OpenShorts + Opus ClipKapwing
+
+
+
+ + {/* Use Cases */} +
+
+
+

Who Uses OpenShorts?

+

Content creators, marketers, and agencies use OpenShorts to scale their short-form video production. According to HubSpot's 2025 report, short-form video is the #1 content format with the highest ROI.

+
+
+ {[ + { + title: "YouTubers & Content Creators", + description: "Repurpose your long YouTube videos into TikTok and Reels clips automatically. Reach new audiences on every platform without extra editing work.", + icon: Youtube + }, + { + title: "Social Media Managers", + description: "Scale short-form content production for multiple clients. Process videos in batch and publish directly to TikTok, Reels, and Shorts from one dashboard.", + icon: Instagram + }, + { + title: "Podcasters & Educators", + description: "Extract the most engaging moments from podcast episodes and educational content. AI finds the highlights that drive the most engagement and shares.", + icon: FileVideo + } + ].map((useCase, i) => ( +
+ +

{useCase.title}

+

{useCase.description}

+
+ ))} +
+
+
+ + {/* FAQ Section */} +
+
+
+

Frequently Asked Questions

+

Everything you need to know about OpenShorts, from setup to features.

+
+
+ {faqs.map((faq, i) => ( + setOpenFaq(openFaq === i ? null : i)} + /> + ))} +
+
+
+ + {/* CTA Section */} +
+
+

Start Creating Viral Shorts for Free

+

No sign-up, no credit card, no watermarks. Self-host OpenShorts with Docker and start turning your long videos into viral content today.

+
+ + + + Star on GitHub + +
+
+
+ + {/* Footer */} +
+
+
+ OpenShorts + OpenShorts — Free Open Source AI Video Clipping Tool +
+
+ GitHub + Features + FAQ +
+
+
+
+ ); +} diff --git a/dashboard/src/components/ThumbnailStudio.jsx b/dashboard/src/components/ThumbnailStudio.jsx index 45760fb..dd1654b 100644 --- a/dashboard/src/components/ThumbnailStudio.jsx +++ b/dashboard/src/components/ThumbnailStudio.jsx @@ -460,9 +460,20 @@ export default function ThumbnailStudio({ geminiApiKey, uploadPostKey, uploadUse + {/* Gemini API Key Warning */} + {!geminiApiKey && ( +
+ +
+

Gemini API Key Required

+

YouTube Studio requires a Google Gemini API key to function. Please configure it in the Settings tab before using this feature. Gemini's free tier includes 1,500 requests per day.

+
+
+ )} + {/* ===== STEP 0: Input Mode Selection ===== */} {step === 0 && ( -
+
{/* Mode A: Video Analysis */}
diff --git a/dashboard/src/main.jsx b/dashboard/src/main.jsx index b9a1a6d..870ae20 100644 --- a/dashboard/src/main.jsx +++ b/dashboard/src/main.jsx @@ -1,10 +1,37 @@ -import { StrictMode } from 'react' +import { StrictMode, useState, useEffect } from 'react' import { createRoot } from 'react-dom/client' import './index.css' import App from './App.jsx' +import Landing from './Landing.jsx' + +function Root() { + const [showApp, setShowApp] = useState(() => { + return window.location.hash === '#app' || localStorage.getItem('openshorts_skip_landing') === '1'; + }); + + useEffect(() => { + const handleHashChange = () => { + setShowApp(window.location.hash === '#app'); + }; + window.addEventListener('hashchange', handleHashChange); + return () => window.removeEventListener('hashchange', handleHashChange); + }, []); + + const handleLaunchApp = () => { + localStorage.setItem('openshorts_skip_landing', '1'); + window.location.hash = '#app'; + setShowApp(true); + }; + + if (showApp) { + return ; + } + + return ; +} createRoot(document.getElementById('root')).render( - + , )