Inspiration
Short-form clipping agencies and creators spend hours downloading multi-hour VODs or Drive folders, finding viral moments, adding bold captions, checking FTC #Ad and hashtag compliance, and manually scheduling Reels across multiple Instagram accounts. Brand-new theme pages also struggle to get reach on paid campaigns without warming up their audience first. I built ClipForge (https://tryclipforge.online) to automate the entire workflow end-to-end.
What it does
- Autonomous Clipping Pipeline: Paste a YouTube link or Google Drive folder (including nested subfolders) plus a plain-English campaign brief. ClipForge automatically acquires the footage, generates word-level transcripts, scores high-retention moments, and renders 9:16 vertical Reels.
- Broadcast-Ready 9:16 Mastering: Full-screen face-crop for talking heads, quarter-scale blurred letterbox for gaming HUDs/trailers,
Inter-Black/Montserrat Blackhook banners with glossy 3D Fluent Emojis, yellow active-word pop captions,-16 LUFSloudness normalization, conditional HDR-to-SDR tone mapping, pause-snapped cuts, and optional brand-logo overlays. - Review Studio & Official Meta Graph API Publishing: Review rendered Reels, check FTC
#Adand hashtag compliance, delete weak clips, click Post Now, or let Autopilot schedule Reels in US prime time (ET) via the official Meta Graph API. - Account Warmup Mode: Automatically warms up new theme pages (
gaming,memes,entertainment, and more) using curated US YouTube RSS feeds or Google Drive folders, posts 1–5 non-ad Reels/day with optional Auto First-Comment, pauses paid campaign auto-scheduling while warming, and tracks Meta Insights (views+shares/reach) to graduate accounts to Campaign Ready.
How we built it
- Control Plane & Web App: Next.js (App Router), TypeScript, Tailwind CSS, deployed on AWS EC2 behind Caddy HTTPS (
https://tryclipforge.online) with PM2 and automated cron orchestration. - Database & Auth: Supabase (PostgreSQL) with 70+ SQL migrations, durable lease-fenced job queues, artifact caching, and strict tenant isolation.
- Distributed Media Workers:
- Worker 1 (Media & AI): Node.js worker running single-shot Deepgram Nova-3 transcription (with multi-key Groq Whisper failover), LLM viral scoring & DM-share hook generation, and FFmpeg 6.0 9:16 rendering.
- Worker 2 (Source Acquisition): Dedicated acquisition worker handling
yt-dlp(with Node JS challenge runtime +ffmpeg-staticDASH merging) and recursive Google Drive folder staging.
- Publishing & Analytics: Official Meta Graph API OAuth, Reels publishing, Auto First-Comment, and Insights tracking.
Challenges we ran into
- Rendering 1080×1920 video on constrained 1.5 vCPU workers: Early multi-branch FFmpeg graphs hit 15-minute timeouts. Collapsing wide-cinema filters to a single branch, pre-scaling blur to quarter resolution, and adding fast input-seek (
-ssbefore-i) cut render times dramatically. - 1 GB+ long-form videos & chunked transcription: Slicing hour-long VODs into 60-second chunks was slow and tripped timeouts. Switching to single-shot compressed mono MP3 uploads to Deepgram Nova-3 and replacing a hidden 45s
gaxiosbody timeout with a 15-minute/60s stall watchdog made large sources reliable. - Strict compliance vs. organic warmup: Paid briefs require
#Adand brand-logo enforcement, while warmup briefs forbid them. Fixing negated-clause parsing ("Do not use #Ad") and isolating Warmup Mode from paid-campaign decision gates kept both workflows clean.
Accomplishments that we're proud of
- Live production SaaS running end-to-end at
https://tryclipforge.onlineon lean infrastructure. - Successfully rendered 60+ real campaign Reels across multi-video Google Drive banks and YouTube sources with verified official Meta Graph API publishing.
- Built a complete Account Warmup Mode that solves the cold-start problem for new theme pages using only official, ban-safe APIs.
What we learned
- Durable state machines, idempotent work units, and artifact caching are essential for multi-stage video pipelines — losing progress mid-render is expensive.
- For new Instagram accounts, DM share rate (
sends per reach) and 8–18s watch-time loops matter far more than passive likes.
What's next for ClipForge
- Multi-platform auto-publishing (TikTok + YouTube Shorts alongside Instagram Reels).
- Official Trial Reels A/B hook testing to automatically promote winning hooks on non-followers.
- Scaling Worker 1 onto multi-core cloud workers as we onboard our first creator and agency teams.
Built With
- aws-ec2
- deepgram
- ffmpeg
- google-drive-api
- groq
- meta-graph-api
- next.js
- node.js
- postgresql
- supabase
- tailwindcss
- typescript
- yt-dlp