Skip to content
المشاريع

حول

Self-hosted AI job scraper (LinkedIn, Greenhouse, Lever, Ashby, RemoteOK), grounded company intel, 3-stage resume tailor & 1:1 ATS PDF studio — Next.js, TypeScript, Supabase & GitHub Actions.

الذكاء الاصطناعي وتعلّم الآلة

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
جارٍ جمع السجل
خلال 15 يومًا
جارٍ جمع السجل
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

JobTrack — Autonomous Job Scraper, AI Resume Tailor & ATS Studio

GitHub stars GitHub forks GitHub release License: MIT Next.js TypeScript Supabase

Self-hosted, 100% TypeScript job discovery, grounded company intelligence, 3-stage AI resume tailoring, and 1:1 ATS PDF typesetting — running for $0 hosting on Vercel + Supabase + GitHub Actions (or locally with a 1-line install).

Walkthrough • Core Features • Quick Start • Architecture • Setup Wizard • CLI & Workflows • Contributing


Download ZIP Deploy with Vercel


JobTrack Walkthrough

Forking to run GitHub Actions automation? Please consider leaving a ⭐ Star on this repository — it helps other job seekers and open-source contributors discover JobTrack!


✨ Why JobTrack?

Most job tools either wrap a single ChatGPT prompt around a resume or require brittle Python/Selenium browsers. JobTrack is an end-to-end, self-hosted career operating system built in pure TypeScript:

  • No Python, Selenium, or Puppeteer bloat — Native Chrome TLS (JA3/JA4) impersonation via impit + fast cheerio parsing + local node-html-markdown conversion.
  • No Supabase Storage buckets required — ATS PDFs are compiled in-memory on demand via PDFKit in ~25ms directly from PostgreSQL.
  • Bring Your Own AI — Cloud or 100% Local — Official SDK gateway for Google Gemini, OpenAI (Responses API), Anthropic Claude, Fireworks AI, and OpenAI-Compatible endpoints (Ollama, OpenRouter, DeepSeek, Together AI).
  • Grounded, Anti-Hallucination Tailoring — A 3-stage pipeline preserves your exact career timeline while rewriting bullets using Google's XYZ formula without leaking target company names.

📸 Screenshots & Walkthrough

1. Command Center Dashboard & Real-Time Pipeline Funnel

JobTrack Dashboard & Pipeline Funnel

Track freshly scraped roles, top matches, tailored resumes ready to send, conversion funnel across LinkedIn / CareersFuture / RemoteOK / Direct ATS, and 14-day application velocity.
2. Top Matches Split-Pane with Skill Gap Analysis & AI Copilots

Top Matches Split Pane

Inspect matched core skills, missing skill gaps, detected red flags, and launch on-demand **Cover Letters**, **Recruiter Outreach Notes**, **AI Interview Prep**, **Tailored Resumes**, or **Company Intel** side-by-side.
3. Grounded Company Intelligence v2 (Glassdoor, HN, Reddit, GitHub & ATS Signals)

Company Intel v2 Modal

Verify company reputation before investing time: combines Glassdoor ratings, Wikidata firmographics, 30-day Hacker News & news pulse, 5-layer validated Reddit discussions, GitHub org activity, and an AI risk/culture dossier.
4. Resume Studio — Master Vault & ATS Design Personas

Resume Studio Design & Personas

Store a multi-page Master Career Data Vault, customize ATS typography/presets/margins/section ordering with saved personas, and verify output with a live 1:1 PDF preview (`react-pdf` + `PDFKit`).
5. Application Tracker with Reminders & Timeline

Application Tracker

Filter by status (`Applied`, `Interviewing`, `Offer`, `Rejected`), flag follow-up reminders, schedule interview countdowns, and keep inline notes + full status transition history.
6. Unified SDK LLM Gateway (Cloud & Local Ollama)

Unified SDK LLM Gateway Settings

Switch seamlessly between Gemini, OpenAI, Anthropic, Fireworks AI, or any OpenAI-compatible local/custom endpoint (`Ollama`, `OpenRouter`, `DeepSeek`) with built-in RPM throttling and monthly budget estimation.

🌟 Core Features

🔍 Multi-Source Pure TypeScript Scraper

  • LinkedIn (Guest Endpoints + Smart Global Funnel): Uses impit browser TLS (JA3/JA4) impersonation, adaptive pagination, deterministic hard filters, and chunked Phase 1 LLM title triage before fetching full descriptions.
  • Direct ATS Boards: Scrapes Greenhouse, Lever, and Ashby public boards directly for your target companies.
  • RemoteOK: Smart concept and role-synonym matching across engineering feeds (?tag=engineer, ?tag=dev).
  • Singapore CareersFuture: Typed REST API integration (automatically excluded when targeting non-Singapore locations).
  • Universal Job Importer (/api/jobs/import): Paste any job URL — extracts via Ashby/Greenhouse/Lever APIs or Schema.org JobPosting JSON-LD even for JS-rendered SPAs.
  • Safety First: Enforces a hard 30 jobs/day ceiling per platform (SAFE_MAX_SCRAPE_PER_SOURCE = 30) to prevent rate limits and IP blocks.

