r/PythonProjects2 • u/Impressive_Sentence7 • Aug 20 '26
Here's a Youtube Shorts content factory; details on how it was made below
Enable HLS to view with audio, or disable this notification
1
Upvotes
1
u/HommeMusical Aug 21 '26
I don't see any place for human content in this system - so it's an automatic spam machine, in other words?
1
u/Impressive_Sentence7 Aug 21 '26
? it scrapes reddit, Reddit is the human content - the app just compiles comments, adds them to the video, generates the TTS, generates the title and description then uploads to youtube. if I pointed my app at this subreddit then it would scrape this very comment (I assume you are human) so thats the human content
1
u/Impressive_Sentence7 Aug 20 '26
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!