Upload a resume. Paste a job description. Get an instant, AI-generated recruiter briefing —
complete with a 10-point candidate score, 5-tier fit classification, skill gap analysis, and tailored interview questions.
Features · Architecture · Tech Stack · Getting Started · API Reference · Project Structure · How It Works
| 📄 Smart PDF Parsing | Drag-and-drop or click-to-upload PDF resumes — text is extracted instantly via pdfplumber |
| 🧠 Local LLM Assessment | Professional recruiter-grade analysis generated by Ollama (qwen2.5:3b) — no API keys, no cloud, 100% private |
| 🎯 AI Candidate Score | LLM-generated score on a 10-point scale based on resume quality, domain expertise, and job alignment |
| 🏷️ 5-Tier Fit Classification | Intelligent categorization from "Not Aligned" to "Outstanding Expert" with percentage-based criteria |
| 🔍 Skill Gap Analysis | Automatic extraction of matching skills and identification of missing competencies against the job description |
| 💬 AI Interview Questions | 5 auto-generated targeted interview questions based on detected skill gaps and role requirements |
| 📊 Animated Score Gauge | Dynamic SVG radial gauge with smooth animation and category-specific color gradients |
| 🌙 Space-Dark Premium UI | Glassmorphism interface with gradient overlays, ambient lighting, grid patterns, and micro-animations |
| 🔌 Offline Fallback | Graceful degradation when Ollama is offline — provides keyword-based skill assessment automatically |
| 📋 Raw Text Preview | Expandable section to inspect the extracted resume text for manual verification |
The AI evaluates each candidate and assigns exactly one of five categories:
| Tier | Classification | Criteria | Badge |
|---|---|---|---|
| 1 | Not Aligned | Only basic/generic skills; no meaningful overlap with the role | 🔴 |
| 2 | Needs Heavy Training | Lacks more than 40% of core skills but shows potential for growth | 🟠 |
| 3 | Core Skills Match (Trainable) | Has 50–70% of core foundational skills; training can bridge remaining gaps | 🟡 |
| 4 | Strong Fit (Plug-and-Play) | Possesses 70–90% of required skills; ready to contribute immediately | 🔵 |
| 5 | Outstanding Expert | Exceeds role requirements with deep, expert-level alignment across all areas | 🟢 |
Each tier maps to a distinct color gradient in the UI's radial score gauge for instant visual identification.
┌────────────────────────────────────────────────────────────┐
│ CLIENT (Browser) │
│ │
│ Next.js 16 · TailwindCSS 4 · TypeScript · React │
│ │
│ ┌────────────┐ ┌──────────────┐ ┌────────────────┐ │
│ │ Dashboard │ │ ScoreGauge │ │ Markdown │ │
│ │ .tsx │ │ .tsx │ │ Renderer.tsx │ │
│ └──────┬─────┘ └──────────────┘ └────────────────┘ │
│ │ │
│ │ POST /api/analyze (multipart/form-data) │
│ ▼ │
├────────────────────────────────────────────────────────────┤
│ SERVER (FastAPI) │
│ │
│ main.py ─ CORS · Upload Handling · Regex Parsing │
│ │
│ utils/ │
│ ├─ extract_text.py → PDF text extraction │
│ ├─ preprocess.py → Regex-based normalization │
│ ├─ skill_extractor.py → Keyword-based skill matching │
│ └─ resume_summary.py → LLM prompt + Ollama API call │
│ │
│ │ POST /api/generate (JSON) │
│ ▼ │
│ ┌────────────────────────────┐ │
│ │ Ollama · qwen2.5:3b │ │
│ │ http://localhost:11434 │ │
│ └────────────────────────────┘ │
└────────────────────────────────────────────────────────────┘
The application uses a fully decoupled client–server architecture:
- Frontend sends a
FormDataPOST (PDF file + job description text) to the backend - Backend extracts text, matches skills, calls the local LLM, and returns structured JSON
- LLM runs entirely on your machine via Ollama — no data ever leaves your network
| Technology | Version | Role |
|---|---|---|
| Next.js | 16 | React framework — App Router, SSR, Turbopack dev server |
| React | 19 | Component-based UI with hooks |
| TailwindCSS | 4 | Utility-first CSS via PostCSS |
| TypeScript | 5 | Static type safety across all components |
| Lucide React | 1.17+ | Consistent, tree-shakeable SVG icon library |
| Geist | — | Premium sans-serif + monospace font by Vercel |
| Technology | Role |
|---|---|
| FastAPI | High-performance async Python API framework |
| Uvicorn | ASGI server with hot-reload for development |
| pdfplumber | Robust PDF → plain text extraction |
| NLTK | Natural language text preprocessing |
| Requests | HTTP client for Ollama API communication |
| Technology | Role |
|---|---|
| Ollama | Run LLMs locally — zero cloud, zero cost, fully private |
| Qwen 2.5 3B | Lightweight LLM optimized for structured, low-latency generation |
| Tool | Minimum Version | Download |
|---|---|---|
| Python | 3.10+ | python.org |
| Node.js | 18+ | nodejs.org |
| Ollama | Latest | ollama.com |
git clone https://github.com/DhanushS-11/AI-Powered-Resume-Screening-and-Candidate-Assessment-System.git
cd AI-Powered-Resume-Screening-and-Candidate-Assessment-System
# Pull the required model (one-time download, ~1.9 GB)
ollama pull qwen2.5:3b
Verify: Visit
http://localhost:11434in your browser — it should display "Ollama is running".
# Create and activate a virtual environment
python -m venv venv
# Windows
venv\Scripts\activate
# macOS / Linux
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Start the FastAPI server (auto-reloads on file changes)
cd backend
python main.py
The API will be available at http://localhost:8000
Open a new terminal window:
cd frontend
# Install Node.js dependencies
npm install
# Start the Next.js dev server
npm run dev
The UI will be available at http://localhost:3000
Open http://localhost:3000 in your browser, upload a PDF resume, paste a job description, and click Analyze Resume Qualifications.
Check server status and Ollama connectivity.
// Response
{
"status": "ok",
"ollama_online": true
}
Analyze a resume against a job description.
Request — multipart/form-data
| Field | Type | Required | Description |
|---|---|---|---|
resume |
File (PDF) | ✅ | Candidate's resume |
job_description |
string | ✅ | Full job description text |
Response — application/json
{
"success": true,
"filename": "jane_doe_resume.pdf",
"score": 8.0,
"category": "Strong Fit (Plug-and-Play)",
"resume_skills": ["Python", "React", "Docker", "AWS"],
"missing_skills": ["Kubernetes", "Terraform"],
"ai_analysis": "## Candidate Summary\nJane is a ...",
"resume_text": "Full extracted text from PDF..."
}
| HTTP Code | Meaning |
|---|---|
200 |
Analysis completed successfully |
400 |
Invalid file type or empty/scanned PDF |
500 |
Internal processing error |
ResumeScreener/
│
├── README.md # Project documentation
├── requirements.txt # Python dependencies (6 packages)
│
├── backend/ # ── FastAPI Server ──
│ ├── main.py # API routes, CORS, upload handling, regex parsing
│ ├── data/
│ │ └── skills.txt # Curated keyword database (27 technical skills)
│ └── utils/
│ ├── extract_text.py # PDF → plain text via pdfplumber
│ ├── preprocess.py # Lowercase, special char removal, whitespace normalization
│ ├── skill_extractor.py # Keyword matching engine (resume ∩ JD skills)
│ └── resume_summary.py # LLM prompt template + Ollama HTTP call
│
├── frontend/ # ── Next.js Application ──
│ ├── package.json # Node.js dependencies & scripts
│ ├── next.config.ts # Next.js configuration
│ ├── tsconfig.json # TypeScript compiler settings
│ ├── postcss.config.mjs # PostCSS → TailwindCSS pipeline
│ ├── eslint.config.mjs # Linting rules
│ ├── public/ # Static assets
│ └── src/
│ ├── app/
│ │ ├── layout.tsx # Root layout — Geist fonts, <html> config
│ │ ├── page.tsx # Home page — gradient backgrounds, grid pattern
│ │ ├── globals.css # TailwindCSS imports + CSS custom properties
│ │ └── favicon.ico # Browser tab icon
│ └── components/
│ ├── Dashboard.tsx # Core UI — file upload, JD input, results display
│ ├── ScoreGauge.tsx # Animated SVG radial gauge with category colors
│ └── MarkdownRenderer.tsx # LLM markdown → styled card grid renderer
│
└── uploads/ # Temp PDF storage (auto-deleted after processing)
Each resume goes through a 4-stage processing pipeline:
The uploaded PDF is parsed page-by-page using pdfplumber. All extracted text is concatenated and forwarded to both the skill matcher and the LLM for contextual analysis.
Raw text is cleaned through:
- Conversion to lowercase
- Removal of special characters via regex (
[^a-zA-Z0-9 ]) - Whitespace consolidation
This creates a normalized representation for accurate keyword matching.
The preprocessed resume and job description are scanned against a curated database of 27 technical skills (in backend/data/skills.txt). The engine identifies:
| Output | Description |
|---|---|
| Matching Skills | Skills found in both the resume and the job description |
| Missing Skills | Skills required by the JD but absent from the resume |
All data — resume text, job description, matched skills, and gaps — is formatted into a structured prompt and sent to the local Ollama instance. The LLM returns a comprehensive assessment with:
| Section | What It Contains |
|---|---|
| 🎯 Candidate Score | Numerical rating /10 with one-sentence justification |
| 🏷️ Fit Classification | One of 5 hiring tiers (Not Aligned → Outstanding Expert) |
| 📝 Candidate Summary | Brief professional overview of the candidate |
| 📊 Match Assessment | Detailed analysis of role fit |
| ✅ Key Strengths | Top competencies and experience highlights |
| Specific areas requiring development or training | |
| 💡 Hiring Recommendation | Actionable recommendation for hiring managers |
| ❓ Interview Questions | 5 targeted questions to probe identified skill gaps |
The backend extracts the score and classification from the LLM's markdown using regex, then sends the full narrative to the frontend's
MarkdownRendererfor visual display in a card-based grid layout.
The frontend follows a "Space-Dark" design system:
| Element | Implementation |
|---|---|
| Background | Deep slate (#0B0F19) with ambient indigo/violet/emerald gradient orbs |
| Typography | Geist sans + mono — clean, premium, developer-friendly |
| Cards | Glassmorphism — backdrop-blur with semi-transparent backgrounds and subtle borders |
| Grid | Faint structural grid overlay for visual depth |
| Score Gauge | SVG circle with strokeDashoffset animation, category-mapped gradient fills |
| Interactions | Hover lifts, glow borders, drag-and-drop visual feedback, spinner states |
| Layout | Responsive — single column on mobile, multi-column grid on desktop |
| 🔒 100% Local | All AI inference runs on your machine. No resume data ever leaves your network. |
| 🗑️ Auto-Cleanup | Uploaded PDFs are deleted from the server immediately after processing. |
| 🚫 Zero Telemetry | No external API calls. No analytics. No tracking. No cloud dependencies. |
Contributions, issues, and feature requests are welcome!
- Fork the repository
- Create your feature branch —
git checkout -b feature/my-feature - Commit your changes —
git commit -m 'Add my feature' - Push to the branch —
git push origin feature/my-feature - Open a Pull Request
This project is open source and available under the MIT License.
Built with 💜 by Dhanush S
If this helped you, consider giving it a ⭐ on GitHub!