{"id":51192955,"url":"https://github.com/adelsherif8/cv-analyzer","last_synced_at":"2026-06-27T17:30:30.181Z","repository":{"id":367660283,"uuid":"1280781427","full_name":"adelsherif8/cv-analyzer","owner":"adelsherif8","description":"AI resume analyzer with RAG-grounded summaries — upload a CV + job description for OpenAI-powered scoring, skill-gap analysis \u0026 feedback. Next.js + FastAPI","archived":false,"fork":false,"pushed_at":"2026-06-27T00:25:51.000Z","size":1067,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-27T02:06:08.462Z","etag":null,"topics":["ai","embeddings","fastapi","llm","nextjs","nlp","openai","python","rag"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adelsherif8.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-25T23:51:32.000Z","updated_at":"2026-06-27T00:25:55.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/adelsherif8/cv-analyzer","commit_stats":null,"previous_names":["adelsherif8/cv-analyzer"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/adelsherif8/cv-analyzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelsherif8%2Fcv-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelsherif8%2Fcv-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelsherif8%2Fcv-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelsherif8%2Fcv-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adelsherif8","download_url":"https://codeload.github.com/adelsherif8/cv-analyzer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelsherif8%2Fcv-analyzer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34862627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-27T02:00:06.362Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","embeddings","fastapi","llm","nextjs","nlp","openai","python","rag"],"created_at":"2026-06-27T17:30:30.012Z","updated_at":"2026-06-27T17:30:30.174Z","avatar_url":"https://github.com/adelsherif8.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CV Analyzer\n\n\u003e **Upload a resume + a job description, get an instant AI fit report.** Parses PDF/DOCX resumes, scores them against the role, and returns structured feedback on strengths, gaps, and matched skills — built for recruiters and candidates alike.\n\n![Next.js](https://img.shields.io/badge/Next.js-14-000000?logo=next.js\u0026logoColor=white)\n![FastAPI](https://img.shields.io/badge/FastAPI-0.104-009688?logo=fastapi\u0026logoColor=white)\n![OpenAI](https://img.shields.io/badge/OpenAI-GPT--4o-412991?logo=openai\u0026logoColor=white)\n![Python](https://img.shields.io/badge/Python-3.11-3776AB?logo=python\u0026logoColor=white)\n\n**▶️ Live demo:** _paste your URL here after deploy_ · 🚀 **Deploy it yourself in ~10 min:** [DEPLOY.md](./DEPLOY.md) (Vercel + Render, free)\n\n---\n\n## Features\n\n- 📄 **Resume parsing** — extracts structured data from PDF and DOCX (PyMuPDF + `python-docx`)\n- 🎯 **Fit scoring** — scores a candidate against a job profile with an explainable breakdown\n- 🔎 **RAG-grounded summaries** — the CV is chunked, embedded, and the passages most relevant to the role are **retrieved** and used to ground the LLM summary (instead of blind truncation). Semantic retrieval via OpenAI embeddings when a key is set; dependency-free TF-IDF fallback otherwise. Retrieved passages are returned in the API response (`retrieved_context`)\n- 🧠 **Skill-gap analysis** — surfaces matched skills, missing skills, and improvement feedback via a skill ontology\n- 🧪 **Works without a key** — a built-in `mock_ai` mode returns realistic results offline, so the app is fully demoable without an OpenAI key\n- 📤 **Exportable results** — structured JSON/report output for downstream use\n\n## Tech Stack\n\n- **Frontend:** Next.js 14 (App Router) + TypeScript + Tailwind CSS\n- **Backend:** Python 3.11, FastAPI, OpenAI SDK (hand-built analysis *chains*, no framework lock-in)\n- **RAG:** CV chunking + OpenAI `text-embedding-3-small` semantic retrieval (cosine over a NumPy matrix), with a pure-Python TF-IDF fallback — see [`app/services/rag.py`](./CV/backend/app/services/rag.py)\n- **Parsing:** PyMuPDF (PDF), `python-docx` (Word)\n\n## Repository Layout\n\n```\nCV/\n  ├─ backend/                FastAPI service\n  │   └─ app/services/       parsing, analysis chains, skill ontology, mock AI\n  └─ frontend/               Next.js + Tailwind UI\n```\n\n## Quick Start\n\n**Backend:**\n```bash\ncd CV/backend\npython -m venv venv \u0026\u0026 source venv/bin/activate\npip install -r requirements.txt\ncp .env.example .env          # add OPENAI_API_KEY (or leave blank for mock mode)\nuvicorn app.main:app --reload  # http://localhost:8000\n```\n\n**Frontend:**\n```bash\ncd CV/frontend\nnpm install\nnpm run dev                    # http://localhost:3000\n```\n\n## Configuration\n\nThe backend reads `OPENAI_API_KEY` from `CV/backend/.env`. A `.env.example` template is included; real `.env` files are git-ignored and never committed. With no key set, the app runs in **mock mode** so you can try the full flow instantly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadelsherif8%2Fcv-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadelsherif8%2Fcv-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadelsherif8%2Fcv-analyzer/lists"}