CutScript is a local-first, Descript-like video editor where you edit video by editing text. Delete a word from the transcript and it's cut from the video. Features: - Word-level transcription with WhisperX - Text-based video editing with undo/redo - AI filler word removal (Ollama/OpenAI/Claude) - AI clip creation for shorts - Waveform timeline with virtualized transcript - FFmpeg stream-copy (fast) and re-encode (4K) export - Caption burn-in and sidecar SRT generation - Studio Sound audio enhancement (DeepFilterNet) - Keyboard shortcuts (J/K/L, Space, Delete, Ctrl+Z/S/E) - Encrypted API key storage - Project save/load (.aive files) Architecture: - Electron + React + Tailwind (frontend) - FastAPI + Python (backend) - WhisperX for transcription - FFmpeg for video processing - Multi-provider AI support Performance optimizations: - RAF-throttled time updates - Zustand selectors for granular subscriptions - Dual-canvas waveform rendering - Virtualized transcript with react-virtuoso Built on top of DataAnts-AI/VideoTranscriber, completely rewritten as a desktop application. License: MIT
31 lines
830 B
JavaScript
31 lines
830 B
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
editor: {
|
|
bg: '#0f1117',
|
|
surface: '#1a1d27',
|
|
border: '#2a2d3a',
|
|
accent: '#6366f1',
|
|
'accent-hover': '#818cf8',
|
|
text: '#e2e8f0',
|
|
'text-muted': '#94a3b8',
|
|
danger: '#ef4444',
|
|
success: '#22c55e',
|
|
warning: '#f59e0b',
|
|
'word-hover': 'rgba(99, 102, 241, 0.15)',
|
|
'word-selected': 'rgba(99, 102, 241, 0.3)',
|
|
'word-deleted': 'rgba(239, 68, 68, 0.2)',
|
|
'word-filler': 'rgba(245, 158, 11, 0.25)',
|
|
},
|
|
},
|
|
fontFamily: {
|
|
mono: ['JetBrains Mono', 'Fira Code', 'monospace'],
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
};
|