anandanair/job-scraper
关于
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小时
- 0
- 7天
- 正在收集历史
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文JobTrack — Autonomous Job Scraper, AI Resume Tailor & ATS Studio
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

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 viaimpit+ fastcheerioparsing + localnode-html-markdownconversion. - No Supabase Storage buckets required — ATS PDFs are compiled in-memory on demand via
PDFKitin ~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
2. Top Matches Split-Pane with Skill Gap Analysis & AI Copilots
3. Grounded Company Intelligence v2 (Glassdoor, HN, Reddit, GitHub & ATS Signals)
4. Resume Studio — Master Vault & ATS Design Personas
5. Application Tracker with Reminders & Timeline
6. Unified SDK LLM Gateway (Cloud & Local Ollama)
🌟 Core Features
🔍 Multi-Source Pure TypeScript Scraper
- LinkedIn (Guest Endpoints + Smart Global Funnel): Uses
impitbrowser 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.orgJobPostingJSON-LD even for JS-rendered SPAs. - Safety First: Enforces a hard
30 jobs/dayceiling 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+ groundeddream_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
- The Strategist: Extracts role pain points, curates 8–15 matching skills, selects 1–3 strongest projects, and enforces an anti-hallucination forbidden list.
- The Copywriter: Writes executive-grade ATS bullets using Google's XYZ formula in implied first-person resume voice without mentioning the hiring company name.
- Deterministic Validator & Rescorer: Verifies timeline integrity (companies, titles, dates), caps length at 2 pages, strips formatting artifacts, and rescores fit.
- 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
- Download JobTrack (.zip) and extract it.
- Run
install.bat(Windows) or./install.sh(macOS/Linux).
Option 3: 1-Click Serverless Cloud Deploy (Free Tier Friendly)
- 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 openhttp://localhost:3000. - Automatic code updates: Launchers fetch and fast-forward (
git merge --ff-only) fromupstreamand push updates to your fork so cloud workflows stay in sync. - Manual updater: Run
update.bator./update.shanytime. - 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
- Initialize Supabase: Create a free project at Supabase, open the SQL Editor, paste
supabase_setup/init.sql, and click Run. - Configure environment in
web/.env.local(all AI keys and preferences live in Supabaseapp_settings):
(Optional rootNEXT_PUBLIC_SUPABASE_URL="https://<YOUR_PROJECT_ID>.supabase.co" NEXT_PUBLIC_SUPABASE_ANON_KEY="sb_publishable_..." SUPABASE_SERVICE_ROLE_KEY="sb_secret_...".envwithSUPABASE_URLandSUPABASE_SERVICE_ROLE_KEYif running worker CLIs from the repo root.) - Start the app:
Open http://localhost:3000/setup.npm run dev
🧙♂️ 6-Step Setup Wizard (/setup)
- Step 1 — Database Setup: Connect Supabase credentials and verify/apply schema tables.
- Step 2 — AI Engine: Pick Gemini, OpenAI, Anthropic, Fireworks AI, or OpenAI-Compatible (
Ollama,OpenRouter, etc.), test live latency, and estimate monthly token costs. - Step 3 — Job Preferences: Configure prioritized search queries, global locations (with automatic LinkedIn
geoIdresolution), job types, and active sources (LinkedIn,CareersFuture,Direct ATS,RemoteOK). - 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).
- Step 5 — Master Resume Studio: Upload
resume.pdffor AI structured extraction into your Career Data Vault and pick an ATS visual theme. - Step 6 — GitHub Automation: Optionally encrypt (
Tweetsodium) and pushSUPABASE_URL&SUPABASE_SERVICE_ROLE_KEYto 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:
- Read
AGENTS.mdfor the non-negotiable operational protocol and guardrails. - Read
memory/context.mdfor the complete technical architecture, database schema, and API reference. - Log completed work in
memory/progress_latest.md.
📄 License
Open-source under the MIT License.
探索相关项目
加载中…