🎯 Dual-Mode AI Evaluation

  • Get Hired Fast (default): 100% ATS qualification fit (resume_score), optimized for low token usage and speed.
  • Dream Hunter: 50/50 composite (resume_score + grounded dream_score) across Craft/Stack (35 pts), Workplace Mode (25 pts), Seniority (20 pts), and Culture/Glassdoor (20 pts) — featuring Semantic Seniority Downgrade Protection (caps junior/intern mismatches at <= 40) and Salary Floor Gating.

📄 3-Stage Agentic Resume Tailoring & 1:1 ATS PDF Engine

  1. The Strategist: Extracts role pain points, curates 8–15 matching skills, selects 1–3 strongest projects, and enforces an anti-hallucination forbidden list.
  2. The Copywriter: Writes executive-grade ATS bullets using Google's XYZ formula in implied first-person resume voice without mentioning the hiring company name.
  3. Deterministic Validator & Rescorer: Verifies timeline integrity (companies, titles, dates), caps length at 2 pages, strips formatting artifacts, and rescores fit.
  4. Tailored Resume Studio (/jobs/[job_id]/resumes/[id]): Edit tailored copy or per-application visual styling inline with live 1:1 PDF verification.

🤝 On-Demand Career Copilots

  • Cover Letter Studio (/jobs/[job_id]/cover-letter): Configurable tones (Confident Professional, Executive, Technical, Short Note) with live word count and ATS PDF export.
  • Recruiter Outreach Copilot: Generates a <300-char LinkedIn Connection Note, structured InMail/Cold Email, and Mutual Referral Request.
  • AI Interview Prep Copilot: Persisted 1:1 guides with a 30-second elevator pitch, technical questions + focus areas, tailored STAR behavioral answers, and smart reverse questions.

⚡ Real-Time & Self-Maintaining

  • Supabase Realtime Updates: Live WebSocket banner alerts you the moment background scrapes or workflows finish.
  • In-App Local Runner & Live Logs: Trigger scrapes, scoring, tailoring, or cleanup directly from Settings → Cloud Workflows with streaming terminal telemetry.
  • Self-Updating Code & Schema: Launchers auto-sync from upstream, forks auto-sync daily, and versioned SQL migrations (schema_migrations) apply automatically on startup and before every workflow run.

🏗 Architecture

