How galihjuansaputra/cheat-clip-pro works
Cheat Clip PRO turns YouTube, Google Drive, or uploaded videos into short-form clips through AI-assisted analysis, studio customization, batch rendering, and downloads. The graph combines the documented user workflow with source-index and excerpt evidence for backend routing and service dependencies. Some UI-to-API and rendering details are documented capabilities rather than fully sampled call sites; these links are cited to the README where appropriate.
Main entry points: main.py FastAPI App · analyze.py Analysis Routes · App.tsx App Workflow · render.py Render Routes
Components 26
Web App
- App Workflow
src/App.tsx - Studio Controls
src/components/ClipStudioSection.tsx - Clip Trimmer
src/components/ClipTrimmerModal.tsx - Batch Progress
src/components/BatchRenderProgressModal.tsx - API Retry Client
src/utils/api.ts
API Surface
- FastAPI App
backend/main.py - Analysis Routes
backend/routers/analyze.py - Media Routes
backend/routers/media.py - Render Routes
backend/routers/render.py - Download Routes
backend/routers/downloads.py - Cookie Routes
backend/routers/cookies.py - System Routes
backend/routers/system.py - Runtime Configuration
backend/config.py
Video Analysis
- Analysis Models
backend/schemas/analyze.py - AI Clip Selection
backend/services/ai_service.py - YouTube Metadata
backend/services/youtube_service.py
Clip Studio
- Batch Rendering
backend/services/render_service.py - Render Settings
backend/schemas/render.py - Video Engine
backend/video_engine.py
Media Sources
- Drive Integration
backend/services/gdrive_service.py - Raw Downloads
backend/services/download_service.py
Other components
- Creator
- Google Gemini
- YouTube
- Google Drive
- Local Media Files
Connections 28
- Creator → App Workflow: submits video
README.md - App Workflow → API Retry Client: probes API
src/App.tsx - App Workflow → FastAPI App: uses backend
README.md - Studio Controls → App Workflow: customizes clips
src/App.tsx - Clip Trimmer → App Workflow: adjusts clips
src/App.tsx - App Workflow → Batch Progress: shows progress
- FastAPI App → Analysis Routes: mounts routes
backend/main.py - FastAPI App → Media Routes: mounts routes
backend/main.py - FastAPI App → Render Routes: mounts routes
backend/main.py - FastAPI App → Download Routes: mounts routes
backend/main.py - FastAPI App → Cookie Routes: mounts routes
backend/main.py - FastAPI App → System Routes: mounts routes
backend/main.py - Analysis Routes → Analysis Models: validates requests
backend/routers/analyze.py - Analysis Routes → YouTube Metadata: fetches metadata
backend/routers/analyze.py - Analysis Routes → AI Clip Selection: selects moments
backend/routers/analyze.py - Analysis Routes → Drive Integration: handles Drive input
backend/routers/analyze.py - Analysis Routes → Google Gemini: requests analysis
README.md - YouTube Metadata → YouTube: reads video data
README.md - Drive Integration → Google Drive: reads source files
- Media Routes → Local Media Files: serves media
- Render Routes → Batch Rendering: dispatches batches
backend/routers/render.py - Render Routes → Render Settings: accepts settings
backend/routers/render.py - Batch Rendering → Render Settings: uses settings
backend/services/render_service.py - Render Routes → Video Engine: renders clips
- Download Routes → Raw Downloads: starts downloads
backend/routers/downloads.py - Cookie Routes → Local Media Files: stores cookies
- System Routes → Runtime Configuration: reads runtime config
backend/routers/system.py - Runtime Configuration → Video Engine: imports engine APIs
backend/config.py