How hutynj/klipframe works
KlipFrame Studio is a browser-based, timeline-driven video editor. The user works from media and creative resources, arranges clips on tracks, adjusts clip properties, previews the composition, and can export or share a project. Its documented UI includes captions, effects, transitions, filters, audio, and project settings. The graph reflects the sampled code and SOURCE INDEX references; some component-to-utility links are supported by index references rather than visible call sites, and export details are not sampled.
Main entry points: App.tsx Editor coordinator · timelineOps.ts Timeline operations · InspectorPanel.tsx Clip inspector · ResourcePanel.tsx Resource browser
Components 16
Editing workflow
- Editor coordinator
src/App.tsx - Timeline editor
src/components/TimelinePanel.tsx - Clip inspector
src/components/InspectorPanel.tsx - Project controls
src/components/TopBar.tsx - Project dialogs
src/components/Modals.tsx
Creative resources
- Resource browser
src/components/ResourcePanel.tsx - Creative presets
src/data/presets.ts
Preview and output
- Preview player
src/components/PlayerPanel.tsx - Canvas renderer
src/utils/canvasRenderer.ts - Audio engine
src/utils/audioEngine.ts
Editor foundation
- Timeline operations
src/utils/timelineOps.ts - NLE features
src/utils/nleFeatures.ts - Time and dimensions
src/utils/timecode.ts - Editor data types
src/types/editor.ts - Translations
src/utils/i18n.ts
Other components
- Editor user
Connections 26
- Editor user → Editor coordinator: uses
src/App.tsx - Editor coordinator → Resource browser: renders
src/App.tsx - Editor coordinator → Timeline editor: renders
src/App.tsx - Editor coordinator → Clip inspector: renders
src/App.tsx - Editor coordinator → Project controls: renders
src/App.tsx - Editor coordinator → Preview player: renders
src/App.tsx - Editor coordinator → Project dialogs: renders
src/App.tsx - Editor coordinator → Timeline operations: calls
src/App.tsx - Editor coordinator → NLE features: parses captions
src/App.tsx - Editor coordinator → Creative presets: loads
src/App.tsx - Editor coordinator → Audio engine: ticks playback
src/App.tsx - Resource browser → Creative presets: browses
src/components/ResourcePanel.tsx - Resource browser → Audio engine: previews audio
src/components/ResourcePanel.tsx - Clip inspector → Creative presets: uses presets
src/components/InspectorPanel.tsx - Clip inspector → Timeline operations: creates defaults
src/components/InspectorPanel.tsx - Timeline editor → Time and dimensions: converts seek time
src/components/TimelinePanel.tsx - Preview player → Canvas renderer: requests rendering
src/components/PlayerPanel.tsx - Project dialogs → Canvas renderer: uses renderer
src/components/Modals.tsx - Canvas renderer → Timeline operations: gets active clips
src/utils/canvasRenderer.ts - Canvas renderer → NLE features: evaluates motion
src/utils/canvasRenderer.ts - Creative presets → Timeline operations: builds defaults
src/data/presets.ts - NLE features → Timeline operations: uses timeline helpers
src/utils/nleFeatures.ts - Project controls → Translations: uses labels
src/components/TopBar.tsx - Resource browser → Translations: uses labels
src/components/ResourcePanel.tsx - Timeline editor → Translations: uses labels
src/components/TimelinePanel.tsx - Clip inspector → Translations: uses labels
src/components/InspectorPanel.tsx