Industry-Standard AI Video Clipper & Social Publisher
Built with Electron, Next.js, Prisma SQLite, and FFmpeg.
AutoClipper is a powerful, locally-run desktop application designed to transform long-form videos (podcasts, streams, interviews) into viral short-form content (TikToks, YouTube Shorts, Instagram Reels) completely autonomously using AI.
- 🤖 AI-Powered Curation — Segments long videos into 15-60s clips, scored by virality using OpenAI, Gemini, Claude, Groq, or local Ollama.
- 🗣️ Advanced Transcription — Deepgram, AssemblyAI, or local Whisper.
- 🎯 Dynamic Face Tracking — MediaPipe auto-crops to 9:16 vertical format.
- 📝 Subtitle Engine — ASS/SSA karaoke animation with brand kits and theme presets.
- 📤 Social Publishing — Scheduled posting to YouTube Shorts, TikTok, and Facebook Reels via OAuth PKCE.
- 🎬 CapCut-Style Video Editor — Full timeline editor with color grading, text overlays, and audio mixing.
Real-time job monitoring with retry/cancel, progress bars, status filters, and auto-retry with exponential backoff (max 3 attempts).
Auto-fetch real stats from YouTube Data API v3, TikTok Creator API, and Facebook Graph API. Syncs every 6 hours in the background.
Enhanced automation with min-views filter, max-age filter, multi-source support (YouTube Search, Playlist, RSS/Podcast feeds), and URL deduplication.
FFmpeg scene detection + Gemini Vision API scoring + text overlay. Generates 2 variants: clean frame and text-overlay frame.
ElevenLabs TTS pipeline: browse voices → translate text (Gemini/OpenAI) → synthesize audio → FFmpeg merge with video.
Monthly grid calendar with scheduled post view, day-click detail panel, and AI-powered optimal posting time suggestions from your analytics data.
Combine clips into compilation videos. Manual selection or Auto Best-Of (AI auto-selects top N by virality score) with real-time progress.
| Layer | Technology |
|---|---|
| Desktop | Electron 28+ |
| Frontend | Next.js 14, React 18, shadcn/ui |
| Database | Prisma + SQLite |
| AI/LLM | OpenAI, Gemini, Groq, Ollama, Claude |
| Video | FFmpeg, fluent-ffmpeg |
| TTS | ElevenLabs multilingual v2 |
| Social APIs | YouTube Data API v3, TikTok Creator API, Facebook Graph API |
| Security | keytar (OS native keychain) |
npm install
npx prisma generate
npx prisma db push
npm run electron:dev # Development
npm run build # Production buildelectron/handlers/
├── jobs.js # Job queue (retry + broadcasts)
├── analytics_sync.js # Platform analytics sync
├── autopilot.js # Smart autopilot (search/playlist/rss)
├── thumbnail.js # AI thumbnail generator
├── dubbing.js # ElevenLabs TTS pipeline
├── compilation.js # Clip compilation (concat + best-of)
└── db_calendar_addon.js # Calendar + optimal posting times
src/app/
├── jobs/page.tsx # Job Queue Dashboard
├── calendar/page.tsx # Content Calendar
├── compilation/page.tsx # Compilation Mode
└── autopilot/page.tsx # Smart Autopilot
MIT © revanapriyandi