I'll build a comprehensive YouTube Shorts video editor. Let me start by exploring the project structure.
Now I'll build the editor. Starting with the data model, utilities, and presets.
Now the core rendering engine — one renderer shared by preview and export.
Now the playback clock, media sync engine, and the export pipeline.
Now the editor state store with full undo/redo history and clip operations.
Now the UI primitives and icon set.
Now the preview canvas with safe-zone guides, direct manipulation, and transport controls.
Now the timeline — multi-track, draggable clips with trimming, snapping, waveforms, and drop targets.
Now the left panel with media library, text presets, stickers, backgrounds, auto-captions, and templates.
Now the inspector panel with full clip properties.
Now the top bar and export modal with real-time recording.
Now the main app shell with layout, keyboard shortcuts, and a resizable timeline.
Let me refine a few runtime details — preview sizing, undo grouping for canvas drags, and media robustness.
Now updating the preview layout to use the measured box:
A few power-user additions: split-screen layout presets and trim-to-playhead in the inspector.
ShortCut Studio is built — a complete, browser-based YouTube Shorts editor. Everything runs locally (no uploads, no server), and the same canvas renderer powers both the live preview and the final export.
What's in it
Timeline (CapCut-style, multi-track)
- 4 default tracks (Video / Overlays / Text / Audio), add or delete unlimited layers, reorder, hide, mute, lock
- Drag clips across time and tracks, trim from either edge, magnetic snapping to clip edges + playhead
- Split at playhead (
S), duplicate, delete, ripple delete, close gaps, zoom + "Fit", scrubbing ruler, resizable timeline height
- Video thumbnails on clips, real waveform rendering for audio, a 60-second Shorts limit marker and warning chip
Preview
- True 9:16 canvas with YouTube Shorts safe zones (UI button column, title/description area) and rule-of-thirds grid
- Drag directly on the canvas to reposition the selected layer, frame-step transport, loop, mute
Media
- Drag-and-drop or browse import for video / image / audio; auto-probed duration, dimensions, thumbnails and waveform peaks; auto-placed on the timeline, or drag library items to an exact spot
Editing power (inspector)
- Timing: start/duration, trim in/out to playhead, source in-point, speed 0.25×–3×
- Transform: X/Y, scale, rotation, opacity + layout presets (full, top ½, bottom ½, PiP corners) for split-screen/reaction videos
- Framing: fill/fit, corner radius, Ken Burns pan & zoom
- Looks: 8 filter presets + brightness/contrast/saturation/hue/blur/vignette/grayscale/sepia
- Audio: per-clip volume, fade in/out
- Animations: fade, pop, zoom, 4 slides, typewriter, and karaoke word-pop
Text & captions
- 6 Shorts-native text presets, full typography control (font, weight, outline, box pill, shadow, spacing, alignment, uppercase)
- Auto-caption generator: paste a script → choose words-per-card + speaking pace → perfectly timed, styled caption cards; plus a caption list for jump-to-clip navigation
- Stickers/emoji, CTA bars, gradient backgrounds and 4 one-click templates (Hook→Value→CTA, 3-2-1 countdown, subscribe end card, split-screen)
Export
- Real-time MediaRecorder render with mixed audio (MP4 when supported, else WebM), resolution/bitrate/fps controls, live render preview, progress + cancel, auto-download
- Save cover frame as PNG, plus project Save/Open as JSON, undo/redo (50 steps) and a full keyboard shortcut set.
Files built: src/types.ts, src/lib/utils.ts, src/lib/defaults.ts, src/lib/media.ts, src/lib/render.ts, src/lib/playback.ts, src/lib/export.ts, src/state/store.tsx, src/components/ui.tsx, src/components/Preview.tsx, src/components/Timeline.tsx, src/components/LeftPanel.tsx, src/components/Inspector.tsx, src/components/ExportModal.tsx, src/components/TopBar.tsx, src/App.tsx, index.html, src/index.css