Here's a Youtube Shorts content factory; details on how it was made below
Tech Stack:
- Backend / Web UI: Python 3.11 + FastAPI + Jinja2 templates (single unified app running locally).
- Video Compositing: FFmpeg (with hardware acceleration via NVENC for NVIDIA, AMF for AMD, and QSV for Intel) + MoviePy 2.x for clip arrangement.
- Voiceover:
edge-tts(Microsoft Neural TTS) for high-quality natural voice narration. - Card Rendering: Playwright headless Chromium screenshots of custom dark-mode CSS cards (with a pure Pillow Python fallback).
- Subtitles: Custom SSA/ASS subtitle generator calculating word-level timestamp offsets from the TTS audio stream.
- Soundtrack: Local DSP-synthesized lofi audio tracks + Meta MusicGen AI music.
- Metadata: Local Ollama (Gemma) to generate catchy titles, descriptions, and tags.
- Publishing: Google OAuth2 + YouTube Data API v3 resumable chunked upload.
The code is 100% open-source and free to check out, run, or fork: GitHub: https://github.com/BloopieBlair/RedditReadingApp
Would love to hear any thoughts, feedback, or ideas for extra features!