How shouryan/auto-shorts-bot works
This is an automated YouTube Shorts creator: the runner invokes script generation, voiceover, video assembly, captioning, and upload. The sampled stages use Gemini, Edge TTS, Whisper/MoviePy, and the YouTube API. The source excerpts show an apparent filename mismatch: assembly writes final_short_automated.mp4, while captioning expects final_short_overlay.mp4; the runner nevertheless proceeds to upload final_short_automated.mp4. Image generation is not implemented in the sampled files. No README was provided, so unsampled capabilities and wiring are omitted.
Main entry points: main.py Pipeline runner · step2_media.py Voiceover generation · step1_scripting.py Script generation · step3_assembly.py Video assembly
Components 12
Job orchestration
- Pipeline runner
main.py
Short creation
- Script generation
step1_scripting.py - Gemini API
- Voiceover generation
step2_media.py - Edge TTS
- Video assembly
step3_assembly.py - Background video
background.mp4 - Caption rendering
step5_captions.py - Whisper transcription
Publishing
- YouTube upload
step6_upload.py - YouTube
Other components
- Operator
Connections 12
- Operator → Pipeline runner: starts
main.py - Pipeline runner → Script generation: runs
main.py - Pipeline runner → Voiceover generation: runs
main.py - Pipeline runner → Video assembly: runs
main.py - Pipeline runner → Caption rendering: runs
main.py - Pipeline runner → YouTube upload: runs
main.py - Script generation → Gemini API: generates script
step1_scripting.py - Voiceover generation → Script generation: reads script
step2_media.py - Voiceover generation → Edge TTS: generates speech
step2_media.py - Video assembly → Background video: reads video
step3_assembly.py - Caption rendering → Whisper transcription: transcribes audio
step5_captions.py - YouTube upload → YouTube: uploads video
step6_upload.py