diff --git a/.hallmark/log.json b/.hallmark/log.json new file mode 100644 index 0000000..f4a45b1 --- /dev/null +++ b/.hallmark/log.json @@ -0,0 +1,3 @@ +[ + { "date": "2026-07-17", "scope": "app", "macrostructure": "Marquee Hero (marketing) / Workbench (app) / Long Document (content)", "theme": "lumen", "drop": "night", "enrichment": "filament-chamber apparatus + meter strip (landing only)", "brief": "OpenShorts · full app + landing redesign, design.md-managed" } +] diff --git a/dashboard/index.html b/dashboard/index.html index 91f7d7e..ff59948 100644 --- a/dashboard/index.html +++ b/dashboard/index.html @@ -6,6 +6,13 @@ + + + + + OpenShorts - Free Open Source Clip Generator & AI UGC Video Creator | TikTok, Reels & Shorts diff --git a/dashboard/public/demo/clip-source.mp4 b/dashboard/public/demo/clip-source.mp4 new file mode 100644 index 0000000..0dafa14 Binary files /dev/null and b/dashboard/public/demo/clip-source.mp4 differ diff --git a/dashboard/public/demo/clip-vertical.mp4 b/dashboard/public/demo/clip-vertical.mp4 new file mode 100644 index 0000000..ff15f95 Binary files /dev/null and b/dashboard/public/demo/clip-vertical.mp4 differ diff --git a/dashboard/src/App.jsx b/dashboard/src/App.jsx index 519c866..f64e6b1 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, Globe, RotateCcw, Calendar, AlertTriangle, KeyRound, Bot, Users, Smartphone, ExternalLink, Copy, CheckCircle2, Mail } from 'lucide-react'; +import { Upload, Sparkles, Youtube, Instagram, Share2, ChevronDown, Check, Activity, LayoutDashboard, Settings, Plus, History, X, Terminal, Shield, LayoutGrid, Image, Globe, RotateCcw, Calendar, AlertTriangle, KeyRound, Bot, Users, Smartphone, ExternalLink, Copy, CheckCircle2, Mail, Loader2 } from 'lucide-react'; import KeyInput from './components/KeyInput'; import MediaInput from './components/MediaInput'; import ResultCard from './components/ResultCard'; @@ -17,6 +17,7 @@ import TrialGate from './components/TrialGate'; import AdvancedBanner from './components/AdvancedBanner'; import HistoryTab from './components/HistoryTab'; import ProfileMenu from './components/ProfileMenu'; +import Modal from './components/ui/Modal'; import { useAuth } from './contexts/AuthContext'; import { apiFetch, apiJson, QuotaError } from './lib/api'; @@ -77,19 +78,19 @@ const UserProfileSelector = ({ profiles, selectedUserId, onSelect }) => {
{isOpen && ( -
+
{profiles.map((profile) => ( ))}
@@ -144,7 +145,7 @@ const pollJob = async (jobId) => { function App() { // Cloud auth/billing session (inert when billing is disabled). - const { billingEnabled, isManaged, isSignedIn, signingIn, me, plan, refreshMe } = useAuth(); + const { billingEnabled, isManaged, isSignedIn, me, plan, refreshMe } = useAuth(); const [showLogin, setShowLogin] = useState(false); const [showTopUp, setShowTopUp] = useState(false); const [showTrialUpgrade, setShowTrialUpgrade] = useState(false); @@ -188,6 +189,10 @@ function App() { const [sessionRecovered, setSessionRecovered] = useState(false); const [showScheduleWeek, setShowScheduleWeek] = useState(false); + // Silent-success "saved" states for the settings key inputs (design.md: no alert popups) + const [elevenLabsSaved, setElevenLabsSaved] = useState(false); + const [falSaved, setFalSaved] = useState(false); + // Sync state for original video playback const [syncedTime, setSyncedTime] = useState(0); const [isSyncedPlaying, setIsSyncedPlaying] = useState(false); @@ -247,6 +252,7 @@ function App() { } catch (e) { // localStorage full or serialization error - ignore } + // eslint-disable-next-line react-hooks/exhaustive-deps }, [jobId, status, results, activeTab]); useEffect(() => { @@ -280,6 +286,7 @@ function App() { if ((uploadPostKey || isManaged) && userProfiles.length === 0) { fetchUserProfiles({ silent: true }); } + // eslint-disable-next-line react-hooks/exhaustive-deps }, [uploadPostKey, isManaged]); // For managed users, fetch the durable R2 URLs of the current job's clips so the @@ -458,160 +465,100 @@ function App() { // --- UI Components --- - const Sidebar = () => ( -
-
-
- Logo -
- OpenShorts -
+ const Sidebar = () => { + const navItems = [ + { id: 'dashboard', ord: '01', icon: LayoutDashboard, label: 'Clip Generator' }, + { id: 'saasshorts', ord: '02', icon: Sparkles, label: 'AI Shorts', byok: true }, + { id: 'ai-agent', ord: '03', icon: Bot, label: 'AI Agent', byok: true }, + { id: 'ugc-gallery', ord: '04', icon: LayoutGrid, label: 'UGC Gallery' }, + { id: 'thumbnails', ord: '05', icon: Image, label: 'YouTube Studio' }, + ...(billingEnabled && isSignedIn ? [{ id: 'history', ord: '06', icon: History, label: 'History' }] : []), + { id: 'settings', ord: '07', icon: Settings, label: 'Settings' }, + ]; - - -
- { 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

+ return ( +
+ +
+ Logo
+ openshorts
- -
- -
-
-

Open Source

-

Free & Community Driven

-
-
- {billingEnabled && ( + + + +
-
- ); + ); + }; return ( -
+
- {/* Background Gradients */} -
-
-
- {/* Top Header */} -
+
{status !== 'idle' && ( )} @@ -632,13 +579,13 @@ function App() { )} {billingEnabled && isSignedIn && !isManaged && ( )} {billingEnabled && !isSignedIn && ( )} @@ -647,15 +594,18 @@ function App() { {keysMissing && ( )}
@@ -663,12 +613,12 @@ function App() { {/* Persistent Missing Keys Banner — visible on every screen */} {keysMissing && activeTab !== 'settings' && ( -
-
- +
+
+
- Required API keys missing.{' '} - + Required API keys missing.{' '} + {!apiKey && !uploadPostKey ? 'Set your Gemini and Upload-Post API keys to use OpenShorts.' : !apiKey @@ -679,7 +629,7 @@ function App() {
@@ -688,13 +638,13 @@ function App() { {/* Session Recovery Banner */} {sessionRecovered && ( -
-
- +
+
+ Session recovered - Your previous work has been restored. + Your previous work has been restored.
-
@@ -711,43 +661,56 @@ function App() { {/* View: Settings */} {activeTab === 'settings' && ( -
-
-

Settings

-
- Privacy: keys only live in your browser (sent to backend just to process) +
+
+
+

07 · SETTINGS

+

Settings

+
+
+ Privacy: keys only live in your browser (sent to backend just to process)
{isManaged ? ( -
+
-

Included in your plan

- Managed +
+
+ +
+

Included in your plan

+
+ Managed
-

+

Your plan includes the Clip Generator and YouTube Studio, fully managed — no API keys required. AI Shorts & dubbing use your own fal.ai / ElevenLabs keys (below). Connect your social accounts to publish directly.

- -
) : billingEnabled ? ( -
+
-

Start your free trial

- 3 days free +
+
+ +
+

Start your free trial

+
+ 3 days free
-

+

Generate shorts with zero setup — no API keys needed. 3 days free, then from $12/mo. Cancel anytime.

-
@@ -755,18 +718,23 @@ function App() { <> -
-
-

Social Integration

- Required +
+
+
+
+ +
+

Social Integration

+
+ Required
-

+

Required to publish your clips to TikTok, Instagram Reels, and YouTube Shorts via Upload-Post. Includes a free tier (no credit card required).

- -
+ +
-
-

+

Connect your Upload-Post account to enable one-click publishing.


- + Keys are only stored in your browser. They are sent to the backend only to process your request, never stored server-side.

@@ -805,18 +773,23 @@ function App() { )} -
-
-

Video Translation

- Your own key +
+
+
+
+ +
+

Video Translation

+
+ BYOK
-

+

For AI Shorts & dubbing — bring your own key. Translate your clips to different languages using ElevenLabs AI dubbing (billed by ElevenLabs). Not covered by your plan.

- -
+ +
{ if (elevenLabsKey) { localStorage.setItem('elevenLabsKey_v1', encrypt(elevenLabsKey)); - alert('ElevenLabs API Key saved!'); + setElevenLabsSaved(true); + setTimeout(() => setElevenLabsSaved(false), 2000); } }} - className="btn-primary py-2 px-4 text-sm" + className={elevenLabsSaved ? 'badge-ok px-4' : 'btn-quiet py-2 px-4 text-sm'} > - Save + {elevenLabsSaved ? <> saved : 'Save'}
-

+

Get your API key from ElevenLabs to enable video translation.


- + Keys are only stored in your browser. They are sent to the backend only to process your request, never stored server-side.

-
-
-

AI Shorts (UGC Videos)

- Your own key +
+
+
+
+ +
+

AI Shorts (UGC Videos)

+
+ BYOK
-

+

Generate UGC-style videos with AI actors for any product or business using fal.ai. Not covered by your plan — bring your own fal.ai + ElevenLabs keys (billed by those providers, ~$0.65-2 per video). Your plan still covers the AI script & orchestration.

- -
+ +
{ if (falKey) { localStorage.setItem('falKey_v1', encrypt(falKey)); - alert('fal.ai API Key saved!'); + setFalSaved(true); + setTimeout(() => setFalSaved(false), 2000); } }} - className="btn-primary py-2 px-4 text-sm" + className={falSaved ? 'badge-ok px-4' : 'btn-quiet py-2 px-4 text-sm'} > - Save + {falSaved ? <> saved : 'Save'}
-

+

Get your API key from fal.ai to enable AI actor video generation.


- + Keys are only stored in your browser. Sent to backend only to process requests.

@@ -917,28 +897,28 @@ function App() { {/* View: AI Agent */} {activeTab === 'ai-agent' && ( -
+
{/* Header */}
-
- Autonomous Skill -
-

+

+ 03 · AI AGENT · AUTONOMOUS SKILL +

+

Your Personal Clipping Team

-

+

Drop your videos in a folder and a team of AI clippers picks the viral moments, edits them, and queues them for your approval — like having a 24/7 short-form editing crew on autopilot.

{/* Mobile-format warning */} -
- -
-

Upload videos already in vertical (9:16) mobile format.

-

+

+ +
+

Upload videos already in vertical (9:16) mobile format.

+

The agent does not reframe horizontal footage. Make sure every source video is shot or pre-cropped to mobile/portrait format before dropping it into the input folder.

@@ -946,43 +926,43 @@ function App() { {/* Workflow */}
-
-
- +
+
+
-

1. Drop your videos

-

+

1. Drop your videos

+

Put your long-form vertical footage in the watched folder. The skill picks one video per run.

-
-
- +
+
+
-

2. AI clippers work

-

+

2. AI clippers work

+

Whisper transcribes, Gemini 3 Flash spots viral beats, FFmpeg cuts each clip and adds a hook overlay.

-
-
- +
+
+
-

3. You validate, it ships

-

+

3. You validate, it ships

+

Approve the candidates you like and the skill auto-publishes them to TikTok, Reels and YouTube Shorts via Upload-Post.

{/* Repo CTA */} -
+
-

skill-autoshorts

-

+

skill-autoshorts

+

The Claude Code skill that powers this workflow. Install it once and trigger it whenever you want a fresh batch of clips.

@@ -990,17 +970,17 @@ function App() { href="https://github.com/mutonby/skill-autoshorts" target="_blank" rel="noopener noreferrer" - className="btn-primary py-2 px-4 text-sm flex items-center gap-2 shrink-0" + className="btn-primary py-2 px-4 text-sm shrink-0" > View on GitHub
-
+
git clone https://github.com/mutonby/skill-autoshorts
-
- +
+ Daily batch — picks one long video per run
-
- +
+ Whisper transcription with word-level timing
-
- +
+ Gemini 3 Flash multimodal moment detection
-
- +
+ Auto-publish to TikTok, Reels & YouTube Shorts
@@ -1033,11 +1013,21 @@ function App() { {/* View: UGC Gallery */} {activeTab === 'ugc-gallery' && ( - +
+
+ +
+
)} - {/* View: Thumbnails */} - {activeTab === 'history' && } + {/* View: History */} + {activeTab === 'history' && ( +
+
+ +
+
+ )} {activeTab === 'thumbnails' && ( @@ -1050,43 +1040,46 @@ function App() { {/* View: Dashboard (Idle) */} {activeTab === 'dashboard' && status === 'idle' && ( -
+
+
-

+

01 · CLIP GENERATOR

+

Create Viral Shorts

-

+

Drop your long-form video below to instantly generate viral clips with AI.

-
+
YouTube Instagram TikTok
+
)} {/* View: Processing / Results (Split View) */} {activeTab === 'dashboard' && (status === 'processing' || status === 'complete' || status === 'error') && ( -
+
{/* Left Panel: Preview & Status */} -
+
-

- +

+ Live Analysis

- + {status.toUpperCase()}

@@ -1103,25 +1096,25 @@ function App() { )} {/* Logs Terminal */} -
-
- +
+
+ System Logs -
{logsVisible && ( -
+
{logs.map((log, i) => ( -
- {new Date().toLocaleTimeString()} +
+ {new Date().toLocaleTimeString()} {log}
))} {status === 'processing' && ( -
_
+
_
)}
)} @@ -1129,27 +1122,26 @@ function App() {
{/* Right Panel: Results Grid */} -
-

- +
+

Generated Shorts {results?.clips?.length > 0 && ( - + {results.clips.length} Clips )} {results?.cost_analysis && !isManaged && ( - - ${results.cost_analysis.total_cost.toFixed(5)} + + GEMINI · ${results.cost_analysis.total_cost.toFixed(5)} )} {results?.clips?.length > 1 && status === 'complete' && ( )}

@@ -1176,12 +1168,12 @@ function App() {
) : ( status === 'processing' ? ( -
-
-

Waiting for clips...

+
+ +

Waiting for clips...

) : status === 'error' ? ( -
+

Generation failed.

) : null @@ -1197,96 +1189,97 @@ function App() {

{/* Missing API Key Modal */} - {showKeyModal && ( -
setShowKeyModal(false)}> -
e.stopPropagation()}> -

- {!apiKey && !uploadPostKey - ? 'Required API Keys Missing' - : !apiKey - ? 'Gemini API Key Required' - : 'Upload-Post API Key Required'} -

-

- OpenShorts needs both a Gemini API key and an Upload-Post API key. Both have free tiers. + setShowKeyModal(false)} + eyebrow="SETUP" + title={!apiKey && !uploadPostKey + ? 'Required API Keys Missing' + : !apiKey + ? 'Gemini API Key Required' + : 'Upload-Post API Key Required'} + footer={ +

+ + +
+ } + > +
+

+ OpenShorts needs both a Gemini API key and an Upload-Post API key. Both have free tiers. +

+ + {/* Gemini block */} +
+

+ {apiKey ? : } + Gemini API Key {apiKey && — set}

+ {!apiKey && ( + <> +
    +
  1. Go to aistudio.google.com/app/apikey
  2. +
  3. Sign in with your Google account
  4. +
  5. Click "Create API Key"
  6. +
  7. Copy the key and paste it below
  8. +
+ { + if (e.key === 'Enter' && e.target.value.trim()) { + setApiKey(e.target.value.trim()); + } + }} + /> + + )} +
- {/* Gemini block */} -
-

- {apiKey ? : } - Gemini API Key {apiKey && — set} -

- {!apiKey && ( - <> -
    -
  1. Go to aistudio.google.com/app/apikey
  2. -
  3. Sign in with your Google account
  4. -
  5. Click "Create API Key"
  6. -
  7. Copy the key and paste it below
  8. -
- { - if (e.key === 'Enter' && e.target.value.trim()) { - setApiKey(e.target.value.trim()); - } - }} - /> - - )} -
- - {/* Upload-Post block */} -
-

- {uploadPostKey ? : } - Upload-Post API Key {uploadPostKey && — set} -

- {!uploadPostKey && ( - <> -

- Required to publish your clips to TikTok, Instagram Reels, and YouTube Shorts. Free tier available, no credit card needed. -

-
    -
  1. Register at app.upload-post.com
  2. -
  3. Connect your TikTok, Instagram, or YouTube accounts
  4. -
  5. Go to API Keys and generate one
  6. -
  7. Paste it below
  8. -
- { - if (e.key === 'Enter' && e.target.value.trim()) { - setUploadPostKey(e.target.value.trim()); - } - }} - /> - - )} -
- -
- - -
+ {/* Upload-Post block */} +
+

+ {uploadPostKey ? : } + Upload-Post API Key {uploadPostKey && — set} +

+ {!uploadPostKey && ( + <> +

+ Required to publish your clips to TikTok, Instagram Reels, and YouTube Shorts. Free tier available, no credit card needed. +

+
    +
  1. Register at app.upload-post.com
  2. +
  3. Connect your TikTok, Instagram, or YouTube accounts
  4. +
  5. Go to API Keys and generate one
  6. +
  7. Paste it below
  8. +
+ { + if (e.key === 'Enter' && e.target.value.trim()) { + setUploadPostKey(e.target.value.trim()); + } + }} + /> + + )}
- )} + ( - - - -); +// 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 FeatureCard = ({ icon: Icon, title, description }) => ( -
-
- -
-

{title}

-

{description}

+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 StepCard = ({ number, title, description }) => ( -
-
- {number} +const FeatureCard = ({ icon, title, description }) => { + const Icon = icon; + return ( +
+
+ +
+

{title}

+

{description}

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

{title}

-

{description}

+

{title}

+

{description}

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

{answer}

+
+

{answer}

)}
@@ -65,82 +81,82 @@ export default function Landing({ onLaunchApp }) { { icon: Sparkles, title: "AI Viral Moment Detection", - description: "Google Gemini 3.0 Flash analyzes your video transcript and scene boundaries to detect the 3-15 most engaging moments. Each clip is scored for viral potential based on emotional impact, hook strength, and shareability — similar to how TikTok's algorithm ranks content for the For You page." + description: "Google Gemini 3.0 Flash scores your transcript and scenes to find the 3-15 most engaging moments." }, { 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." + description: "Dual-mode AI reframing with MediaPipe face tracking and YOLOv8 fallback." }, { icon: Subtitles, title: "Automatic Subtitle Generation", - description: "Powered by faster-whisper with word-level timestamps. According to Verizon Media research, 80% of viewers are more likely to watch a video to completion when captions are available. Subtitles are auto-generated, styled, and burned into your clips." + 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 integration translates and dubs your video audio while preserving the original speaker's voice characteristics. According to CSA Research, 76% of consumers prefer content in their native language — dubbing unlocks global audiences." + description: "ElevenLabs AI dubbing translates your audio while preserving the speaker's voice." }, { 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." + description: "AI-generated hook titles that capture viewers in the first 3 seconds." }, { 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." + description: "Gemini-generated FFmpeg filters: color grading, transitions, visual enhancements." }, { icon: Upload, title: "Local Video Upload", - description: "Upload your long-form videos — podcasts, webinars, livestreams, vlogs — at full original resolution and audio quality. Process content you own or have rights to." + description: "Upload podcasts, webinars, livestreams, and vlogs at full resolution." }, { 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." + description: "Run it with Docker on your own machine — videos never leave your infrastructure." }, { icon: Monitor, title: "Free AI YouTube Studio", - description: "Free AI YouTube thumbnail generator, AI title suggestions (10 viral options with refinement chat), and auto-generated descriptions with chapter timestamps — all free. Upload a face photo for personalized thumbnails. Publish directly to YouTube from one workflow." + description: "Free AI thumbnail generator, 10 viral title suggestions, and auto descriptions with chapters." }, { 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." + description: "Post to TikTok, Instagram Reels, and YouTube Shorts from the dashboard." }, { icon: Sparkles, title: "AI UGC Video Generator", - description: "Generate marketing videos with AI actors for any product or business. Paste a URL or describe your product — AI writes the script, generates a realistic avatar with lip-sync, adds b-roll, subtitles, and hook overlays. From $0.65/video." + description: "AI writes the script and generates a lip-synced avatar video — from $0.65/video." }, { icon: FileVideo, title: "AI Actors & Lip-Sync", - description: "Choose from a gallery of AI-generated actors or upload your own photo. The pipeline generates a talking head video with natural movement and lip-synced voiceover in English or Spanish. Two modes: Low Cost ($0.65) and Premium ($2.00)." + description: "Pick an AI actor or upload a photo for a lip-synced talking head video." } ]; const steps = [ - { title: "Upload a Long-Form Video", description: "Drop any video file you own — podcasts, webinars, livestreams, interviews. 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." } + { 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.0 Flash 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 post directly to TikTok, Instagram Reels, and YouTube Shorts." } ]; const faqs = [ - { - question: "What is OpenShorts and how does it work?", - answer: "OpenShorts 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.0 Flash 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: "Is OpenShorts really free? What's the catch?", answer: "There are two ways to use OpenShorts. (1) Self-hosted is 100% free and open source: 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. Google Gemini API (required) powers the AI analysis — its free tier includes 1,500 requests/day. ElevenLabs (optional) enables AI dubbing in 30+ languages. Upload-Post (optional) publishes to YouTube, TikTok, and Instagram. (2) Hosted at openshorts.app is the no-setup option: we run all the AI and compute for you and you don't need any API keys — it's a paid service with a 3-day free trial, then plans from $12/mo for 100 minutes of video. So: free if you self-host, paid if you want us to host it for you. Both are far cheaper than Opus Clip ($15-228/month) or Kapwing ($24-79/month)." }, + { + question: "What is OpenShorts and how does it work?", + answer: "OpenShorts 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.0 Flash 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 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." @@ -149,6 +165,22 @@ export default function Landing({ onLaunchApp }) { question: "How do I turn a long-form video into TikTok or Reels clips?", answer: "Upload your long-form video into OpenShorts, 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.0 Flash, 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 OpenShorts generate YouTube thumbnails and titles for free?", + answer: "Yes. OpenShorts 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.0 Flash. 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 is the AI UGC Video Generator?", + answer: "OpenShorts includes an AI UGC (User Generated Content) video creator that generates marketing videos with AI actors for any product or business. You describe your product or paste a website URL — the AI writes a viral script, generates a realistic AI actor with lip-synced voiceover, adds b-roll visuals, TikTok-style subtitles, and hook text overlays. The result is a ready-to-post vertical video for TikTok, Instagram Reels, or YouTube Shorts. Two cost modes: Low Cost (~$0.65/video using Hailuo + VEED Lipsync) and Premium (~$2/video using Kling Avatar v2)." + }, + { + question: "Can I use the AI UGC Video Generator for any type of business?", + answer: "Yes. The AI Shorts generator works for any product, service, or business — not just SaaS. You can use it for restaurants, e-commerce stores, coaching services, local businesses, personal brands, apps, and more. Just describe your business in the text field (e.g. 'Artisan pizza restaurant in Madrid, wood-fired oven, home delivery') or paste your website URL, and the AI generates viral marketing scripts tailored to your business." + }, + { + question: "How much does it cost to generate an AI UGC video?", + answer: "OpenShorts itself is free, but the AI Shorts feature uses external APIs (fal.ai for video generation, ElevenLabs for voiceover) that charge per use. Low Cost mode costs approximately $0.65 per video (Flux image $0.05 + ElevenLabs voice $0.10 + Hailuo img2video $0.19 + VEED Lipsync $0.20 + b-roll $0.10). Premium mode costs approximately $2.00 per video using Kling Avatar v2 for higher quality. Both modes are significantly cheaper than hiring UGC creators ($50-500 per video) or using platforms like HeyGen ($24-180/month)." + }, { 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." @@ -161,251 +193,289 @@ export default function Landing({ onLaunchApp }) { 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 for free?", - answer: "Yes. OpenShorts 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.0 Flash. 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 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)." - }, { question: "Is there a free open source clip generator?", answer: "Yes — OpenShorts is a 100% free, open source clip generator. Unlike paid clip generators like Opus Clip ($15-228/month) or Kapwing ($24-79/month), OpenShorts 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: "What is the AI UGC Video Generator?", - answer: "OpenShorts includes an AI UGC (User Generated Content) video creator that generates marketing videos with AI actors for any product or business. You describe your product or paste a website URL — the AI writes a viral script, generates a realistic AI actor with lip-synced voiceover, adds b-roll visuals, TikTok-style subtitles, and hook text overlays. The result is a ready-to-post vertical video for TikTok, Instagram Reels, or YouTube Shorts. Two cost modes: Low Cost (~$0.65/video using Hailuo + VEED Lipsync) and Premium (~$2/video using Kling Avatar v2)." - }, - { - question: "How much does it cost to generate an AI UGC video?", - answer: "OpenShorts itself is free, but the AI Shorts feature uses external APIs (fal.ai for video generation, ElevenLabs for voiceover) that charge per use. Low Cost mode costs approximately $0.65 per video (Flux image $0.05 + ElevenLabs voice $0.10 + Hailuo img2video $0.19 + VEED Lipsync $0.20 + b-roll $0.10). Premium mode costs approximately $2.00 per video using Kling Avatar v2 for higher quality. Both modes are significantly cheaper than hiring UGC creators ($50-500 per video) or using platforms like HeyGen ($24-180/month)." - }, - { - question: "Can I use the AI UGC Video Generator for any type of business?", - answer: "Yes. The AI Shorts generator works for any product, service, or business — not just SaaS. You can use it for restaurants, e-commerce stores, coaching services, local businesses, personal brands, apps, and more. Just describe your business in the text field (e.g. 'Artisan pizza restaurant in Madrid, wood-fired oven, home delivery') or paste your website URL, and the AI generates viral marketing scripts tailored to your business." + 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; + const checkIcon = ; + const checkMuted = ; + const xIcon = Paid; return ( -
- {/* Navigation */} -