Skip to content

BrainRotAI takes the most popular reddit stories from a subreddit, and automatically creates a story time animation using a locally hosted image generation model and google gemini.

Notifications You must be signed in to change notification settings

adsdemaybe/BrainRotAI

Repository files navigation

BrainRotAI

Small Python toolkit that:

  • Scrapes top text posts from a subreddit via Reddit’s public JSON endpoints
  • Saves stories to JSON
  • Generates TTS audio from a story JSON (Google API)
  • (Optional) Generates images/videos (requires FFmpeg for video) DOESNT WORK YET

Setup

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Video generation requires FFmpeg installed and on your PATH.

Quick start

Run a basic system check:

python test_system.py

Fetch the next unprocessed story and generate a .wav:

python run_story_tts.py

Note: run_story_tts.py currently contains a hard-coded API key; replace it with your own key (and avoid committing secrets).

About

BrainRotAI takes the most popular reddit stories from a subreddit, and automatically creates a story time animation using a locally hosted image generation model and google gemini.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages