Skip to content

cousingary/mindstorm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

mindstorm

A weekly AI podcast that mines your second brain and remixes it into an episode. Not a recap — a remix.

Every Wednesday, Mindstorm queries a personal Supabase vector store (recent memories, decisions, contradictions, semantic clusters), generates a full-length two-host dialogue via Gemini Flash, converts to audio via Gemini multi-speaker TTS, and publishes to a private RSS feed.


What it sounds like

Two hosts — Jeremy and Maya — work through whatever the second brain has been accumulating: recent decisions and their rationale, patterns across unrelated notes, contradictions between old beliefs and new ones, things that were flagged but never revisited.

Episode format rotates:

  • Standard (most weeks) — 7 rotating analytical personas. The Chaos Archivist, The Pattern Spotter, The Devil's Advocate, etc. Each brings a different lens to the same material.
  • The Oracle (every 12th week) — tarot spread framing. Each card position maps to a dimension of your current situation.
  • Letter to Future Self (every 8th week) — one host writes aloud to the other's future self. Forces confrontation with what you're actually building toward.

Seed question: drop any question into mindstorm_seed.txt and it steers the episode. Clears after use.


Architecture

Second brain (Supabase vector store)
    → recent memories (last 14 days)
    → semantic clusters around current themes
    → random "gems" from the archive
    → flagged contradictions
          ↓
    Gemini Flash script (~9,000 words)
          ↓
    Gemini multi-speaker TTS → MP3
          ↓
    RSS feed + Telegram notification

Uses personal-podcast-engine as the audio layer.


Requirements

  • A second brain: Supabase vector store with a memories table (see second-brain-brief for the store schema)
  • Gemini API key (script generation + TTS)
  • Cloudflare R2 bucket (audio hosting)
  • ffmpeg on the host machine
GEMINI_API_KEY=...
SUPABASE_URL=...
SUPABASE_KEY=...
R2_ACCOUNT_ID=...
R2_ACCESS_KEY_ID=...
R2_SECRET_ACCESS_KEY=...
R2_BUCKET=podcast-audio
R2_PUBLIC_URL=https://your-r2-public-url.r2.dev
TELEGRAM_BOT_TOKEN=...
TELEGRAM_CHAT_ID=...

Usage

python3 mindstorm_podcast.py              # full run
python3 mindstorm_podcast.py --remix-only # generate script only, no audio
python3 mindstorm_podcast.py --dry-run    # show what would be mined, no generation

# Steer an episode
echo "What am I avoiding?" > mindstorm_seed.txt
python3 mindstorm_podcast.py

Cron (Wednesday 06:00 UTC):

0 6 * * 3 cd ~/second-brain && venv/bin/python3 mindstorm_podcast.py >> ~/logs/mindstorm.log 2>&1

The second brain it reads from

Mindstorm is one plugin in a broader personal AI stack built around a Supabase vector store:

The second brain accumulates through daily notes, voice memos, meeting captures, and interview sessions. Mindstorm is how it talks back.

About

Weekly AI podcast that mines your second brain and remixes it into an episode. Not a recap — a remix. Gemini Flash script + multi-speaker TTS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages