Learn how to run Finalcliper locally, configure Google ADK2 AI agents, connect YouTube Studio & Instagram Analytics, and deploy securely online.
Run the app on localhost with Bun and Node in under 2 minutes.
Production deployment on Vercel, Google Cloud Run, or Docker.
Google ADK2 Analysis Agent, Booming Radar, and timeline cuts.
Google Cloud & Meta App OAuth setup with 1-click token handoff.
1.2.x or newer (install Bun).# 1. Clone the repository
git clone https://github.com/your-username/kneecap.git
cd kneecap
# 2. Install all workspace dependencies via Bun
bun install
Create a .env.local file in apps/web/:
# Base App Configuration
NEXT_PUBLIC_APP_URL=http://localhost:3000
NODE_ENV=development
# Google Gemini AI Key (for AI Copilot, Video Scripting, & ADK2 Agents)
GEMINI_API_KEY=AIzaSy...
# Optional: YouTube Studio OAuth credentials (Google Cloud Console)
YOUTUBE_CLIENT_ID=340978777180-xxx.apps.googleusercontent.com
YOUTUBE_CLIENT_SECRET=GOCSPX-xxx
# Optional: Instagram Graph API OAuth credentials (Meta Developer Portal)
INSTAGRAM_CLIENT_ID=your_meta_app_id
INSTAGRAM_CLIENT_SECRET=your_meta_app_secret
# Start local Next.js Turbopack development server
bun dev
# Or run only the web workspace directly
bun run dev:web
Open http://localhost:3000 in your browser. The app runs local-first with zero database requirements!
# Run full test suite (68 tests across agents, timeline, and analytics)
cd apps/web && bun test
# Validate TypeScript types
bun x tsc --noEmit
apps/web.GEMINI_API_KEY, NEXT_PUBLIC_APP_URL=https://yourdomain.com, and OAuth credentials).# Build production container
docker build -t finalcliper-web -f apps/web/Dockerfile .
# Run container on port 3000
docker run -p 3000:3000 -e GEMINI_API_KEY="your_key" -e NEXT_PUBLIC_APP_URL="https://yourdomain.com" finalcliper-web
When deploying on your live domain (e.g. https://app.finalcliper.com), make sure to add the exact callback URLs to your Google Cloud Console and Meta Developer App:
Deeply analyzes historical performance metrics from YouTube Studio and Instagram Reels to diagnose retention drop-offs and formulate ready-to-produce video blueprints.
Scans the live 2026 creator ecosystem using Google search grounding to find the fastest-growing viral formats, retention hooks, and pacing styles right now.
Instant 0ms latency timeline control. Execute cuts at playhead, split left/right, jump to timestamp, or create rhythm pacing cuts every 3 seconds.
Generates cinematic Veo video shots and neural text-to-speech voiceovers automatically imported into your multi-track timeline as complete editable elements.
http://localhost:3000/api/youtube/oauth/callback.http://localhost:3000/api/instagram/oauth/callback.If you prefer not to configure full OAuth apps, you can directly paste your Google Access Token or Instagram Graph Token in /analytics/settings and /analytics/youtube/settings for instant sync.
Launch the video editor or jump into your analytics dashboard.