graph TD
    subgraph Scraper ["TypeScript Scraper Engine (web/src/lib/scraper/)"]
        S[scrape-jobs.ts] -->|impit TLS + cheerio + node-html-markdown| S_MD[Markdown Job Postings]
        S -->|Dynamic Settings| DB[(Supabase PostgreSQL + Realtime)]
    end

    subgraph WebApp ["Fullstack Next.js 16 App (web/)"]
        UI[App Router UI] -->|Pages| Pages["/setup, /jobs/*, /resume-studio, /settings"]
        API[REST Route Handlers] -->|/api/*| DB
        LLM[Unified SDK LLM Gateway<br/>web/src/lib/llm/gateway.ts] -->|Gemini / OpenAI / Anthropic / Fireworks / Ollama| AI_OPS[Scoring, Intel, Tailoring & Copilots]
        PDF[ATS Typesetting Engine<br/>web/src/lib/pdf.ts] -->|In-Memory PDFKit 25ms| RES_PDF[ATS PDFs]
    end

    subgraph Workers ["TypeScript Batch Workers (web/scripts/)"]
        W1[score-jobs.ts] -->|Evaluate Fit 0-100| DB
        W2[customize-resumes.ts] -->|3-Stage Tailor & Theme Snapshot| DB
        W3[job-manager.ts] -->|Availability & Expiry| DB
        W4[parse-resume.ts] -->|PDF to Master Vault JSON| DB
    end

    subgraph Automation ["Cloud & Local Automation"]
        GH[GitHub Actions Cron] -->|Auto-Migrate + Run| Workers
        GH -->|Hourly Timezone Gatekeeper| S
    end

🚀 Quick Start

Option 1: 1-Line Local Install (No Git Required)

  • Windows (PowerShell):
    irm https://raw.githubusercontent.com/anandanair/job-scraper/main/install.ps1 | iex
    
  • macOS / Linux (Terminal):
    curl -fsSL https://raw.githubusercontent.com/anandanair/job-scraper/main/install.sh | bash
    

Checks Node.js, downloads JobTrack, installs dependencies, creates a Desktop shortcut (Windows), and opens http://localhost:3000/setup.

Option 2: 1-Click ZIP Download

  1. Download JobTrack (.zip) and extract it.
  2. Run install.bat (Windows) or ./install.sh (macOS/Linux).

Option 3: 1-Click Serverless Cloud Deploy (Free Tier Friendly)

Deploy with Vercel

  • UI & APIs: Vercel
  • Database & Realtime: Supabase (PostgreSQL — zero storage buckets needed)
  • Scheduled Workers: GitHub Actions (on your fork)

☀️ Daily Usage & Auto-Updates

  • Launch locally: Double-click the JobTrack Desktop shortcut / start.bat (Windows) or run ./start.sh (macOS/Linux) to open http://localhost:3000.
  • Automatic code updates: Launchers fetch and fast-forward (git merge --ff-only) from upstream and push updates to your fork so cloud workflows stay in sync.
  • Manual updater: Run update.bat or ./update.sh anytime.
  • Automatic schema migrations: Pending database migrations apply automatically on app launch, setup completion, and before every GitHub Actions run (npm run migrate). Your jobs, settings, and resumes in Supabase are never overwritten.

🛠 Manual Developer Setup

# 1. Clone and install dependencies
git clone https://github.com/anandanair/job-scraper.git
cd job-scraper
npm run install:web
  1. Initialize Supabase: Create a free project at Supabase, open the SQL Editor, paste supabase_setup/init.sql, and click Run.
  2. Configure environment in web/.env.local (all AI keys and preferences live in Supabase app_settings):
    NEXT_PUBLIC_SUPABASE_URL="https://<YOUR_PROJECT_ID>.supabase.co"
    NEXT_PUBLIC_SUPABASE_ANON_KEY="sb_publishable_..."
    SUPABASE_SERVICE_ROLE_KEY="sb_secret_..."
    
    (Optional root .env with SUPABASE_URL and SUPABASE_SERVICE_ROLE_KEY if running worker CLIs from the repo root.)
  3. Start the app:
    npm run dev
    
    Open http://localhost:3000/setup.

🧙‍♂️ 6-Step Setup Wizard (/setup)

  1. Step 1 — Database Setup: Connect Supabase credentials and verify/apply schema tables.
  2. Step 2 — AI Engine: Pick Gemini, OpenAI, Anthropic, Fireworks AI, or OpenAI-Compatible (Ollama, OpenRouter, etc.), test live latency, and estimate monthly token costs.
  3. Step 3 — Job Preferences: Configure prioritized search queries, global locations (with automatic LinkedIn geoId resolution), job types, and active sources (LinkedIn, CareersFuture, Direct ATS, RemoteOK).
  4. Step 4 — Search Strategy: Choose Get Hired Fast or Dream Hunter (with stack preferences, dealbreakers, salary floor, and one-click auto-populate from your resume).
  5. Step 5 — Master Resume Studio: Upload resume.pdf for AI structured extraction into your Career Data Vault and pick an ATS visual theme.
  6. Step 6 — GitHub Automation: Optionally encrypt (Tweetsodium) and push SUPABASE_URL & SUPABASE_SERVICE_ROLE_KEY to your fork's GitHub Secrets to activate autonomous workflows.

🤖 Automated GitHub Actions Workflows

Workflow Name Schedule (UTC) Purpose
scrape_jobs.yml Daily Job Scraper 12 * * * * (hourly gatekeeper) Evaluates your configured local timezone + missed-window catch-up; scrapes LinkedIn, CareersFuture, RemoteOK, and Direct ATS.
score_jobs.yml Job Scorer 17 */4 * * * (every 4 hrs) Scores newest unscored jobs against your master resume (and Company Intel in Dream Hunter mode).
hourly_resume_customization.yml Resume Customization 47 */4 * * * (every 4 hrs) Runs the 3-stage tailoring pipeline for qualifying top matches (excluding Not Interested jobs).
job_manager.yml Daily Job Manager 25 17 * * * (daily) Verifies posting availability and expires listings older than 30 days.
sync_upstream.yml Sync Fork with Upstream 35 18 * * * (daily) Keeps forks synced with upstream using gh repo sync.

💻 Commands & Scripts

Run all commands from the repository root:

# Web Application
npm run dev              # Start Next.js dev server (http://localhost:3000)
npm run build            # Build production bundle
npm run start            # Start production server
npm run install:web      # Install web/ dependencies

# Job Scraper
npm run scrape           # Scrape active sources from Supabase settings
npm run scrape:force     # Bypass daily caps and calendar day limits
npm run test:scraper     # Run scraper diagnostic & live parity tests
npm run scrape -- --force --source linkedin --query "Frontend Engineer" --limit 10

# Automation Workers & Migrations
npm run score            # Score newest unscored jobs
npm run score:force      # Evaluate larger batch (up to 50 unscored jobs)
npm run customize        # Tailor resumes for qualifying top matches
npm run manage           # Expire stale listings & verify availability
npm run migrate          # Apply pending Supabase schema migrations
npm run parse-resume     # Parse resume.pdf into base_resume table

🤝 Contributing

Contributions are very welcome — especially new ATS/job board adapters, UI improvements, and bug fixes! See CONTRIBUTING.md for local setup, architecture boundaries, and pull request guidelines.


🤖 Instructions for AI Coding Agents

If you are an AI coding assistant (Antigravity, Claude Code, Cursor, Codex, Copilot) working in this repository:


📄 License

Open-source under the MIT License.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…