What Was Built
New system: reddit-referral-poster — drop a referral URL in Discord #referral-codes, auto-post to r/redditreferrallinks + cross-post to brand-relevant subreddits with scheduling and jitter.
Key Technical Decisions
- old.reddit.com for automation (new Reddit shadow DOM blocks CDP)
- CDP eval exclusively (content script commands timeout on Reddit)
- Brand-specific targeting (Wise goes to expat/travel subs, not investing subs)
- Auto-descriptions for known brands when user provides just a bare URL
- Live discovery for unknown brands via Reddit search
First Live Run
Wise referral posted to 6/9 targets: r/redditreferrallinks, r/referralcodes, r/referrals (new posts) + r/TransferWise, r/digitalnomad, r/expats (comments). 3 failed subs removed from curated list.
Architecture
Discord message -> Parser (brand detection + auto-desc) -> Scheduler (own sub 30s, cross-posts 15-30min jitter) -> Queue Processor (60s poll) -> Browser Module (CDP eval on old.reddit.com) -> Discord Reporter (replies with links)
Commits (6)
reddit-referral-poster: Initial build through comment permalink fix. GitHub: npezarro/reddit-referral-poster (private).