Skip to content
khaledbaccourPublic

About

Automated Reddit job discovery and personalized outreach pipeline. Multi-agent scraping, adaptive messaging, Playwright automation.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

🎯 Jobr

Automated job discovery and personalized outreach on Reddit.

A multi-agent pipeline that finds freelance/job posts on Reddit, stores them in a database, and sends personalized DMs via browser automation. Learns which message styles get replies and evolves over time.

TypeScript Playwright Drizzle SQLite


Pipeline

Three-phase automated pipeline running on a cron schedule:

┌─────────────┐     ┌─────────────┐     ┌──────────────┐
│  Phase 1    │     │  Phase 2    │     │  Phase 3     │
│  SCRAPE     │ ──▶ │  STORE      │ ──▶ │  OUTREACH    │
│             │     │             │     │              │
│ 10 parallel │     │ SQLite DB   │     │ 5 Playwright │
│ agents scan │     │ deduped by  │     │ agents send  │
│ Reddit JSON │     │ username    │     │ personalized │
│ API         │     │             │     │ DMs          │
└─────────────┘     └─────────────┘     └──────────────┘

Features

  • Multi-agent scraping — 10 parallel agents search Reddit via JSON API with configurable keywords
  • Smart deduplication — SQLite with unique constraints by Reddit username
  • Adaptive messaging — tracks which DM styles get replies, maintains top 5 performing styles, evolves messaging over time
  • Browser automation — Playwright-powered DM sending with login session management
  • Proxy rotation — free proxy pool for rate limit avoidance
  • Web dashboard — Express-powered UI for monitoring pipeline status, reviewing leads, and tracking DM performance
  • Cron scheduling — configurable intervals (default: every 5 hours)

Architecture

jobr/
├── src/
│   ├── scraper/
│   │   ├── orchestrator.ts    # Coordinates 10 parallel scraper agents
│   │   ├── agent.ts           # Single scraper agent logic
│   │   ├── reddit-api.ts      # Reddit .json API wrapper
│   │   └── proxy-manager.ts   # Free proxy rotation
│   ├── outreach/
│   │   ├── orchestrator.ts    # Coordinates 5 DM agents
│   │   ├── dm-agent.ts        # Playwright-powered DM sending
│   │   ├── style-engine.ts    # DM style scoring + evolution
│   │   └── login-monitor.ts   # Session expiry detection + email alerts
│   ├── db/
│   │   └── schema.ts          # Drizzle ORM schema (SQLite)
│   └── ui/
│       ├── server.ts          # Express dashboard server
│       └── api/               # REST API for the dashboard
├── agents/                    # Claude Code subagent configurations
└── drizzle.config.ts

Tech Stack

Layer Tech
Runtime Node.js + TypeScript
Scraping Reddit JSON API + proxy rotation
Automation Playwright (browser DMs)
Database SQLite + Drizzle ORM
Dashboard Express + static HTML/CSS/JS
Scheduling Node cron

Getting Started

git clone https://github.com/khaledbaccour/jobr.git
cd jobr
npm install
cp .env.example .env  # Add Reddit credentials + email config
npx drizzle-kit push
npm run dev

License

MIT

About

Automated Reddit job discovery and personalized outreach pipeline. Multi-agent scraping, adaptive messaging, Playwright automation.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages