How eziokwuche/redline works
Redline is a local resume-review and tailoring application. The main workflow uploads a PDF/DOCX, extracts text and a structured profile, saves a session-scoped job description, grades the original resume, then lets the user review an AI-proposed profile, submit edits for a saved revision and rescan, and download a compiled PDF. The API also compares grading results. The graph follows documented flows and indexed imports; unsampled implementation details and some endpoint-level wiring are represented only where the README supports them.
Main entry points: App.jsx Workflow UI · upload.py Upload and job routes · grading.py Grading and profile workflows · main.py FastAPI application
Components 22
Web client
- Workflow UI
frontend/src/App.jsx - API client
frontend/src/api.js - Resume upload
frontend/src/components/ResumeUpload.jsx - Job description form
frontend/src/components/JobDescriptionForm.jsx - Grading report
frontend/src/components/GradingReport.jsx - Draft editor
frontend/src/components/ResumeEditor.jsx
API workflows
- FastAPI application
app/main.py - Upload and job routes
app/routers/upload.py - Grade and rescan routes
app/routers/grade.py - Comparison route
app/routers/compare.py
Resume analysis
- Document text extraction
app/services/text_extraction.py - Grading and profile workflows
app/services/grading.py - LLM prompts
app/services/prompts.py - Domain schemas
app/schemas.py - Provider selection and generation
app/services/llm_client.py
Session and records
- SQLite database
app/database.py - Resume and grading records
app/models.py
Drafts and outputs
- Resume PDF renderer
app/services/latex_renderer.py - Resume LaTeX template
app/templates/resume.tex.jinja
Other components
- Resume reviewer
- LLM providers
- pdflatex
Connections 35
- Resume reviewer → Workflow UI: uses
README.md - Workflow UI → Resume upload: renders
frontend/src/App.jsx - Workflow UI → Job description form: renders
frontend/src/App.jsx - Workflow UI → Grading report: renders
frontend/src/App.jsx - Workflow UI → Draft editor: renders
frontend/src/App.jsx - Workflow UI → API client: calls
frontend/src/App.jsx - Resume upload → Workflow UI: submits file
README.md - Job description form → Workflow UI: submits description
README.md - Draft editor → Workflow UI: submits edits
README.md - API client → FastAPI application: calls API
README.md - FastAPI application → Upload and job routes: registers
app/main.py - FastAPI application → Grade and rescan routes: registers
app/main.py - FastAPI application → Comparison route: registers
app/main.py - Upload and job routes → Document text extraction: extracts text
README.md - Upload and job routes → Grading and profile workflows: extracts profile
README.md - Upload and job routes → Resume PDF renderer: requests rendering
app/routers/upload.py - Grade and rescan routes → Grading and profile workflows: grades and drafts
app/routers/grade.py - Comparison route → Grading and profile workflows: compares versions
app/routers/compare.py - Grading and profile workflows → LLM prompts: builds prompts
app/services/grading.py - Grading and profile workflows → Provider selection and generation: requests generation
app/services/grading.py - Provider selection and generation → LLM providers: calls provider
app/services/llm_client.py - Grading and profile workflows → Domain schemas: uses models
app/services/grading.py - Upload and job routes → SQLite database: gets session
app/routers/upload.py - Grade and rescan routes → SQLite database: gets session
app/routers/grade.py - Comparison route → SQLite database: gets session
app/routers/compare.py - SQLite database → Resume and grading records: defines base
app/database.py - FastAPI application → SQLite database: creates tables
app/main.py - Upload and job routes → Resume and grading records: saves resumes
app/routers/upload.py - Grade and rescan routes → Resume and grading records: saves grading
app/routers/grade.py - Comparison route → Resume and grading records: saves comparison
app/routers/compare.py - Upload and job routes → Resume LaTeX template: renders profile
README.md - Resume PDF renderer → Resume LaTeX template: uses template
app/services/latex_renderer.py - Upload and job routes → pdflatex: compiles PDF
app/routers/upload.py - Workflow UI → API client: downloads PDF
frontend/src/App.jsx - Comparison route → Provider selection and generation: requests comparison
app/routers/compare.py