🔍 Reddit User Persona Generator (LLM + Gemini + Python Project)
🚀 Welcome to my latest AI/NLP project! This tool automatically generates detailed user personas based on a Reddit username — using their *public post and comment history**. The personas are generated using **Google Gemini 2.5 Pro**, parsed, and exported to **both HTML and .txt* formats with structured sections and citations.
---
🧠 What This Project Does
✅ Scrapes Reddit activity using the *PRAW API*
✅ Sends post/comment data to *Gemini 2.5 Pro* for persona generation
✅ Extracts a **summary, motivations, frustrations, personality traits, behaviors**, and more
✅ Auto-generates:
A clean `.txt` file
A professional-looking `.html` file with embedded profile pic and citations
---
💡 Key Technologies Used
🔥 Python 3
🧠 Google Gemini 2.5 Pro (`google.generativeai`)
🧵 Jinja2 (for HTML rendering)
🌐 Reddit API via PRAW
📦 `dotenv` for secrets
🧪 Optional unit testing support
✅ Fully modular codebase
---
📁 Project Structure