Job Radar
A job-hunting engine that works while its users sleep
A scheduled serverless pipeline that scans JSearch, three remote feeds, three job boards and eight company ATS boards every ~3 hours, runs each posting through a seven-stage filter pipeline, and emails per-user digests — with CV-driven onboarding, an admin console, and AI résumé tailoring that edits your original DOCX in place.
- Next.js
- TypeScript
- Drizzle ORM
- Turso / SQLite
- Gemini API
- OOXML editing
- Nodemailer
- cron-job.org

01 / Context
Job hunting at the junior-to-mid level is a filtering problem: hundreds of postings across a dozen platforms, most of which don't fit. Scanning them manually is a full-time job nobody pays for. I wanted the funnel inverted — roles that match my stack should arrive already ranked, deduplicated, and readable in one email.
Job Radar started as that personal scraper. It has since grown into a small multi-user product: sign-up with email verification, upload your CV, and the system builds a search plan around your profile — cities, titles, experience level — then runs it for you on the same scheduled pipeline I built for myself, with an admin console and in-app announcements alongside.
02 / Problem
The original constraints still stand — free-tier infrastructure only (Vercel Hobby, Turso's free SQLite, Gmail SMTP), stateful dedup across runs, and matching tunable without redeploying. Multi-user added harder ones: every user needs an isolated search plan derived from their CV without hand-holding, the filter pipeline has to respect each person's experience level and home market, and the AI features must help without ever putting words in anyone's mouth.
03 / Decisions
Sources: aggregators for reach, direct ATS boards for speed
Every run fans out across JSearch (Pakistan), three free remote feeds (RemoteOK, We Work Remotely, Himalayas), three job boards (LinkedIn, Indeed, Bing), and — the piece I'm proudest of — direct polling of eight company ATS boards (Greenhouse, Lever, Ashby, Workable). ATS boards need no API keys and no aggregators, so a role appears the moment a company publishes it, not when a crawler gets around to it.
A seven-stage filter pipeline per user
// skill score → seniority guard → rival-stack guard
// → work-auth filter → language filter → location filter
// → blocklists (mills + pay-to-apply aggregators)Each stage is a small pure module with its own tests-in-waiting, driven by the user's onboarding answers — a 2-years-experience user in Islamabad and a remote-first user get genuinely different feeds. Deleted jobs become tombstones, so a dismissed posting never resurfaces. Every run writes a search log, so the activity view can answer why a run found 3 jobs when yesterday's found 40.
CV onboarding: extract, never invent
New users upload their existing .docx CV. Mammoth converts it to HTML (keeping hyperlinks intact), Gemini extracts titles, skills and preferences verbatim — the prompt forbids rewriting or improving — and the user confirms or edits the draft before it ever touches the search plan. Extraction proposes; onboarding confirms.
Résumé tailoring as in-place OOXML surgery
The second-generation tailoring no longer rebuilds résumés from a template. A source map anchors each profile field to paragraphs inside the user's original document, and accepted edits are applied as string-level surgery on `word/document.xml` — changed paragraphs rewritten in place, removed bullets deleted, new bullets cloned from an existing bullet's formatting. Untouched bytes stay exactly as Word wrote them, so your original typography survives. If the map can't produce a faithful result, it falls back to the template builder rather than guess.
The guardrails are the point: Gemini scores relevance across five pillars and refuses to tailor below 30 — no edits, no cover letter. Proposals are capped at twelve surgical edits, each with an exact before, a tailored after, and a why citing the JD line and the résumé evidence. Job titles, dates, contact and education are immutable in the type system. The model can only propose wording; it can never invent history.
Every proposal is reviewed edit-by-edit — accept, reject, or tweak — before the tailored .docx is generated server-side and saved to a history of variants, alongside a draft cover letter written only from real experience.
Multi-user without the bill
Email auth with verification and reset flows, an admin role with a users console, in-app announcements shipped in code (a notice goes live with the same deploy as its feature), per-user API keys, and rotating JSearch keys with quota tracking so the free tier survives multiple users. Nine tables on Drizzle + Turso — schema as reviewable code.
04 / Outcome
- A scheduled pipeline scanning 8+ source types every ~3 hours — fully automated on free-tier infra, zero running cost.
- Per-user feeds from CV onboarding: geo-rotated search plans, experience-aware filters, tombstoned dedup across sources and runs.
- A seven-stage matcher that kills senior roles, rival stacks, US-work-auth-only listings, non-English posts and known mills before they ever reach an inbox.
- Résumé tailoring that stays honest and keeps your formatting — Gemini proposes with evidence, the OOXML editor applies in place, history keeps every variant.
- A real product surface: email auth, admin console, announcements, per-user settings — not just a cron job with a page.
05 / What I'd do differently
The OOXML editor is deliberately string-based so untouched bytes survive — but that also means no structural validation, so malformed documents lean on the fallback path more than I'd like. Next pass: a validator that scores a document's mappability before onboarding, so users with exotic CV layouts get a heads-up instead of a silent template fallback. And the matcher's scoring is still a weighted keyword count — an embeddings pass on job descriptions is the obvious upgrade, cheap to add behind the same interface.