How romanshrestha20/jobpilot works
JobPilot is an AI-assisted career-management web application. Its intended user journey is to maintain a candidate profile, add and manage job opportunities, analyze requirements and fit, generate tailored application drafts for review, then track application progress. The implementation also includes a separate background worker for analysis and draft processing, shared authentication, database, queue, and AI-provider infrastructure. The README names interview preparation and progress analytics as product goals, but the supplied tree does not show corresponding implementation modules; unsampled feature details and connections are therefore not inferred.
Main entry points: app App pages · _analysis Analysis interface · _drafts Draft interface · analysis-worker.ts Background worker
Components 16
Web experience
- App pages
src/app - Analysis interface
src/app/(app)/jobs/[id]/_analysis - Draft interface
src/app/(app)/jobs/[id]/_drafts
Career features
- Candidate profile
src/features/candidate-profile - Job intake
src/features/job-intake - Application tracking
src/features/job-intake/tracking - Job matching
src/features/job-matching/application/match-service.ts
AI processing
- Job analysis
src/features/job-analysis - Draft generation
src/features/job-drafts - Background worker
src/worker/analysis-worker.ts
Platform infrastructure
- Identity
src/features/identity/server.ts - AI providers
src/lib/ai - Job queue
src/lib/queue.ts - PostgreSQL data
src/lib/db.ts - Authentication
src/lib/auth.ts
Other components
- Candidate
Connections 23
- Candidate → App pages: uses
- App pages → Identity: requires identity
src/features/identity/server.ts - App pages → Job intake: loads jobs
src/app/(app)/jobs/page.tsx - App pages → Analysis interface: renders
src/app/(app)/jobs/[id]/page.tsx - App pages → Draft interface: renders
src/app/(app)/jobs/[id]/page.tsx - Candidate → Candidate profile: maintains profile
- Candidate → Job intake: adds opportunities
- Job intake → Application tracking: supports tracking
src/features/job-intake/tracking/repository.ts - Analysis interface → Job analysis: requests analysis
src/app/(app)/jobs/[id]/_analysis/server.ts - Analysis interface → Job intake: reads job text
src/app/(app)/jobs/[id]/_analysis/server.ts - Candidate → Analysis interface: reviews fit
- Candidate → Draft interface: reviews drafts
- Draft interface → Draft generation: requests drafts
src/app/(app)/jobs/[id]/_drafts/server.ts - Job analysis → Background worker: processed by
src/worker/index.ts - Draft generation → Background worker: processed by
src/worker/index.ts - Background worker → Job queue: registers handlers
src/worker/index.ts - Background worker → AI providers: uses local gateway
src/worker/index.ts - Analysis interface → Job queue: enqueues runs
src/app/(app)/jobs/[id]/_analysis/server.ts - Draft interface → Job queue: enqueues runs
src/app/(app)/jobs/[id]/_drafts/server.ts - Identity → Authentication: checks user
src/features/identity/server.ts - Authentication → PostgreSQL data: uses database
src/lib/auth.ts - Job analysis → PostgreSQL data: stores runs
src/features/job-analysis/repository.ts - Draft generation → PostgreSQL data: stores drafts
src/features/job-drafts/repository.ts