How fearless-27/youtube_shorts_agent works
GhostPipe is an autonomous YouTube Shorts production system with a React operator dashboard, a Node.js API, and Python automation. Its principal workflow runs from trend discovery and source acquisition through analysis, video generation, scoring, approval or auto-queue, scheduled publishing, and performance learning. The README documents these stages and the dashboard/API relationship; sampled source excerpts confirm selected API, client-state, safety, audio, and rendering responsibilities. Several pipeline links below reflect documented capabilities rather than inspected call sites.
Main entry points: ghostpipe_v5_1_pipeline.py Pipeline runner · Dashboard.tsx Dashboard shell · api.ts Authenticated API client · telegram_tamil_shorts_pipeline.py Telegram Shorts
Components 28
Shorts pipeline
- Pipeline runner
pipeline/ghostpipe_v5_1_pipeline.py - Trend discovery
pipeline/ghostpipe_v5_1_pipeline.py - Source download
pipeline/ghostpipe_v5_1_pipeline.py - Virality scoring
pipeline/ghostpipe_v5_1_pipeline.py - Copyright checks
pipeline/copyright_shield_v2.py - Upload scheduling
pipeline/ghostpipe_v5_1_pipeline.py - Performance learning
pipeline/ghostpipe_v5_1_pipeline.py - Telegram Shorts
pipeline/telegram_tamil_shorts_pipeline.py
Media intelligence
- Content analysis
pipeline/audio_intelligence.py - Audio tools
pipeline/video_audio_tools.py - Short generation
pipeline/smart_clip_engine.py - Video adapter
pipeline/video_use_adapter.py - Video rendering
video-use-main/helpers/render.py
Operator dashboard
- Review and approval
src/pages/dashboard/ContentStudio.tsx - Dashboard shell
src/pages/Dashboard.tsx - Overview analytics
src/pages/dashboard/Overview.tsx - Command center
src/pages/dashboard/CommandCenter.tsx - Content studio
src/pages/dashboard/ContentStudio.tsx - Smart editor
src/pages/dashboard/SmartEditor.tsx - Upload center
src/pages/dashboard/UploadCenter.tsx - Settings
src/pages/dashboard/SettingsPage.tsx - Dashboard state
src/context/DashboardContext.tsx - Dashboard data client
src/data/store.ts
API and integrations
- Platform integrations
pipeline/api_integrations.py - Authenticated API client
src/lib/api.ts - Node API server
server.mjs
Other components
- Trend sources
- YouTube
Connections 30
- Trend sources → Trend discovery: provides trends
- Pipeline runner → Trend discovery: scans trends
pipeline/ghostpipe_v5_1_pipeline.py - Pipeline runner → Source download: downloads media
pipeline/ghostpipe_v5_1_pipeline.py - Pipeline runner → Content analysis: analyzes content
- Content analysis → Audio tools: uses audio analysis
- Pipeline runner → Short generation: generates Shorts
- Short generation → Video adapter: adapts video
- Video adapter → Video rendering: delegates rendering
pipeline/video_use_adapter.py - Pipeline runner → Virality scoring: scores candidates
pipeline/ghostpipe_v5_1_pipeline.py - Pipeline runner → Copyright checks: checks copyright
pipeline/ghostpipe_v5_1_pipeline.py - Pipeline runner → Review and approval: routes for review
- Review and approval → Upload scheduling: approves uploads
- Pipeline runner → Upload scheduling: schedules uploads
pipeline/ghostpipe_v5_1_pipeline.py - Upload scheduling → YouTube: publishes videos
- YouTube → Performance learning: returns performance
- Performance learning → Pipeline runner: informs predictions
pipeline/ghostpipe_v5_1_pipeline.py - Pipeline runner → Telegram Shorts: offers Telegram workflow
pipeline/telegram_tamil_shorts_pipeline.py - Telegram Shorts → YouTube: uploads safe videos
pipeline/telegram_tamil_shorts_pipeline.py - Dashboard shell → Overview analytics: routes views
src/pages/Dashboard.tsx - Dashboard shell → Command center: routes views
src/pages/Dashboard.tsx - Dashboard shell → Content studio: routes views
src/pages/Dashboard.tsx - Dashboard shell → Smart editor: routes views
src/pages/Dashboard.tsx - Dashboard shell → Upload center: routes views
src/pages/Dashboard.tsx - Dashboard shell → Settings: routes views
src/pages/Dashboard.tsx - Dashboard shell → Dashboard state: provides state
src/pages/Dashboard.tsx - Dashboard state → Authenticated API client: fetches overview
src/context/DashboardContext.tsx - Dashboard data client → Authenticated API client: calls API
src/data/store.ts - Authenticated API client → Node API server: sends requests
- Node API server → Pipeline runner: controls pipeline
- Platform integrations → YouTube: integrates platform