Building a KB-Driven Reddit Outreach Dashboard

We built a custom local outreach dashboard to scan Reddit, draft context-rich responses via LLMs based on product knowledge bases, and quickly reply manually. Here is the architecture.


1. The Pain: Reddit's HTTP 403 Blocks

Reddit blocks standard API requests from scripts.
403 Error Blocks
403 Error Blocks

The Fix: We scrape posts via Reddit's public Atom RSS search feeds with a browser User-Agent, bypassing the blocks completely.


2. Interactive CLI & Deduplication

To prevent duplicate replies and spamming:
CLI Review Interface
CLI Review Interface

3. Gemini Token Limits & The Local Gemma Transition

Initially, we ran everything through the Gemini API, but we hit the token/rate limits when loading large chunks of subreddit context.
Gemini Token Limit Error
Gemini Token Limit Error

To solve this, we tried running Gemma 2 locally using Ollama (`gemma4:e2b`), which was surprisingly easy to set up.


4. Human-in-the-Loop Tkinter Popup

Selecting `d` (draft) opens a dual-panel popup editor built with `tkinter`:
Tkinter Side-by-Side Editor Window
Tkinter Side-by-Side Editor Window

<!-- I'm thinking to make email aggregator that can help me clean up emails. let's see if it will come all right. -->